BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
33.96k stars 18.72k forks source link

Faced the same problem. It's happening due to cudnn.hpp (Location: include/caffe/util/cudnn.hpp) . **Update cudnn.hpp file.** It is not considering the current cuDNN versions. #6958

Open soheilAppear opened 3 years ago

soheilAppear commented 3 years ago

Faced the same problem. It's happening due to cudnn.hpp (Location: include/caffe/util/cudnn.hpp) . Update cudnn.hpp file. It is not considering the current cuDNN versions.

Update the cudnn.hpp from github repo, BVLC/caffe/include/caffe/util/cudnn.hpp Or, go to this link https://github.com/BVLC/caffe/blob/master/include/caffe/util/cudnn.hpp [Copy this and replace the old one]

Originally posted by @mdamircoder in https://github.com/BVLC/caffe/issues/5793#issuecomment-404729152

soheilAppear commented 3 years ago

It did not solve my issue.

I'm getting this error:

n file included from /usr/local/cuda-11.0/include/channel_descriptor.h:61:0, from /usr/local/cuda-11.0/include/cuda_runtime.h:95, from /usr/include/cudnn.h:64, from ./include/caffe/util/cudnn.hpp:5, from src/caffe/util/cudnn.cpp:2: /usr/local/cuda-11.0/include/cuda_runtime_api.h:1854: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-11.0/include/cuda_runtime_api.h:2306:36: error: use of enum ‘cudaStreamAttrID’ without previous declaration cudaStream_t hStream, enum cudaStreamAttrID attr, ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:2330:36: error: use of enum ‘cudaStreamAttrID’ without previous declaration cudaStream_t hStream, enum cudaStreamAttrID attr, ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:2396:25: error: expected ‘)’ before ‘’ token typedef void (CUDART_CB cudaStreamCallback_t)(cudaStream_t stream, cudaError_t status, void userData); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:2464:9: error: ‘cudaStreamCallback_t’ has not been declared cudaStreamCallback_t callback, void *userData, unsigned int flags); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:2631:88: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration extern host cudaError_t CUDARTAPI cudaStreamBeginCapture(cudaStream_t stream, enum cudaStreamCaptureMode mode); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:2682:80: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration extern host cudaError_t CUDARTAPI cudaThreadExchangeStreamCaptureMode(enum cudaStreamCaptureMode *mode); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:2710:81: error: ‘cudaGraph_t’ has not been declared extern host cudaError_t CUDARTAPI cudaStreamEndCapture(cudaStream_t stream, cudaGraph_t pGraph); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:2748:87: error: use of enum ‘cudaStreamCaptureStatus’ without previous declaration extern host cudaError_t CUDARTAPI cudaStreamIsCapturing(cudaStream_t stream, enum cudaStreamCaptureStatus pCaptureStatus); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:2776:90: error: use of enum ‘cudaStreamCaptureStatus’ without previous declaration extern host cudaError_t CUDARTAPI cudaStreamGetCaptureInfo(cudaStream_t stream, enum cudaStreamCaptureStatus pCaptureStatus, unsigned long long pId); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:3198: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-11.0/include/cuda_runtime_api.h:3198: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-11.0/include/cuda_runtime_api.h:3198:98: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t extMem_out, const struct cudaExternalMemoryHandleDesc memHandleDesc); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:3198: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-11.0/include/cuda_runtime_api.h:3252: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-11.0/include/cuda_runtime_api.h:3311: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-11.0/include/cuda_runtime_api.h:3334:65: error: ‘cudaExternalMemory_t’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaDestroyExternalMemory(cudaExternalMemory_t extMem); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:3465: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-11.0/include/cuda_runtime_api.h:3465: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-11.0/include/cuda_runtime_api.h:3465:104: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t extSem_out, const struct cudaExternalSemaphoreHandleDesc semHandleDesc); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:3465: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-11.0/include/cuda_runtime_api.h:3530:79: error: ‘cudaExternalSemaphore_t’ does not name a type extern host cudaError_t CUDARTAPI cudaSignalExternalSemaphoresAsync(const cudaExternalSemaphore_t extSemArray, const struct cudaExternalSemaphoreSignalParams paramsArray, unsigned int numExtSems, cudaStream_t stream __dv(0)); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:3604:77: error: ‘cudaExternalSemaphore_t’ does not name a type extern host cudaError_t CUDARTAPI cudaWaitExternalSemaphoresAsync(const cudaExternalSemaphore_t extSemArray, const struct cudaExternalSemaphoreWaitParams paramsArray, unsigned int numExtSems, cudaStream_t stream __dv(0)); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:3626:68: error: ‘cudaExternalSemaphore_t’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaDestroyExternalSemaphore(cudaExternalSemaphore_t extSem); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:4025: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-11.0/include/cuda_runtime_api.h:4139: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-11.0/include/channel_descriptor.h:61:0, from /usr/local/cuda-11.0/include/cuda_runtime.h:95, from /usr/include/cudnn.h:64, from ./include/caffe/util/cudnn.hpp:5, from src/caffe/util/cudnn.cpp:2: /usr/local/cuda-11.0/include/cuda_runtime_api.h:6768: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-11.0/include/cuda_runtime_api.h:6827: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-11.0/include/cuda_runtime_api.h:6866: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-11.0/include/cuda_runtime_api.h:8558: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-11.0/include/cuda_runtime_api.h:8558:68: error: ‘pGraph’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t pGraph, unsigned int flags); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8558:76: error: expected primary-expression before ‘unsigned’ extern host cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t pGraph, unsigned int flags); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8558: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-11.0/include/cuda_runtime_api.h:8655: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-11.0/include/cuda_runtime_api.h:8655: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-11.0/include/cuda_runtime_api.h:8655:91: error: ‘cudaGraph_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-11.0/include/cuda_runtime_api.h:8655:110: error: expected primary-expression before ‘const’ 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-11.0/include/cuda_runtime_api.h:8655:155: error: expected primary-expression before ‘numDependencies’ 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-11.0/include/cuda_runtime_api.h:8655:172: error: expected primary-expression before ‘const’ 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-11.0/include/cuda_runtime_api.h:8655:218: error: expression list treated as compound expression in initializer [-fpermissive] 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-11.0/include/cuda_runtime_api.h:8688: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-11.0/include/cuda_runtime_api.h:8688:90: error: expected primary-expression before ‘struct’ extern host cudaError_t CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8688: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-11.0/include/cuda_runtime_api.h:8713: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-11.0/include/cuda_runtime_api.h:8713:90: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNode_t node, const struct cudaKernelNodeParams *pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8713: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-11.0/include/cuda_runtime_api.h:8734:9: error: ‘cudaGraphNode_t’ was not declared in this scope cudaGraphNode_t hSrc, ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8735:9: error: ‘cudaGraphNode_t’ was not declared in this scope cudaGraphNode_t hDst); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8735:29: error: expression list treated as compound expression in initializer [-fpermissive] cudaGraphNode_t hDst); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8757:5: error: ‘cudaGraphNode_t’ was not declared in this scope cudaGraphNode_t hNode, ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8758:5: error: expected primary-expression before ‘enum’ enum cudaKernelNodeAttrID attr, ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8759:5: error: expected primary-expression before ‘union’ union cudaKernelNodeAttrValue value_out); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8759:45: error: expression list treated as compound expression in initializer [-fpermissive] union cudaKernelNodeAttrValue value_out); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8781:5: error: ‘cudaGraphNode_t’ was not declared in this scope cudaGraphNode_t hNode, ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8782:5: error: expected primary-expression before ‘enum’ enum cudaKernelNodeAttrID attr, ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8783:5: error: expected primary-expression before ‘const’ const union cudaKernelNodeAttrValue value); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8783:47: error: expression list treated as compound expression in initializer [-fpermissive] const union cudaKernelNodeAttrValue *value); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8827: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-11.0/include/cuda_runtime_api.h:8827: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-11.0/include/cuda_runtime_api.h:8827:91: error: ‘cudaGraph_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-11.0/include/cuda_runtime_api.h:8827:110: error: expected primary-expression before ‘const’ 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-11.0/include/cuda_runtime_api.h:8827:155: error: expected primary-expression before ‘numDependencies’ 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-11.0/include/cuda_runtime_api.h:8827:172: error: expected primary-expression before ‘const’ 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-11.0/include/cuda_runtime_api.h:8827:215: error: expression list treated as compound expression in initializer [-fpermissive] 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-11.0/include/cuda_runtime_api.h:8850: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-11.0/include/cuda_runtime_api.h:8850:90: error: expected primary-expression before ‘struct’ extern host cudaError_t CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8850: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-11.0/include/cuda_runtime_api.h:8873: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-11.0/include/cuda_runtime_api.h:8873:90: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8873: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-11.0/include/cuda_runtime_api.h:8915: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-11.0/include/cuda_runtime_api.h:8915: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-11.0/include/cuda_runtime_api.h:8915:91: error: ‘cudaGraph_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-11.0/include/cuda_runtime_api.h:8915:110: error: expected primary-expression before ‘const’ 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-11.0/include/cuda_runtime_api.h:8915:155: error: expected primary-expression before ‘numDependencies’ 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-11.0/include/cuda_runtime_api.h:8915:172: error: expected primary-expression before ‘const’ 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-11.0/include/cuda_runtime_api.h:8915:216: error: expression list treated as compound expression in initializer [-fpermissive] 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-11.0/include/cuda_runtime_api.h:8938: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-11.0/include/cuda_runtime_api.h:8938:90: error: expected primary-expression before ‘struct’ extern host cudaError_t CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams *pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8938: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-11.0/include/cuda_runtime_api.h:8961: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-11.0/include/cuda_runtime_api.h:8961:90: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:8961: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-11.0/include/cuda_runtime_api.h:9002: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-11.0/include/cuda_runtime_api.h:9002: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-11.0/include/cuda_runtime_api.h:9002:89: error: ‘cudaGraph_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-11.0/include/cuda_runtime_api.h:9002:108: error: expected primary-expression before ‘const’ 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-11.0/include/cuda_runtime_api.h:9002:153: error: expected primary-expression before ‘numDependencies’ 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-11.0/include/cuda_runtime_api.h:9002:170: error: expected primary-expression before ‘const’ 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-11.0/include/cuda_runtime_api.h:9002:214: error: expression list treated as compound expression in initializer [-fpermissive] 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-11.0/include/cuda_runtime_api.h:9025: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-11.0/include/cuda_runtime_api.h:9025:88: error: expected primary-expression before ‘struct’ extern host cudaError_t CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9025: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-11.0/include/cuda_runtime_api.h:9048: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-11.0/include/cuda_runtime_api.h:9048:88: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams *pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9048: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-11.0/include/cuda_runtime_api.h:9086: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-11.0/include/cuda_runtime_api.h:9086: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-11.0/include/cuda_runtime_api.h:9086:95: error: ‘cudaGraph_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-11.0/include/cuda_runtime_api.h:9086:114: error: expected primary-expression before ‘const’ 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-11.0/include/cuda_runtime_api.h:9086:159: error: expected primary-expression before ‘numDependencies’ 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-11.0/include/cuda_runtime_api.h:9086:176: error: ‘cudaGraph_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-11.0/include/cuda_runtime_api.h:9086:198: error: expression list treated as compound expression in initializer [-fpermissive] 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-11.0/include/cuda_runtime_api.h:9110: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-11.0/include/cuda_runtime_api.h:9110: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-11.0/include/cuda_runtime_api.h:9110:106: error: ‘pGraph’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t pGraph); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9110: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-11.0/include/cuda_runtime_api.h:9147: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-11.0/include/cuda_runtime_api.h:9147: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-11.0/include/cuda_runtime_api.h:9147:90: error: ‘cudaGraph_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-11.0/include/cuda_runtime_api.h:9147:109: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9147:154: error: expected primary-expression before ‘numDependencies’ extern host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9147:169: error: expression list treated as compound expression in initializer [-fpermissive] extern host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9174: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-11.0/include/cuda_runtime_api.h:9174:67: error: ‘pGraphClone’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t pGraphClone, cudaGraph_t originalGraph); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9174: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-11.0/include/cuda_runtime_api.h:9174: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-11.0/include/cuda_runtime_api.h:9202: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-11.0/include/cuda_runtime_api.h:9202: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-11.0/include/cuda_runtime_api.h:9202: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-11.0/include/cuda_runtime_api.h:9202: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-11.0/include/cuda_runtime_api.h:9202: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-11.0/include/cuda_runtime_api.h:9233: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-11.0/include/cuda_runtime_api.h:9233:82: error: expected primary-expression before ‘enum’ extern host cudaError_t CUDARTAPI cudaGraphNodeGetType(cudaGraphNode_t node, enum cudaGraphNodeType pType); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9233: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-11.0/include/cuda_runtime_api.h:9264: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-11.0/include/cuda_runtime_api.h:9264: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-11.0/include/cuda_runtime_api.h:9264: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-11.0/include/cuda_runtime_api.h:9264: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-11.0/include/cuda_runtime_api.h:9264: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-11.0/include/cuda_runtime_api.h:9264: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-11.0/include/cuda_runtime_api.h:9295: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-11.0/include/cuda_runtime_api.h:9295: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-11.0/include/cuda_runtime_api.h:9295: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-11.0/include/cuda_runtime_api.h:9295: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-11.0/include/cuda_runtime_api.h:9295: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-11.0/include/cuda_runtime_api.h:9295: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-11.0/include/cuda_runtime_api.h:9329: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-11.0/include/cuda_runtime_api.h:9329: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-11.0/include/cuda_runtime_api.h:9329: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-11.0/include/cuda_runtime_api.h:9329: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-11.0/include/cuda_runtime_api.h:9329: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-11.0/include/cuda_runtime_api.h:9329: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-11.0/include/cuda_runtime_api.h:9329: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-11.0/include/cuda_runtime_api.h:9329: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-11.0/include/cuda_runtime_api.h:9360: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-11.0/include/cuda_runtime_api.h:9360: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-11.0/include/cuda_runtime_api.h:9360: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-11.0/include/cuda_runtime_api.h:9360: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-11.0/include/cuda_runtime_api.h:9360: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-11.0/include/cuda_runtime_api.h:9360: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-11.0/include/cuda_runtime_api.h:9392: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-11.0/include/cuda_runtime_api.h:9392: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-11.0/include/cuda_runtime_api.h:9392: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-11.0/include/cuda_runtime_api.h:9392: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-11.0/include/cuda_runtime_api.h:9392: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-11.0/include/cuda_runtime_api.h:9392: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-11.0/include/cuda_runtime_api.h:9423: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-11.0/include/cuda_runtime_api.h:9423: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-11.0/include/cuda_runtime_api.h:9423:112: 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-11.0/include/cuda_runtime_api.h:9423:146: error: expected primary-expression before ‘numDependencies’ extern host cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9423:161: error: expression list treated as compound expression in initializer [-fpermissive] extern host cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9454: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-11.0/include/cuda_runtime_api.h:9454: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-11.0/include/cuda_runtime_api.h:9454:115: 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-11.0/include/cuda_runtime_api.h:9454:149: error: expected primary-expression before ‘numDependencies’ extern host cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9454:164: error: expression list treated as compound expression in initializer [-fpermissive] extern host cudaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9480:60: error: ‘cudaGraphNode_t’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphDestroyNode(cudaGraphNode_t node); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9516: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-11.0/include/cuda_runtime_api.h:9516: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-11.0/include/cuda_runtime_api.h:9516: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-11.0/include/cuda_runtime_api.h:9516: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-11.0/include/cuda_runtime_api.h:9516: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-11.0/include/cuda_runtime_api.h:9516: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-11.0/include/cuda_runtime_api.h:9516: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-11.0/include/cuda_runtime_api.h:9516: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-11.0/include/cuda_runtime_api.h:9550: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-11.0/include/cuda_runtime_api.h:9550:100: error: ‘cudaGraphNode_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-11.0/include/cuda_runtime_api.h:9550:122: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9550:168: error: expression list treated as compound expression in initializer [-fpermissive] extern host cudaError_t CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9591: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-11.0/include/cuda_runtime_api.h:9591:100: error: ‘cudaGraphNode_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-11.0/include/cuda_runtime_api.h:9591:122: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemcpy3DParms pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9591:165: error: expression list treated as compound expression in initializer [-fpermissive] extern host cudaError_t CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemcpy3DParms pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9632: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-11.0/include/cuda_runtime_api.h:9632:100: error: ‘cudaGraphNode_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-11.0/include/cuda_runtime_api.h:9632:122: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemsetParams pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9632:164: error: expression list treated as compound expression in initializer [-fpermissive] extern host cudaError_t CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaMemsetParams pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9665: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-11.0/include/cuda_runtime_api.h:9665:98: error: ‘cudaGraphNode_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-11.0/include/cuda_runtime_api.h:9665:120: error: expected primary-expression before ‘const’ extern host cudaError_t CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaHostNodeParams pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9665:164: error: expression list treated as compound expression in initializer [-fpermissive] extern host cudaError_t CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaHostNodeParams pNodeParams); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9740: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-11.0/include/cuda_runtime_api.h:9740: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-11.0/include/cuda_runtime_api.h:9740:107: error: ‘cudaGraphNode_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-11.0/include/cuda_runtime_api.h:9740:124: error: ‘hErrorNode_out’ 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-11.0/include/cuda_runtime_api.h:9740:140: error: expected primary-expression before ‘enum’ extern host cudaError_t CUDARTAPI cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t hErrorNode_out, enum cudaGraphExecUpdateResult updateResult_out); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9740:188: error: expression list treated as compound expression in initializer [-fpermissive] extern host cudaError_t CUDARTAPI cudaGraphExecUpdate(cudaGraphExec_t hGraphExec, cudaGraph_t hGraph, cudaGraphNode_t hErrorNode_out, enum cudaGraphExecUpdateResult updateResult_out); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9765: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-11.0/include/cuda_runtime_api.h:9765:95: error: expected primary-expression before ‘stream’ extern host cudaError_t CUDARTAPI cudaGraphLaunch(cudaGraphExec_t graphExec, cudaStream_t stream); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9765: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-11.0/include/cuda_runtime_api.h:9786:60: error: ‘cudaGraphExec_t’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphExecDestroy(cudaGraphExec_t graphExec); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9806:56: error: ‘cudaGraph_t’ was not declared in this scope extern host__ cudaError_t CUDARTAPI cudaGraphDestroy(cudaGraph_t graph); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9987:49: error: ‘cudaFunction_t’ was not declared in this scope extern host cudaError_t cudaGetFuncBySymbol(cudaFunction_t functionPtr, const void symbolPtr); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9987:65: error: ‘functionPtr’ was not declared in this scope extern host cudaError_t cudaGetFuncBySymbol(cudaFunction_t functionPtr, const void symbolPtr); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9987:78: error: expected primary-expression before ‘const’ extern host cudaError_t cudaGetFuncBySymbol(cudaFunction_t functionPtr, const void symbolPtr); ^ /usr/local/cuda-11.0/include/cuda_runtime_api.h:9987:99: error: expression list treated as compound expression in initializer [-fpermissive] extern host cudaError_t cudaGetFuncBySymbol(cudaFunction_t functionPtr, const void symbolPtr); ^ Makefile:591: recipe for target '.build_release/src/caffe/util/cudnn.o' failed make: *** [.build_release/src/caffe/util/cudnn.o] Error 1