Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA 10.0 build errors #32

Closed
okdzhimiev opened this issue Mar 10, 2020 · 5 comments
Closed

CUDA 10.0 build errors #32

okdzhimiev opened this issue Mar 10, 2020 · 5 comments

Comments

@okdzhimiev
Copy link
Contributor

  1. Overview:
  • Kubuntu 16.04
  • CUDA 10.0
  • gcc 7.4.0
  • cmake 3.16.2
  1. Building script:
#!/bin/sh
RELEASE="version-10.0.0-RC01"
[ -d ./jcuda ] || mkdir ./jcuda
cd jcuda
for project in jcuda-main \
               jcuda-parent \
               jcuda-common \
               jcuda jcublas \
               jcufft \
               jcusparse \
               jcurand \
               jcusolver \
               jnvgraph \
               jcudnn
do
	git clone https://github.com/jcuda/${project}.git
	cd ${project}
	git checkout tags/${RELEASE} # This is optional, only if compiling on CUDA 0.7.5
	cd ..
done
cmake ./jcuda-main
make all
  1. cmake output:
-- Build files have been written to: /home/oleg/GIT/test/jcuda
[ 16%] Built target JCudaCommonJNI
[ 23%] Built target JCudaDriver
[ 30%] Built target JCudaRuntime
[ 36%] Built target JNvrtc
[ 43%] Built target JCublas
[ 50%] Built target JCublas2
[ 56%] Built target JCufft
[ 63%] Built target JCurand
[ 70%] Built target JCusparse
[ 86%] Built target JCusolver
[ 93%] Built target JNvgraph
[ 96%] Building CXX object jcudnn/JCudnnJNI/bin/CMakeFiles/JCudnn.dir/src/JCudnn.cpp.o
In file included from /usr/local/cuda/include/channel_descriptor.h:61:0,
                 from /usr/local/cuda/include/cuda_runtime.h:95,
                 from /usr/include/cudnn.h:64,
                 from /home/oleg/GIT/test/jcuda/jcudnn/JCudnnJNI/src/JCudnn_common.hpp:36,
                 from /home/oleg/GIT/test/jcuda/jcudnn/JCudnnJNI/src/JCudnn.cpp:30:
/usr/local/cuda/include/cuda_runtime_api.h:1775:101: error: use of enum ‘cudaDeviceP2PAttr’ without previous declaration
 extern __host__ __cudart_builtin__ cudaError_t CUDARTAPI cudaDeviceGetP2PAttribute(int *value, enum cudaDeviceP2PAttr attr, int srcDevice, int dstDevice);
                                                                                                     ^~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2232:25: error: expected ‘)’ before ‘*’ token
 typedef void (CUDART_CB *cudaStreamCallback_t)(cudaStream_t stream, cudaError_t status, void *userData);
                         ^
/usr/local/cuda/include/cuda_runtime_api.h:2300:9: error: ‘cudaStreamCallback_t’ has not been declared
         cudaStreamCallback_t callback, void *userData, unsigned int flags);
         ^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2484:81: error: ‘cudaGraph_t’ has not been declared
 extern __host__ cudaError_t CUDARTAPI cudaStreamEndCapture(cudaStream_t stream, cudaGraph_t *pGraph);
                                                                                 ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2523:87: error: use of enum ‘cudaStreamCaptureStatus’ without previous declaration
 extern __host__ cudaError_t CUDARTAPI cudaStreamIsCapturing(cudaStream_t stream, enum cudaStreamCaptureStatus *pCaptureStatus);
                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2903:64: error: ‘cudaExternalMemory_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t *extMem_out, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
                                                                ^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2903:64: note: suggested alternative: ‘cudaImportExternalMemory’
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t *extMem_out, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
                                                                ^~~~~~~~~~~~~~~~~~~~
                                                                cudaImportExternalMemory
/usr/local/cuda/include/cuda_runtime_api.h:2903:86: error: ‘extMem_out’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t *extMem_out, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
                                                                                      ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2903:98: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t *extMem_out, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
                                                                                                  ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2903:154: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t *extMem_out, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
                                                                                                                                                          ^
