CUDNN 7.5 for CUDA10.2 install on Ubuntu 18.04

Hi,

I am installing Cuda 10.2 and cudnn 7.5 on Ubuntu 18.04 with a Quadro GPU.
The deviceQuery test is successful (although make clean && make does not work to clean up possible earlier successful compiling).
Also nvidia-smi looks good.
I install cudnn 7.5 with sudo dpkg -i <package_name>.
When I try to compile the cudnn tests, I get a lot of error.
It seems to be some kind of include issue.
I have checked my $PATH and it seems to include everything needed.
/usr/local/cuda/include/cuda_runtime_api.h: is where it should be.
/usr/include/cudnn.h is not located there, but rather a link cudnn.h -> /etc/alternatives/libcudnn that eventually lead to libcudnn -> /usr/include/x86_64-linux-gnu/cudnn_v7 that is cudnn_v7.h

I have spent almost two days on trying to make this work, the package system thinks that everything is up to date. Everything regarding CUDA 10.2 looks ok. $PATH looks ok. Still the cudnn sample does not compile. When I run something that needs cudnn, then I get the same error as when I compile the cudnn example.
Can you please help me out here and tell me what is going on?

cp -r /usr/src/cudnn_samples_v7/ $HOME
cd $HOME/cudnn_samples_v7/mnistCUDNN
make clean && make
./mnistCUDNN

