blob: de3f64edd6a3db55d8f224679ee16449b016eb6c [file] [log] [blame]
#ifndef THC_STREAM_INC
#define THC_STREAM_INC
#include <cuda_runtime_api.h>
#include "THCGeneral.h"
struct THCStream
{
cudaStream_t stream;
int device;
int refcount;
};
THC_API THCStream* THCStream_new(int flags);
THC_API void THCStream_free(THCStream* self);
THC_API void THCStream_retain(THCStream* self);
#endif // THC_STREAM_INC