/usr/local/cuda/include/cuda_runtime_api.h:2955:88: error: ‘cudaExternalMemory_t’ has not been declared
 extern __host__ cudaError_t CUDARTAPI cudaExternalMemoryGetMappedBuffer(void **devPtr, cudaExternalMemory_t extMem, const struct cudaExternalMemoryBufferDesc *bufferDesc);
                                                                                        ^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3009:111: error: ‘cudaExternalMemory_t’ has not been declared
 extern __host__ cudaError_t CUDARTAPI cudaExternalMemoryGetMappedMipmappedArray(cudaMipmappedArray_t *mipmap, cudaExternalMemory_t extMem, const struct cudaExternalMemoryMipmappedArrayDesc *mipmapDesc);
                                                                                                               ^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3032:65: error: ‘cudaExternalMemory_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaDestroyExternalMemory(cudaExternalMemory_t extMem);
                                                                 ^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3032:65: note: suggested alternative: ‘cudaImportExternalMemory’
 extern __host__ cudaError_t CUDARTAPI cudaDestroyExternalMemory(cudaExternalMemory_t extMem);
                                                                 ^~~~~~~~~~~~~~~~~~~~
                                                                 cudaImportExternalMemory
/usr/local/cuda/include/cuda_runtime_api.h:3126:67: error: ‘cudaExternalSemaphore_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t *extSem_out, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
                                                                   ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3126:67: note: suggested alternative: ‘cudaImportExternalSemaphore’
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t *extSem_out, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
                                                                   ^~~~~~~~~~~~~~~~~~~~~~~
                                                                   cudaImportExternalSemaphore
/usr/local/cuda/include/cuda_runtime_api.h:3126:92: error: ‘extSem_out’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t *extSem_out, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
                                                                                            ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3126:104: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t *extSem_out, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
                                                                                                        ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3126:163: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t *extSem_out, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
                                                                                                                                                                   ^
/usr/local/cuda/include/cuda_runtime_api.h:3165:79: error: ‘cudaExternalSemaphore_t’ does not name a type; did you mean ‘cudaImportExternalSemaphore’?
 extern __host__ cudaError_t CUDARTAPI cudaSignalExternalSemaphoresAsync(const cudaExternalSemaphore_t *extSemArray, const struct cudaExternalSemaphoreSignalParams *paramsArray, unsigned int numExtSems, cudaStream_t stream __dv(0));
                                                                               ^~~~~~~~~~~~~~~~~~~~~~~
                                                                               cudaImportExternalSemaphore
/usr/local/cuda/include/cuda_runtime_api.h:3208:77: error: ‘cudaExternalSemaphore_t’ does not name a type; did you mean ‘cudaImportExternalSemaphore’?
 extern __host__ cudaError_t CUDARTAPI cudaWaitExternalSemaphoresAsync(const cudaExternalSemaphore_t *extSemArray, const struct cudaExternalSemaphoreWaitParams *paramsArray, unsigned int numExtSems, cudaStream_t stream __dv(0));
                                                                             ^~~~~~~~~~~~~~~~~~~~~~~
                                                                             cudaImportExternalSemaphore
/usr/local/cuda/include/cuda_runtime_api.h:3230:68: error: ‘cudaExternalSemaphore_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaDestroyExternalSemaphore(cudaExternalSemaphore_t extSem);
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3230:68: note: suggested alternative: ‘cudaImportExternalSemaphore’
 extern __host__ cudaError_t CUDARTAPI cudaDestroyExternalSemaphore(cudaExternalSemaphore_t extSem);
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~
                                                                    cudaImportExternalSemaphore
/usr/local/cuda/include/cuda_runtime_api.h:3630:102: error: use of enum ‘cudaFuncAttribute’ without previous declaration
 extern __host__ __cudart_builtin__ cudaError_t CUDARTAPI cudaFuncSetAttribute(const void *func, enum cudaFuncAttribute attr, int value);
                                                                                                      ^~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3748:79: error: ‘cudaHostFn_t’ has not been declared
 extern __host__ cudaError_t CUDARTAPI cudaLaunchHostFunc(cudaStream_t stream, cudaHostFn_t fn, void *userData);
                                                                               ^~~~~~~~~~~~
