mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Summary: These seem to not be needed and cause ninja to rebuild the files at every build. (There also is THCStorage.cu, but hopefully this will go away with https://github.com/pytorch/pytorch/issues/68556 ) Pull Request resolved: https://github.com/pytorch/pytorch/pull/69024 Reviewed By: soulitzer Differential Revision: D32705309 Pulled By: ngimel fbshipit-source-id: 5255297f213fdcf36e7203de7460a71291f8c9a0
17 lines
530 B
C
17 lines
530 B
C
#ifndef THCP_CUDA_MODULE_INC
|
|
#define THCP_CUDA_MODULE_INC
|
|
|
|
#include <ATen/Context.h>
|
|
|
|
extern THCState *state;
|
|
|
|
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
|