/mnistCUDNN$ make clean && make
rm -rf o
rm -rf mnistCUDNN
Linking agains cublasLt = true
CUDA VERSION: 10020
TARGET ARCH: x86_64
HOST_ARCH: x86_64
TARGET OS: linux
SMS: 30 35 50 53 60 61 62 70 72 75
/usr/local/cuda/bin/nvcc -ccbin g++ -I/usr/local/cuda/include -I/usr/local/cuda/include -IFreeImage/include -m64 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_53,code=sm_53 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_62,code=sm_62 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_72,code=sm_72 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_75,code=compute_75 -o fp16_dev.o -c fp16_dev.cu
g++ -I/usr/local/cuda/include -I/usr/local/cuda/include -IFreeImage/include -o fp16_emu.o -c fp16_emu.cpp
g++ -I/usr/local/cuda/include -I/usr/local/cuda/include -IFreeImage/include -o mnistCUDNN.o -c mnistCUDNN.cpp
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 mnistCUDNN.cpp:30:
/usr/local/cuda/include/cuda_runtime_api.h:2297: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:2365:9: error: ‘cudaStreamCallback_t’ has not been declared
cudaStreamCallback_t callback, void *userData, unsigned int flags);
^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2532:88: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration
xtern host cudaError_t CUDARTAPI cudaStreamBeginCapture(cudaStream_t stream, enum cudaStreamCaptureMode mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2583:80: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration
extern host cudaError_t CUDARTAPI cudaThreadExchangeStreamCaptureMode(enum cudaStreamCaptureMode *mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:2611: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:2649: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:2677:90: error: use of enum ‘cudaStreamCaptureStatus’ without previous declaration
ern host cudaError_t CUDARTAPI cudaStreamGetCaptureInfo(cudaStream_t stream, enum cudaStreamCaptureStatus *pCaptureStatus, unsigned long long *pId);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3098: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:3098:64: note: suggested alternative: ‘CUexternalMemory’
extern host cudaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t *extMem_out, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
^~~~~~~~~~~~~~~~~~~~
CUexternalMemory
/usr/local/cuda/include/cuda_runtime_api.h:3098: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:3098:98: error: expected primary-expression before ‘const’
st__ cudaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t *extMem_out, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3098:154: error: expression list treated as compound expression in initializer [-fpermissive]
mory(cudaExternalMemory_t *extMem_out, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
^
/usr/local/cuda/include/cuda_runtime_api.h:3152:88: error: ‘cudaExternalMemory_t’ has not been declared
xtern host cudaError_t CUDARTAPI cudaExternalMemoryGetMappedBuffer(void **devPtr, cudaExternalMemory_t extMem, const struct cudaExternalMemoryBufferDesc *bufferDesc);
^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3211:111: error: ‘cudaExternalMemory_t’ has not been declared
r_t CUDARTAPI cudaExternalMemoryGetMappedMipmappedArray(cudaMipmappedArray_t *mipmap, cudaExternalMemory_t extMem, const struct cudaExternalMemoryMipmappedArrayDesc *mipmapDesc);
^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3234: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:3234:65: note: suggested alternative: ‘CUexternalMemory’
extern host cudaError_t CUDARTAPI cudaDestroyExternalMemory(cudaExternalMemory_t extMem);
^~~~~~~~~~~~~~~~~~~~
CUexternalMemory
/usr/local/cuda/include/cuda_runtime_api.h:3365: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:3365:67: note: suggested alternative: ‘CUexternalSemaphore’
extern host cudaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t *extSem_out, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
^~~~~~~~~~~~~~~~~~~~~~~
CUexternalSemaphore
/usr/local/cuda/include/cuda_runtime_api.h:3365:92: error: ‘extSem_out’ was not declared in this scope
n host cudaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t *extSem_out, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3365:104: error: expected primary-expression before ‘const’
udaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t *extSem_out, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:3365:163: error: expression list treated as compound expression in initializer [-fpermissive]
udaExternalSemaphore_t *extSem_out, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
^
/usr/local/cuda/include/cuda_runtime_api.h:3430:79: error: ‘cudaExternalSemaphore_t’ does not name a type; did you mean ‘CUexternalSemaphore’?
extern host cudaError_t CUDARTAPI cudaSignalExternalSemaphoresAsync(const cudaExternalSemaphore_t *extSemArray, const struct cudaExternalSemaphoreSignalParams *paramsArray, unsigned int numExtSems, cudaStream_t stream __dv(0));
^~~~~~~~~~~~~~~~~~~~~~~
CUexternalSemaphore
/usr/local/cuda/include/cuda_runtime_api.h:3504:77: error: ‘cudaExternalSemaphore_t’ does not name a type; did you mean ‘CUexternalSemaphore’?
extern host cudaError_t CUDARTAPI cudaWaitExternalSemaphoresAsync(const cudaExternalSemaphore_t *extSemArray, const struct cudaExternalSemaphoreWaitParams *paramsArray, unsigned int numExtSems, cudaStream_t stream __dv(0));
^~~~~~~~~~~~~~~~~~~~~~~
CUexternalSemaphore
/usr/local/cuda/include/cuda_runtime_api.h:3526: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:3526:68: note: suggested alternative: ‘CUexternalSemaphore’
extern host cudaError_t CUDARTAPI cudaDestroyExternalSemaphore(cudaExternalSemaphore_t extSem);
^~~~~~~~~~~~~~~~~~~~~~~
CUexternalSemaphore
/usr/local/cuda/include/cuda_runtime_api.h:4039: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 mnistCUDNN.cpp:30:
/usr/local/cuda/include/cuda_runtime_api.h:8422: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:8422: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:8422: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:8422:68: note: suggested alternative: ‘CUgraph’
extern host cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t *pGraph, unsigned int flags);
^~~~~~
CUgraph
/usr/local/cuda/include/cuda_runtime_api.h:8422: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:8422: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:8519:62: error: ‘cudaGraphNode_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8519:62: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8519:79: error: ‘pGraphNode’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8519:79: note: suggested alternative: ‘CUgraphNode’
extern host cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~
CUgraphNode
/usr/local/cuda/include/cuda_runtime_api.h:8519:91: error: ‘cudaGraph_t’ was not declared in this scope
rn host cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8519:91: note: suggested alternative: ‘cudaError_t’
rn host cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8519:110: error: expected primary-expression before ‘const’
or_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8519:155: error: expected primary-expression before ‘numDependencies’
phNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8519:172: error: expected primary-expression before ‘const’
ode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8519:218: error: expression list treated as compound expression in initializer [-fpermissive]
phNode_t *pDependencies, size_t numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8552: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:8552: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:8552:90: error: expected primary-expression before ‘struct’
ern host cudaError_t CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams *pNodeParams);
^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8552:130: error: expression list treated as compound expression in initializer [-fpermissive]
API cudaGraphKernelNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8577: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:8577: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:8577:90: error: expected primary-expression before ‘const’
ern host cudaError_t CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8577:136: error: expression list treated as compound expression in initializer [-fpermissive]
daGraphKernelNodeSetParams(cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8621:62: error: ‘cudaGraphNode_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8621:62: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8621:79: error: ‘pGraphNode’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8621:79: note: suggested alternative: ‘CUgraphNode’
extern host cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~
CUgraphNode
/usr/local/cuda/include/cuda_runtime_api.h:8621:91: error: ‘cudaGraph_t’ was not declared in this scope
rn host cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8621:91: note: suggested alternative: ‘cudaError_t’
rn host cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8621:110: error: expected primary-expression before ‘const’
or_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8621:155: error: expected primary-expression before ‘numDependencies’
phNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8621:172: error: expected primary-expression before ‘const’
ode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8621:215: error: expression list treated as compound expression in initializer [-fpermissive]
GraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8644: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:8644: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:8644:90: error: expected primary-expression before ‘struct’
ern host cudaError_t CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms *pNodeParams);
^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8644:127: error: expression list treated as compound expression in initializer [-fpermissive]
ARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8667: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:8667: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:8667:90: error: expected primary-expression before ‘const’
ern host cudaError_t CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8667:133: error: expression list treated as compound expression in initializer [-fpermissive]
cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8709:62: error: ‘cudaGraphNode_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8709:62: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8709:79: error: ‘pGraphNode’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8709:79: note: suggested alternative: ‘CUgraphNode’
extern host cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~
CUgraphNode
/usr/local/cuda/include/cuda_runtime_api.h:8709:91: error: ‘cudaGraph_t’ was not declared in this scope
rn host cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8709:91: note: suggested alternative: ‘cudaError_t’
rn host cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8709:110: error: expected primary-expression before ‘const’
or_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8709:155: error: expected primary-expression before ‘numDependencies’
phNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8709:172: error: expected primary-expression before ‘const’
ode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8709:216: error: expression list treated as compound expression in initializer [-fpermissive]
raphNode_t *pDependencies, size_t numDependencies, const struct cudaMemsetParams *pMemsetParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8732: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:8732: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:8732:90: error: expected primary-expression before ‘struct’
ern host cudaError_t CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams *pNodeParams);
^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8732:126: error: expression list treated as compound expression in initializer [-fpermissive]
DARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8755: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:8755: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:8755:90: error: expected primary-expression before ‘const’
ern host cudaError_t CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8755:132: error: expression list treated as compound expression in initializer [-fpermissive]
I cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8796:60: error: ‘cudaGraphNode_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:60: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8796:77: error: ‘pGraphNode’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:77: note: suggested alternative: ‘CUgraphNode’
extern host cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~
CUgraphNode
/usr/local/cuda/include/cuda_runtime_api.h:8796:89: error: ‘cudaGraph_t’ was not declared in this scope
tern host cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:89: note: suggested alternative: ‘cudaError_t’
tern host cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8796:108: error: expected primary-expression before ‘const’
rror_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:153: error: expected primary-expression before ‘numDependencies’
phNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:170: error: expected primary-expression before ‘const’
ode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8796:214: error: expression list treated as compound expression in initializer [-fpermissive]
raphNode_t *pDependencies, size_t numDependencies, const struct cudaHostNodeParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8819: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:8819: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:8819:88: error: expected primary-expression before ‘struct’
xtern host cudaError_t CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams *pNodeParams);
^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8819:126: error: expression list treated as compound expression in initializer [-fpermissive]
DARTAPI cudaGraphHostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8842: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:8842: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:8842:88: error: expected primary-expression before ‘const’
xtern host cudaError_t CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8842:132: error: expression list treated as compound expression in initializer [-fpermissive]
I cudaGraphHostNodeSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:8880:66: error: ‘cudaGraphNode_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8880:66: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8880:83: error: ‘pGraphNode’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8880:83: note: suggested alternative: ‘CUgraphNode’
extern host cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~~~~~~
CUgraphNode
/usr/local/cuda/include/cuda_runtime_api.h:8880:95: error: ‘cudaGraph_t’ was not declared in this scope
host_ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8880:95: note: suggested alternative: ‘cudaError_t’
host_ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8880:114: error: expected primary-expression before ‘const’
CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8880:159: error: expected primary-expression before ‘numDependencies’
phNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8880:176: error: ‘cudaGraph_t’ was not declared in this scope
ode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8880:176: note: suggested alternative: ‘cudaError_t’
ode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8880:198: error: expression list treated as compound expression in initializer [-fpermissive]
h_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies, cudaGraph_t childGraph);
^
/usr/local/cuda/include/cuda_runtime_api.h:8904: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:8904: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:8904:93: error: ‘cudaGraph_t’ was not declared in this scope
host cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8904:93: note: suggested alternative: ‘cudaError_t’
host cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8904:106: error: ‘pGraph’ was not declared in this scope
cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
^~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8904:106: note: suggested alternative: ‘CUgraph’
cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
^~~~~~
CUgraph
/usr/local/cuda/include/cuda_runtime_api.h:8904:112: error: expression list treated as compound expression in initializer [-fpermissive]
cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t *pGraph);
^
/usr/local/cuda/include/cuda_runtime_api.h:8941:61: error: ‘cudaGraphNode_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8941:61: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:8941:78: error: ‘pGraphNode’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8941:78: note: suggested alternative: ‘CUgraphNode’
extern host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies);
^~~~~~~~~~
CUgraphNode
/usr/local/cuda/include/cuda_runtime_api.h:8941:90: error: ‘cudaGraph_t’ was not declared in this scope
ern host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8941:90: note: suggested alternative: ‘cudaError_t’
ern host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8941:109: error: expected primary-expression before ‘const’
ror_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8941:154: error: expected primary-expression before ‘numDependencies’
phNode_t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8941:169: error: expression list treated as compound expression in initializer [-fpermissive]
t *pGraphNode, cudaGraph_t graph, const cudaGraphNode_t *pDependencies, size_t numDependencies);
^
/usr/local/cuda/include/cuda_runtime_api.h:8968: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:8968: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:8968: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:8968:67: note: suggested alternative: ‘cuGraphClone’
extern host cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph);
^~~~~~~~~~~
cuGraphClone
/usr/local/cuda/include/cuda_runtime_api.h:8968: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:8968: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:8968:105: error: expression list treated as compound expression in initializer [-fpermissive]
host
_ cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph);
^
/usr/local/cuda/include/cuda_runtime_api.h:8996: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:8996: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:8996: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:8996: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:8996:88: error: ‘cudaGraphNode_t’ was not declared in this scope
xtern host cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8996:88: note: suggested alternative: ‘cudaGraphClone’
xtern host cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
^~~~~~~~~~~~~~~
cudaGraphClone
/usr/local/cuda/include/cuda_runtime_api.h:8996:118: error: ‘cudaGraph_t’ was not declared in this scope
ARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:8996:118: note: suggested alternative: ‘cudaError_t’
ARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:8996:141: error: expression list treated as compound expression in initializer [-fpermissive]
phNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph);
^
/usr/local/cuda/include/cuda_runtime_api.h:9027: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:9027: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:9027: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:9027:111: error: expression list treated as compound expression in initializer [-fpermissive]
cudaError_t CUDARTAPI cudaGraphNodeGetType(cudaGraphNode_t node, enum cudaGraphNodeType *pType);
^
/usr/local/cuda/include/cuda_runtime_api.h:9058: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:9058: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:9058: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:9058: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:9058:93: error: ‘nodes’ was not declared in this scope
host cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t nodes, size_t *numNodes);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9058:107: error: expected primary-expression before ‘
’ token
Error_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
^
/usr/local/cuda/include/cuda_runtime_api.h:9058:108: error: ‘numNodes’ was not declared in this scope
Error_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t *numNodes);
^~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9058:116: error: expression list treated as compound expression in initializer [-fpermissive]
Error_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t *nodes, size_t numNodes);
^
/usr/local/cuda/include/cuda_runtime_api.h:9089: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:9089: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:9089: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:9089: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:9089:97: error: ‘pRootNodes’ was not declared in this scope
ost__ cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9089:116: error: expected primary-expression before ‘
’ token
UDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
^
/usr/local/cuda/include/cuda_runtime_api.h:9089:117: error: ‘pNumRootNodes’ was not declared in this scope
DARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9089:130: error: expression list treated as compound expression in initializer [-fpermissive]
API cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t *pRootNodes, size_t *pNumRootNodes);
^
/usr/local/cuda/include/cuda_runtime_api.h:9123: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:9123: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:9123: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:9123: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:9123:93: error: ‘from’ was not declared in this scope
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:9123:93: note: suggested alternative: ‘feof’
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:9123:99: error: ‘cudaGraphNode_t’ was not declared in this scope
t__ cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9123:99: note: suggested alternative: ‘cudaGraphGetNodes’
t__ 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:9123:116: error: ‘to’ was not declared in this scope
UDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
^~
/usr/local/cuda/include/cuda_runtime_api.h:9123:116: note: suggested alternative: ‘tm’
UDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numEdges);
^~
tm
/usr/local/cuda/include/cuda_runtime_api.h:9123:127: error: expected primary-expression before ‘
’ token
daGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
^
/usr/local/cuda/include/cuda_runtime_api.h:9123:128: error: ‘numEdges’ was not declared in this scope
daGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t *numEdges);
^~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9123:136: error: expression list treated as compound expression in initializer [-fpermissive]
daGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t *from, cudaGraphNode_t *to, size_t numEdges);
^
/usr/local/cuda/include/cuda_runtime_api.h:9154: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:9154: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:9154:90: error: ‘cudaGraphNode_t’ was not declared in this scope
ern host cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9154:90: note: suggested alternative: ‘cudaGraphGetNodes’
ern host cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
^~~~~~~~~~~~~~~
cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9154:107: error: ‘pDependencies’ was not declared in this scope
Error_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
^~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9154:129: error: expected primary-expression before ‘
’ token
GraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
^
/usr/local/cuda/include/cuda_runtime_api.h:9154:130: error: ‘pNumDependencies’ was not declared in this scope
raphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
^~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9154:130: note: suggested alternative: ‘cuGraphAddDependencies’
raphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t *pNumDependencies);
^~~~~~~~~~~~~~~~
cuGraphAddDependencies
/usr/local/cuda/include/cuda_runtime_api.h:9154:146: error: expression list treated as compound expression in initializer [-fpermissive]
eGetDependencies(cudaGraphNode_t node, cudaGraphNode_t *pDependencies, size_t pNumDependencies);
^
/usr/local/cuda/include/cuda_runtime_api.h:9186: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:9186: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:9186:92: error: ‘cudaGraphNode_t’ was not declared in this scope
n host cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9186:92: note: suggested alternative: ‘cudaGraphGetNodes’
n host cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
^~~~~~~~~~~~~~~
cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9186:109: error: ‘pDependentNodes’ was not declared in this scope
ror_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9186:133: error: expected primary-expression before ‘
’ token
hNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
^
/usr/local/cuda/include/cuda_runtime_api.h:9186:134: error: ‘pNumDependentNodes’ was not declared in this scope
NodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
^~~~~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9186:134: note: suggested alternative: ‘cuGraphGetNodes’
NodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
^~~~~~~~~~~~~~~~~~
cuGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9186:152: error: expression list treated as compound expression in initializer [-fpermissive]
pendentNodes(cudaGraphNode_t node, cudaGraphNode_t *pDependentNodes, size_t *pNumDependentNodes);
^
/usr/local/cuda/include/cuda_runtime_api.h:9217:64: error: ‘cudaGraph_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9217:64: note: suggested alternative: ‘cudaError_t’
extern host cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:9217:83: error: expected primary-expression before ‘const’
extern host cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9217:112: error: expected primary-expression before ‘const’
t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9217:146: error: expected primary-expression before ‘numDependencies’
ies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9217:161: error: expression list treated as compound expression in initializer [-fpermissive]
daGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^
/usr/local/cuda/include/cuda_runtime_api.h:9248:67: error: ‘cudaGraph_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9248:67: note: suggested alternative: ‘cudaError_t’
extern host cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:9248:86: error: expected primary-expression before ‘const’
extern host cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9248:115: error: expected primary-expression before ‘const’
CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9248:149: error: expected primary-expression before ‘numDependencies’
ies(cudaGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9248:164: error: expression list treated as compound expression in initializer [-fpermissive]
daGraph_t graph, const cudaGraphNode_t *from, const cudaGraphNode_t *to, size_t numDependencies);
^
/usr/local/cuda/include/cuda_runtime_api.h:9274: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:9274:60: note: suggested alternative: ‘cudaGraphGetNodes’
extern host cudaError_t CUDARTAPI cudaGraphDestroyNode(cudaGraphNode_t node);
^~~~~~~~~~~~~~~
cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9310: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:9310: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:9310: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:9310:77: note: suggested alternative: ‘CUgraphExec’
extern host cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
^~~~~~~~~~
CUgraphExec
/usr/local/cuda/include/cuda_runtime_api.h:9310:89: error: ‘cudaGraph_t’ was not declared in this scope
tern 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:9310:89: note: suggested alternative: ‘cudaError_t’
tern 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:9310:108: error: ‘cudaGraphNode_t’ was not declared in this scope
rror_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:9310:108: note: suggested alternative: ‘cudaGraphGetNodes’
rror_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:9310:125: error: ‘pErrorNode’ was not declared in this scope
cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9310:125: note: suggested alternative: ‘perror’
cudaGraphInstantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
^~~~~~~~~~
perror
/usr/local/cuda/include/cuda_runtime_api.h:9310:137: error: expected primary-expression before ‘char’
tantiate(cudaGraphExec_t *pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
^~~~
/usr/local/cuda/include/cuda_runtime_api.h:9310:162: error: expected primary-expression before ‘bufferSize’
*pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
^~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9310:172: error: expression list treated as compound expression in initializer [-fpermissive]
pGraphExec, cudaGraph_t graph, cudaGraphNode_t *pErrorNode, char *pLogBuffer, size_t bufferSize);
^
/usr/local/cuda/include/cuda_runtime_api.h:9344:72: error: ‘cudaGraphExec_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9344:72: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:9344:100: error: ‘cudaGraphNode_t’ was not declared in this scope
__ cudaError_t CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9344:100: note: suggested alternative: ‘cudaGraphGetNodes’
__ cudaError_t CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9344:122: error: expected primary-expression before ‘const’
PI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9344:168: error: expression list treated as compound expression in initializer [-fpermissive]
udaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:9385:72: error: ‘cudaGraphExec_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9385:72: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:9385:100: error: ‘cudaGraphNode_t’ was not declared in this scope
__ cudaError_t CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9385:100: note: suggested alternative: ‘cudaGraphGetNodes’
__ cudaError_t CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9385:122: error: expected primary-expression before ‘const’
PI cudaGraphExecMemcpyNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9385:165: error: expression list treated as compound expression in initializer [-fpermissive]
s(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:9426:72: error: ‘cudaGraphExec_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9426:72: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:9426:100: error: ‘cudaGraphNode_t’ was not declared in this scope
__ cudaError_t CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9426:100: note: suggested alternative: ‘cudaGraphGetNodes’
__ cudaError_t CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9426:122: error: expected primary-expression before ‘const’
PI cudaGraphExecMemsetNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9426:164: error: expression list treated as compound expression in initializer [-fpermissive]
ms(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemsetParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:9459:70: error: ‘cudaGraphExec_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9459:70: note: suggested alternative: ‘cudaGraphCreate’
extern host cudaError_t CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphCreate
/usr/local/cuda/include/cuda_runtime_api.h:9459:98: error: ‘cudaGraphNode_t’ was not declared in this scope
st
_ cudaError_t CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9459:98: note: suggested alternative: ‘cudaGraphGetNodes’
st__ cudaError_t CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9459:120: error: expected primary-expression before ‘const’
TAPI cudaGraphExecHostNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
^~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9459:164: error: expression list treated as compound expression in initializer [-fpermissive]
(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams);
^
/usr/local/cuda/include/cuda_runtime_api.h:9534:59: error: ‘cudaGraphExec_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t *hErrorNode_out, enum cudaGraphExecUpdateResult *updateResult_out);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9534:59: note: suggested alternative: ‘cudaGraphExecUpdate’
extern host cudaError_t CUDARTAPI cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t *hErrorNode_out, enum cudaGraphExecUpdateResult *updateResult_out);
^~~~~~~~~~~~~~~
cudaGraphExecUpdate
/usr/local/cuda/include/cuda_runtime_api.h:9534:87: error: ‘cudaGraph_t’ was not declared in this scope
extern host cudaError_t CUDARTAPI cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t *hErrorNode_out, enum cudaGraphExecUpdateResult *updateResult_out);
^~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9534:87: note: suggested alternative: ‘cudaError_t’
extern host cudaError_t CUDARTAPI cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t *hErrorNode_out, enum cudaGraphExecUpdateResult *updateResult_out);
^~~~~~~~~~~
cudaError_t
/usr/local/cuda/include/cuda_runtime_api.h:9534:107: error: ‘cudaGraphNode_t’ was not declared in this scope
Error_t CUDARTAPI cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t *hErrorNode_out, enum cudaGraphExecUpdateResult *updateResult_out);
^~~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9534:107: note: suggested alternative: ‘cudaGraphGetNodes’
Error_t CUDARTAPI cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t *hErrorNode_out, enum cudaGraphExecUpdateResult *updateResult_out);
^~~~~~~~~~~~~~~
cudaGraphGetNodes
/usr/local/cuda/include/cuda_runtime_api.h:9534:124: error: ‘hErrorNode_out’ was not declared in this scope
cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t *hErrorNode_out, enum cudaGraphExecUpdateResult *updateResult_out);
^~~~~~~~~~~~~~
/usr/local/cuda/include/cuda_runtime_api.h:9534:140: error: expected primary-expression before ‘enum’
date(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t *hErrorNode_out, enum cudaGraphExecUpdateResult *updateResult_out);
^~~~
/usr/local/cuda/include/cuda_runtime_api.h:9534:188: error: expression list treated as compound expression in initializer [-fpermissive]
aph_t hGraph, cudaGraphNode_t *hErrorNode_out, enum cudaGraphExecUpdateResult *updateResult_out);
^
/usr/local/cuda/include/cuda_runtime_api.h:9559:55: error: ‘cudaGraphExec_t’ was not declared in this scope