In file included from /usr/local/cuda/include/channel_descriptor.h:61:0,
                 from /usr/local/cuda/include/cuda_runtime.h:95,
                 from /usr/include/cudnn.h:64,
                 from /home/oleg/GIT/test/jcuda/jcudnn/JCudnnJNI/src/JCudnn_common.hpp:36,
                 from /home/oleg/GIT/test/jcuda/jcudnn/JCudnnJNI/src/JCudnn.cpp:30:
/usr/local/cuda/include/cuda_runtime_api.h:6680:92: error: use of enum ‘cudaMemoryAdvise’ without previous declaration
 extern __host__ cudaError_t CUDARTAPI cudaMemAdvise(const void *devPtr, size_t count, enum cudaMemoryAdvise advice, int device);
                                                                                            ^~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:6739:98: error: use of enum ‘cudaMemRangeAttribute’ without previous declaration
 extern __host__ cudaError_t CUDARTAPI cudaMemRangeGetAttribute(void *data, size_t dataSize, enum cudaMemRangeAttribute attribute, const void *devPtr, size_t count);
                                                                                                  ^~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:6778:102: error: use of enum ‘cudaMemRangeAttribute’ without previous declaration
 extern __host__ cudaError_t CUDARTAPI cudaMemRangeGetAttributes(void **data, size_t *dataSizes, enum cudaMemRangeAttribute *attributes, size_t numAttributes, const void *devPtr, size_t count);
                                                                                                      ^~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8224:55: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t *pGraph, unsigned int flags);
                                                       ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8224:55: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t *pGraph, unsigned int flags);
                                                       ^~~~~~~~~~~
                                                       cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8224:68: error: ‘pGraph’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t *pGraph, unsigned int flags);
                                                                    ^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8224:76: error: expected primary-expression before ‘unsigned’
 extern __host__ cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t *pGraph, unsigned int flags);
                                                                            ^~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8224:94: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t *pGraph, unsigned int flags);
                                                                                              ^
/usr/local/cuda/include/cuda_runtime_api.h:8321:62: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                              ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8321:62: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                              ^~~~~~~~~~~~~~~
                                                              cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8321:79: error: ‘pGraphNode’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                                               ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8321:91: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                                                           ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8321:91: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                                                           ^~~~~~~~~~~
                                                                                           cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8321:110: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                                                                              ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8321:110: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                                                                              ^~~~~~~~~~~~~~~
                                                                                                              cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8321:127: error: ‘pDependencies’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                                                                                               ^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8321:149: error: expected primary-expression before ‘numDependencies’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                                                                                                                     ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8321:166: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                                                                                                                                      ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8321:212: error: expression list treated as compound expression in initializer [-fpermissive]
 rn __host__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
                                                                                                                                                                                                                ^
/usr/local/cuda/include/cuda_runtime_api.h:8354:68: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8354:68: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
                                                                    cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8354:90: error: expected primary-expression before ‘struct’
 extern __host__ cudaError_t CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams *pNodeParams);
                                                                                          ^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8354:130: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams *pNodeParams);
                                                                                                                                  ^
/usr/local/cuda/include/cuda_runtime_api.h:8379:68: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8379:68: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
                                                                    cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8379:90: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
                                                                                          ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8379:136: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
                                                                                                                                        ^
/usr/local/cuda/include/cuda_runtime_api.h:8423:62: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                              ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8423:62: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                              ^~~~~~~~~~~~~~~
                                                              cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8423:79: error: ‘pGraphNode’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                                               ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8423:91: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                                                           ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8423:91: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                                                           ^~~~~~~~~~~
                                                                                           cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8423:110: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                                                                              ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8423:110: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                                                                              ^~~~~~~~~~~~~~~
                                                                                                              cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8423:127: error: ‘pDependencies’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                                                                                               ^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8423:149: error: expected primary-expression before ‘numDependencies’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                                                                                                                     ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8423:166: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                                                                                                                                      ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8423:209: error: expression list treated as compound expression in initializer [-fpermissive]
 xtern __host__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
                                                                                                                                                                                                                ^
