Halide 19.0.0
Halide compiler and libraries
|
#include <HalidePyTorchCudaHelpers.h>
Public Member Functions | |
UserContext (int id, CUcontext *ctx, cudaStream_t *stream) | |
Public Attributes | |
int | device_id |
CUcontext * | cuda_context |
cudaStream_t * | stream |
Definition at line 18 of file HalidePyTorchCudaHelpers.h.
|
inline |
Definition at line 19 of file HalidePyTorchCudaHelpers.h.
int Halide::PyTorch::UserContext::device_id |
Definition at line 22 of file HalidePyTorchCudaHelpers.h.
Referenced by halide_get_gpu_device().
CUcontext* Halide::PyTorch::UserContext::cuda_context |
Definition at line 23 of file HalidePyTorchCudaHelpers.h.
Referenced by halide_cuda_acquire_context().
cudaStream_t* Halide::PyTorch::UserContext::stream |
Definition at line 24 of file HalidePyTorchCudaHelpers.h.
Referenced by halide_cuda_get_stream().