… truncated because of size limitation of postings

Actually even if the deviceQuery test works, some other CUDA tests do not work:

It does not find some .h files.
The real problem starts when I compile 7_CUDALibraries/simpleCUBLAS’
The errors there are very similar to the cudnn errors.
Suggestions?

make[1]: Entering directory ‘/usr/local/cuda-10.2/samples/5_Simulations/nbody_opengles’

WARNING - nbody_opengles is not supported on Linux x86_64 - waiving sample <<<
WARNING - egl.h not found, please install egl.h <<<
WARNING - eglext.h not found, please install eglext.h <<<
WARNING - gl31.h not found, please install gl31.h <<<

make[1]: Entering directory ‘/usr/local/cuda-10.2/samples/7_CUDALibraries/simpleCUBLAS’
/usr/local/cuda-10.2/bin/nvcc -ccbin g++ -I…/…/common/inc -m64 -gencode arch=compute_30,code=compute_30 -o simpleCUBLAS.o -c simpleCUBLAS.cpp
In file included from /usr/local/cuda-10.2/targets/x86_64-linux/include/channel_descriptor.h:61:0,
from /usr/local/cuda-10.2/bin/…/targets/x86_64-linux/include/cuda_runtime.h:95,
from simpleCUBLAS.cpp:49:
/usr/local/cuda-10.2/targets/x86_64-linux/include/cuda_runtime_api.h:2297:25: error: expected ‘)’ before ‘*’ token
typedef void (CUDART_CB *cudaStreamCallback_t)(cudaStream_t stream, cudaError_t status, void *userData);
^
/usr/local/cuda-10.2/targets/x86_64-linux/include/cuda_runtime_api.h:2365:9: error: ‘cudaStreamCallback_t’ has not been declared
cudaStreamCallback_t callback, void *userData, unsigned int flags);
^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/targets/x86_64-linux/include/cuda_runtime_api.h:2532:88: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration
extern host cudaError_t CUDARTAPI cudaStreamBeginCapture(cudaStream_t stream, enum cudaStreamCaptureMode mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/targets/x86_64-linux/include/cuda_runtime_api.h:2583:80: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration
extern host cudaError_t CUDARTAPI cudaThreadExchangeStreamCaptureMode(enum cudaStreamCaptureMode *mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/targets/x86_64-linux/include/cuda_runtime_api.h:2611:81: error: ‘cudaGraph_t’ has not been declared
extern host cudaError_t CUDARTAPI cudaStreamEndCapture(cudaStream_t stream, cudaGraph_t *pGraph);
^~~~~~~~~~~