/usr/local/cuda/include/cuda_runtime_api.h:8446:68: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8446:68: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
                                                                    cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8446:90: error: expected primary-expression before ‘struct’
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms *pNodeParams);
                                                                                          ^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8446:127: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms *pNodeParams);
                                                                                                                               ^
/usr/local/cuda/include/cuda_runtime_api.h:8469:68: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8469:68: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
                                                                    cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8469:90: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
                                                                                          ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8469:133: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
                                                                                                                                     ^
/usr/local/cuda/include/cuda_runtime_api.h:8511:62: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                              ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8511:62: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                              ^~~~~~~~~~~~~~~
                                                              cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8511:79: error: ‘pGraphNode’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                                               ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8511:91: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                                                           ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8511:91: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                                                           ^~~~~~~~~~~
                                                                                           cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8511:110: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                                                                              ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8511:110: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                                                                              ^~~~~~~~~~~~~~~
                                                                                                              cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8511:127: error: ‘pDependencies’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                                                                                               ^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8511:149: error: expected primary-expression before ‘numDependencies’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                                                                                                                     ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8511:166: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                                                                                                                                      ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8511:210: error: expression list treated as compound expression in initializer [-fpermissive]
 tern __host__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
                                                                                                                                                                                                                ^
/usr/local/cuda/include/cuda_runtime_api.h:8534:68: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8534:68: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
                                                                    cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8534:90: error: expected primary-expression before ‘struct’
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams *pNodeParams);
                                                                                          ^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8534:126: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams *pNodeParams);
                                                                                                                              ^
/usr/local/cuda/include/cuda_runtime_api.h:8557:68: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8557:68: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
                                                                    ^~~~~~~~~~~~~~~
                                                                    cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8557:90: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
                                                                                          ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8557:132: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
                                                                                                                                    ^
/usr/local/cuda/include/cuda_runtime_api.h:8596:60: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8596:60: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                            ^~~~~~~~~~~~~~~
                                                            cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8596:77: error: ‘pGraphNode’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                                             ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8596:89: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                                                         ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8596:89: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                                                         ^~~~~~~~~~~
                                                                                         cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8596:108: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8596:108: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                                                                            ^~~~~~~~~~~~~~~
                                                                                                            cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8596:125: error: ‘pDependencies’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                                                                                             ^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8596:147: error: expected primary-expression before ‘numDependencies’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                                                                                                                   ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8596:164: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                                                                                                                                    ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8596:208: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
                                                                                                                                                                                                                ^
/usr/local/cuda/include/cuda_runtime_api.h:8619:66: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams *pNodeParams);
                                                                  ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8619:66: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams *pNodeParams);
                                                                  ^~~~~~~~~~~~~~~
                                                                  cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8619:88: error: expected primary-expression before ‘struct’
 extern __host__ cudaError_t CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams *pNodeParams);
                                                                                        ^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8619:126: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams *pNodeParams);
                                                                                                                              ^
/usr/local/cuda/include/cuda_runtime_api.h:8642:66: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
                                                                  ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8642:66: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
                                                                  ^~~~~~~~~~~~~~~
                                                                  cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8642:88: error: expected primary-expression before ‘const’
 extern __host__ cudaError_t CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
                                                                                        ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8642:132: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
                                                                                                                                    ^
/usr/local/cuda/include/cuda_runtime_api.h:8680:66: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                  ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8680:66: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                  ^~~~~~~~~~~~~~~
                                                                  cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8680:83: error: ‘pGraphNode’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                   ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8680:95: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                               ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8680:95: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                               ^~~~~~~~~~~
                                                                                               cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8680:114: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                                                  ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8680:114: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                                                  ^~~~~~~~~~~~~~~
                                                                                                                  cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8680:131: error: ‘pDependencies’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                                                                   ^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8680:153: error: expected primary-expression before ‘numDependencies’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                                                                                         ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8680:170: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                                                                                                          ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8680:170: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                                                                                                          ^~~~~~~~~~~
                                                                                                                                                                          cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8680:192: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
                                                                                                                                                                                                ^
