Sign in
android
/
platform
/
external
/
pytorch
/
7926324385
/
.
/
torch
/
csrc
/
cuda
/
Stream.h
blob: 60577d98de15203a2b3950289eb9aeb0847e13d3 [
file
] [
log
] [
blame
]
#ifndef
THCP_STREAM_INC
#define
THCP_STREAM_INC
#include
<Python.h>
#include
<THC/THC.h>
struct
THCPStream
{
PyObject_HEAD
THCStream
*
cdata
;
int
device
;
cudaStream_t
cuda_stream
;
};
bool
THCPStream_init
(
PyObject
*
module
);
#endif
// THCP_STREAM_INC