mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Let's have some fun. Pull Request resolved: https://github.com/pytorch/pytorch/pull/78828 Approved by: https://github.com/ezyang
12 lines
472 B
C
12 lines
472 B
C
#ifndef THCP_CUDA_MODULE_INC
|
|
#define THCP_CUDA_MODULE_INC
|
|
|
|
void THCPModule_setDevice(int idx);
|
|
PyObject* THCPModule_getDevice_wrap(PyObject* self);
|
|
PyObject* THCPModule_setDevice_wrap(PyObject* self, PyObject* arg);
|
|
PyObject* THCPModule_getDeviceName_wrap(PyObject* self, PyObject* arg);
|
|
PyObject* THCPModule_getDriverVersion(PyObject* self);
|
|
PyObject* THCPModule_isDriverSufficient(PyObject* self);
|
|
PyObject* THCPModule_getCurrentBlasHandle_wrap(PyObject* self);
|
|
|
|
#endif
|