/usr/local/cuda/include/cuda_runtime_api.h:8704:71: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
                                                                       ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8704:71: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
                                                                       ^~~~~~~~~~~~~~~
                                                                       cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8704:93: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
                                                                                             ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8704:93: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
                                                                                             ^~~~~~~~~~~
                                                                                             cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8704:106: error: ‘pGraph’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
                                                                                                          ^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8704:112: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
                                                                                                                ^
/usr/local/cuda/include/cuda_runtime_api.h:8741:61: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                             ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8741:61: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                             ^~~~~~~~~~~~~~~
                                                             cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8741:78: error: ‘pGraphNode’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                                              ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8741:90: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                                                          ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8741:90: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                                                          ^~~~~~~~~~~
                                                                                          cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8741:109: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                                                                             ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8741:109: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                                                                             ^~~~~~~~~~~~~~~
                                                                                                             cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8741:126: error: ‘pDependencies’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                                                                                              ^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8741:148: error: expected primary-expression before ‘numDependencies’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                                                                                                                    ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8741:163: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, cudaGraphNode_t *pDependencies, size_t numDependencies);
                                                                                                                                                                   ^
/usr/local/cuda/include/cuda_runtime_api.h:8768:54: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph);
                                                      ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8768:54: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph);
                                                      ^~~~~~~~~~~
                                                      cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8768:67: error: ‘pGraphClone’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph);
                                                                   ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8768:67: note: suggested alternative: ‘cudaGraphClone’
 extern __host__ cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph);
                                                                   ^~~~~~~~~~~
                                                                   cudaGraphClone
/usr/local/cuda/include/cuda_runtime_api.h:8768:80: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph);
                                                                                ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8768:80: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph);
                                                                                ^~~~~~~~~~~
                                                                                cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8768:105: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph);
                                                                                                         ^
/usr/local/cuda/include/cuda_runtime_api.h:8796:64: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
                                                                ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:64: note: suggested alternative: ‘cudaGraphClone’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
                                                                ^~~~~~~~~~~~~~~
                                                                cudaGraphClone
/usr/local/cuda/include/cuda_runtime_api.h:8796:81: error: ‘pNode’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
                                                                                 ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:81: note: suggested alternative: ‘pclose’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
                                                                                 ^~~~~
                                                                                 pclose
/usr/local/cuda/include/cuda_runtime_api.h:8796:88: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
                                                                                        ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:88: note: suggested alternative: ‘cudaGraphClone’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
                                                                                        ^~~~~~~~~~~~~~~
                                                                                        cudaGraphClone
/usr/local/cuda/include/cuda_runtime_api.h:8796:118: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
                                                                                                                      ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:118: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
                                                                                                                      ^~~~~~~~~~~
                                                                                                                      cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8796:141: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
                                                                                                                                             ^
/usr/local/cuda/include/cuda_runtime_api.h:8827:60: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetType(cudaGraphNode_t node, enum cudaGraphNodeType *pType);
                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8827:60: note: suggested alternative: ‘cudaGraphClone’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetType(cudaGraphNode_t node, enum cudaGraphNodeType *pType);
                                                            ^~~~~~~~~~~~~~~
                                                            cudaGraphClone
/usr/local/cuda/include/cuda_runtime_api.h:8827:82: error: expected primary-expression before ‘enum’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetType(cudaGraphNode_t node, enum cudaGraphNodeType *pType);
                                                                                  ^~~~
/usr/local/cuda/include/cuda_runtime_api.h:8827:111: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetType(cudaGraphNode_t node, enum cudaGraphNodeType *pType);
                                                                                                               ^
