3 #include <c10/cuda/CUDAException.h> 4 #include <c10/cuda/impl/CUDATest.h> 6 #include <cuda_runtime.h> 14 C10_CUDA_CHECK(cudaGetDeviceCount(&count));
22 C10_CUDA_CHECK(cudaGetDevice(&r));
28 int c10_cuda_private_test() {
To register your own kernel for an operator, do in one (!) cpp file: C10_REGISTER_KERNEL(OperatorHand...