mirror of https://github.com/Jittor/Jittor
polish
This commit is contained in:
parent
16c7d3e58c
commit
f2dd05c905
|
@ -11,8 +11,7 @@ namespace jittor {
|
|||
#ifdef HAS_CUDA
|
||||
DECLARE_FLAG(int, use_cuda);
|
||||
|
||||
// #if CUDA_VERSION < 10000
|
||||
#if 1
|
||||
#if CUDA_VERSION < 10000
|
||||
#define _cudaLaunchHostFunc(a,b,c) \
|
||||
cudaStreamAddCallback(a,b,c,0)
|
||||
#define CUDA_HOST_FUNC_ARGS cudaStream_t stream, cudaError_t status, void*
|
||||
|
|
Loading…
Reference in New Issue