/usr/local/cuda/include/cuda_runtime_api.h:8858:57: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
                                                         ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8858:57: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
                                                         ^~~~~~~~~~~
                                                         cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8858:76: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
                                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8858:76: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
                                                                            ^~~~~~~~~~~~~~~
                                                                            cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:8858:93: error: ‘nodes’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
                                                                                             ^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8858:93: note: suggested alternative: ‘mode_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
                                                                                             ^~~~~
                                                                                             mode_t
/usr/local/cuda/include/cuda_runtime_api.h:8858:107: error: expected primary-expression before ‘*’ token
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
                                                                                                           ^
/usr/local/cuda/include/cuda_runtime_api.h:8858:108: error: ‘numNodes’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
                                                                                                            ^~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8858:116: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
                                                                                                                    ^
/usr/local/cuda/include/cuda_runtime_api.h:8889:61: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
                                                             ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8889:61: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
                                                             ^~~~~~~~~~~
                                                             cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8889:80: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
                                                                                ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8889:80: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
                                                                                ^~~~~~~~~~~~~~~
                                                                                cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:8889:97: error: ‘pRootNodes’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
                                                                                                 ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8889:116: error: expected primary-expression before ‘*’ token
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
                                                                                                                    ^
/usr/local/cuda/include/cuda_runtime_api.h:8889:117: error: ‘pNumRootNodes’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
                                                                                                                     ^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8889:130: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
                                                                                                                                  ^
/usr/local/cuda/include/cuda_runtime_api.h:8923:57: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                         ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8923:57: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                         ^~~~~~~~~~~
                                                         cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8923:76: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8923:76: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                            ^~~~~~~~~~~~~~~
                                                                            cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:8923:93: error: ‘from’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                                             ^~~~
/usr/local/cuda/include/cuda_runtime_api.h:8923:93: note: suggested alternative: ‘feof’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                                             ^~~~
                                                                                             feof
/usr/local/cuda/include/cuda_runtime_api.h:8923:99: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                                                   ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8923:99: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                                                   ^~~~~~~~~~~~~~~
                                                                                                   cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:8923:116: error: ‘to’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                                                                    ^~
/usr/local/cuda/include/cuda_runtime_api.h:8923:116: note: suggested alternative: ‘atol’
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                                                                    ^~
                                                                                                                    atol
/usr/local/cuda/include/cuda_runtime_api.h:8923:127: error: expected primary-expression before ‘*’ token
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                                                                               ^
/usr/local/cuda/include/cuda_runtime_api.h:8923:128: error: ‘numEdges’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                                                                                ^~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8923:136: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
                                                                                                                                        ^
/usr/local/cuda/include/cuda_runtime_api.h:8954:68: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
                                                                    ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8954:68: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
                                                                    ^~~~~~~~~~~~~~~
                                                                    cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:8954:90: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
                                                                                          ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8954:90: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
                                                                                          ^~~~~~~~~~~~~~~
                                                                                          cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:8954:107: error: ‘pDependencies’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
                                                                                                           ^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8954:129: error: expected primary-expression before ‘*’ token
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
                                                                                                                                 ^
/usr/local/cuda/include/cuda_runtime_api.h:8954:130: error: ‘pNumDependencies’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
                                                                                                                                  ^~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8954:146: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
                                                                                                                                                  ^
/usr/local/cuda/include/cuda_runtime_api.h:8986:70: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
                                                                      ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8986:70: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
                                                                      ^~~~~~~~~~~~~~~
                                                                      cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:8986:92: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
                                                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8986:92: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
                                                                                            ^~~~~~~~~~~~~~~
                                                                                            cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:8986:109: error: ‘pDependentNodes’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
                                                                                                             ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8986:133: error: expected primary-expression before ‘*’ token
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
                                                                                                                                     ^
/usr/local/cuda/include/cuda_runtime_api.h:8986:134: error: ‘pNumDependentNodes’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
                                                                                                                                      ^~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8986:152: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
                                                                                                                                                        ^
/usr/local/cuda/include/cuda_runtime_api.h:9017:64: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9017:64: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                ^~~~~~~~~~~
                                                                cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:9017:83: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                   ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9017:83: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                   ^~~~~~~~~~~~~~~
                                                                                   cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9017:100: error: ‘from’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                    ^~~~
