mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Bring back C++ extension torch.h (#7310)
* Bring back C++ extension torch.h * Fix python.h include in python_tensor.cpp
This commit is contained in:
committed by
GitHub
parent
6087a5feaa
commit
54a4867675
@ -1,4 +1,4 @@
|
||||
#include <torch/python.h>
|
||||
#include <torch/torch.h>
|
||||
|
||||
// Declare the function from cuda_extension.cu. It will be compiled
|
||||
// separately with nvcc and linked with the object file of cuda_extension.cpp
|
||||
|
Reference in New Issue
Block a user