mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Follows #139385 Pull Request resolved: https://github.com/pytorch/pytorch/pull/139599 Approved by: https://github.com/sraikund16
13 lines
484 B
C
13 lines
484 B
C
#ifndef THCP_CUDA_MODULE_INC
|
|
#define THCP_CUDA_MODULE_INC
|
|
#include <torch/csrc/utils/pythoncapi_compat.h>
|
|
|
|
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
|