/usr/local/cuda/include/cuda_runtime_api.h:9017:100: note: suggested alternative: ‘feof’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                    ^~~~
                                                                                                    feof
/usr/local/cuda/include/cuda_runtime_api.h:9017:106: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                          ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9017:106: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                          ^~~~~~~~~~~~~~~
                                                                                                          cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9017:123: error: ‘to’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                                           ^~
/usr/local/cuda/include/cuda_runtime_api.h:9017:123: note: suggested alternative: ‘atol’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                                           ^~
                                                                                                                           atol
/usr/local/cuda/include/cuda_runtime_api.h:9017:134: error: expected primary-expression before ‘numDependencies’
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                                                      ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9017:149: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                                                                     ^
/usr/local/cuda/include/cuda_runtime_api.h:9048:67: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                   ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9048:67: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                   ^~~~~~~~~~~
                                                                   cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:9048:86: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                      ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9048:86: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                      ^~~~~~~~~~~~~~~
                                                                                      cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9048:103: error: ‘from’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                       ^~~~
/usr/local/cuda/include/cuda_runtime_api.h:9048:103: note: suggested alternative: ‘feof’
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                       ^~~~
                                                                                                       feof
/usr/local/cuda/include/cuda_runtime_api.h:9048:109: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                             ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9048:109: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                             ^~~~~~~~~~~~~~~
                                                                                                             cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9048:126: error: ‘to’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                                              ^~
/usr/local/cuda/include/cuda_runtime_api.h:9048:126: note: suggested alternative: ‘atol’
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                                              ^~
                                                                                                                              atol
/usr/local/cuda/include/cuda_runtime_api.h:9048:137: error: expected primary-expression before ‘numDependencies’
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                                                         ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9048:152: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numDependencies);
                                                                                                                                                        ^
/usr/local/cuda/include/cuda_runtime_api.h:9074:60: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphDestroyNode(cudaGraphNode_t node);
                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9074:60: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphDestroyNode(cudaGraphNode_t node);
                                                            ^~~~~~~~~~~~~~~
                                                            cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9110:60: error: ‘cudaGraphExec_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9110:60: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                            ^~~~~~~~~~~~~~~
                                                            cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:9110:77: error: ‘pGraphExec’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                             ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9110:89: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                                         ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9110:89: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                                         ^~~~~~~~~~~
                                                                                         cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:9110:108: error: ‘cudaGraphNode_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9110:108: note: suggested alternative: ‘cudaGraphGetNodes’
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                                                            ^~~~~~~~~~~~~~~
                                                                                                            cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9110:125: error: ‘pErrorNode’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                                                                             ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9110:125: note: suggested alternative: ‘perror’
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                                                                             ^~~~~~~~~~
                                                                                                                             perror
/usr/local/cuda/include/cuda_runtime_api.h:9110:137: error: expected primary-expression before ‘char’
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                                                                                         ^~~~
/usr/local/cuda/include/cuda_runtime_api.h:9110:162: error: expected primary-expression before ‘bufferSize’
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                                                                                                                  ^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9110:172: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
                                                                                                                                                                            ^
/usr/local/cuda/include/cuda_runtime_api.h:9135:55: error: ‘cudaGraphExec_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphLaunch(cudaGraphExec_t graphExec, cudaStream_t stream);
                                                       ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9135:55: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphLaunch(cudaGraphExec_t graphExec, cudaStream_t stream);
                                                       ^~~~~~~~~~~~~~~
                                                       cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:9135:95: error: expected primary-expression before ‘stream’
 extern __host__ cudaError_t CUDARTAPI cudaGraphLaunch(cudaGraphExec_t graphExec, cudaStream_t stream);
                                                                                               ^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9135:101: error: expression list treated as compound expression in initializer [-fpermissive]
 extern __host__ cudaError_t CUDARTAPI cudaGraphLaunch(cudaGraphExec_t graphExec, cudaStream_t stream);
                                                                                                     ^
/usr/local/cuda/include/cuda_runtime_api.h:9156:60: error: ‘cudaGraphExec_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphExecDestroy(cudaGraphExec_t graphExec);
                                                            ^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9156:60: note: suggested alternative: ‘cudaGraphCreate’
 extern __host__ cudaError_t CUDARTAPI cudaGraphExecDestroy(cudaGraphExec_t graphExec);
                                                            ^~~~~~~~~~~~~~~
                                                            cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:9176:56: error: ‘cudaGraph_t’ was not declared in this scope
 extern __host__ cudaError_t CUDARTAPI cudaGraphDestroy(cudaGraph_t graph);
                                                        ^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9176:56: note: suggested alternative: ‘cudaError_t’
 extern __host__ cudaError_t CUDARTAPI cudaGraphDestroy(cudaGraph_t graph);
                                                        ^~~~~~~~~~~
                                                        cudaError_t
jcudnn/JCudnnJNI/bin/CMakeFiles/JCudnn.dir/build.make:62: recipe for target 'jcudnn/JCudnnJNI/bin/CMakeFiles/JCudnn.dir/src/JCudnn.cpp.o' failed
make[2]: *** [jcudnn/JCudnnJNI/bin/CMakeFiles/JCudnn.dir/src/JCudnn.cpp.o] Error 1
CMakeFiles/Makefile2:620: recipe for target 'jcudnn/JCudnnJNI/bin/CMakeFiles/JCudnn.dir/all' failed
make[1]: *** [jcudnn/JCudnnJNI/bin/CMakeFiles/JCudnn.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Is it the same case with CUDACC not defined as in jcuda-common?
From jcuda-common/CMake/FindCUDA/run_nvcc.cmake:

# nvcc doesn't define __CUDACC__ for some reason when generating dependency files.  This
# can cause incorrect dependencies when #including files based on this macro which is
# defined in the generating passes of nvcc invokation.  We will go ahead and manually
# define this for now until a future version fixes this bug.
set(CUDACC_DEFINE -D__CUDACC__)
@okdzhimiev
Copy link
Contributor Author

okdzhimiev commented Mar 10, 2020

As a workaround - adding #include <driver_types.h> (before cuda_runtime.h & cudnn.h) to JCudnnJNI/src/JCudnn_common.hpp fixes the error.

Don't know how to fix this through cmake. Set -D__CUDACC__ flag somehow?

@jcuda
Copy link
Owner

jcuda commented Mar 11, 2020

Originally, the FindCUDA script was offered as a standalone module for CMake. In later CMake versions, it should be included in CMake by default (that is: with the latest CMake versions, the FindCUDA script should no longer be necessary).

But one issue now is that NVIDIA occasionally ... updates ... and ... changes... things (?). So there's a certain dilemma: One could wait until CMake was updated according to the changes from NVIDIA, and always require the latest CMake version - or continue using the FindCUDA script, adjusting it where necessary.

I'd have to examine what's up with the __CUDACC__ macro, and how this could otherwise be resolved. But in doubt, I'd consider using what you called a "workaround" - or do you foresee any issues with that?

@okdzhimiev
Copy link
Contributor Author

I don't see any potential problems though I haven't look much into this.
In one other C++ CMake project I just have driver_types.h pulled by cublas_v2.h. Same as in
jcublas/JCublas2JNI/src/JCublas2_common.hpp

@jcuda
Copy link
Owner

jcuda commented Mar 11, 2020

I'll check whether

... adding #include <driver_types.h> (before cuda_runtime) to JCudnnJNI/src/JCudnn_common.hpp

causes any issues on Windows. (Maybe for the next release, because it's not what I'd consider "critical" for now).

Until then, I'd leave this issue open, to make it less likely for it to buried under other tasks...

@jcuda jcuda reopened this Mar 11, 2020
@jcuda
Copy link
Owner

jcuda commented Sep 7, 2020

Let's see whether this issue comes up again. Closing for now.

@jcuda jcuda closed this as completed Sep 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants