leggedrobotics / darknet_ros

YOLO ROS: Real-Time Object Detection for ROS
BSD 3-Clause "New" or "Revised" License
2.14k stars 1.16k forks source link

Error compiling CUDA code #322

Closed devrostech closed 3 years ago

devrostech commented 3 years ago

[ 79%] Building CXX object darknet_ros/darknet_ros/CMakeFiles/darknet_ros_lib.dir/src/YoloObjectDetector.cpp.o In file included from /usr/local/cuda-10.1/include/channel_descriptor.h:61:0, from /usr/local/cuda-10.1/include/cuda_runtime.h:95, from /home/maisumhayati/catkin_ws/src/darknet_ros/darknet_ros/include/darknet_ros/YoloObjectDetector.hpp:44, from /home/maisumhayati/catkin_ws/src/darknet_ros/darknet_ros/src/YoloObjectDetector.cpp:10: /usr/local/cuda-10.1/include/cuda_runtime_api.h:2248:25: error: expected ‘)’ before ‘’ token typedef void (CUDART_CB cudaStreamCallback_t)(cudaStream_t stream, cudaError_t status, void userData); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:2316:9: error: ‘cudaStreamCallback_t’ has not been declared cudaStreamCallback_t callback, void userData, unsigned int flags); ^~~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:2483:88: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration aError_t CUDARTAPI cudaStreamBeginCapture(cudaStream_t stream, enum cudaStreamCaptureMode mode); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:2534:80: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration st cudaError_t CUDARTAPI cudaThreadExchangeStreamCaptureMode(enum cudaStreamCaptureMode *mode); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:2562:81: error: ‘cudaGraph_t’ has not been declared t cudaError_t CUDARTAPI cudaStreamEndCapture(cudaStream_t stream, cudaGraph_t pGraph); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:2600:87: error: use of enum ‘cudaStreamCaptureStatus’ without previous declaration daError_t CUDARTAPI cudaStreamIsCapturing(cudaStream_t stream, enum cudaStreamCaptureStatus pCaptureStatus); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:2628:90: error: use of enum ‘cudaStreamCaptureStatus’ without previous declaration rror_t CUDARTAPI cudaStreamGetCaptureInfo(cudaStream_t stream, enum cudaStreamCaptureStatus pCaptureStatus, unsigned long long pId); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3012: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-10.1/include/cuda_runtime_api.h:3012:64: note: suggested alternative: ‘cudaImportExternalMemory’ extern host cudaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t extMem_out, const struct cudaExternalMemoryHandleDesc memHandleDesc); ^~~~~~~~ cudaImportExternalMemory /usr/local/cuda-10.1/include/cuda_runtime_api.h:3012:86: error: ‘extMem_out’ was not declared in this scope udaError_t CUDARTAPI cudaImportExternalMemory(cudaExternalMemory_t extMem_out, const struct cudaExternalMemoryHandleDesc memHandleDesc); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3012:98: error: expected primary-expression before ‘const’ UDARTAPI cudaImportExternalMemory(cudaExternalMemory_t extMem_out, const struct cudaExternalMemoryHandleDesc memHandleDesc); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3012:154: error: expression list treated as compound expression in initializer [-fpermissive] emory_t extMem_out, const struct cudaExternalMemoryHandleDesc memHandleDesc); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3066:88: error: ‘cudaExternalMemory_t’ has not been declared aError_t CUDARTAPI cudaExternalMemoryGetMappedBuffer(void *devPtr, cudaExternalMemory_t extMem, const struct cudaExternalMemoryBufferDesc bufferDesc); ^~~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3121:111: error: ‘cudaExternalMemory_t’ has not been declared ExternalMemoryGetMappedMipmappedArray(cudaMipmappedArray_t mipmap, cudaExternalMemory_t extMem, const struct cudaExternalMemoryMipmappedArrayDesc mipmapDesc); ^~~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3144:65: error: ‘cudaExternalMemory_t’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaDestroyExternalMemory(cudaExternalMemory_t extMem); ^~~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3144:65: note: suggested alternative: ‘cudaImportExternalMemory’ extern host cudaError_t CUDARTAPI cudaDestroyExternalMemory(cudaExternalMemory_t extMem); ^~~~~~~~ cudaImportExternalMemory /usr/local/cuda-10.1/include/cuda_runtime_api.h:3238: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-10.1/include/cuda_runtime_api.h:3238:67: note: suggested alternative: ‘cudaImportExternalSemaphore’ extern host cudaError_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t extSem_out, const struct cudaExternalSemaphoreHandleDesc semHandleDesc); ^~~~~~~ cudaImportExternalSemaphore /usr/local/cuda-10.1/include/cuda_runtime_api.h:3238:92: error: ‘extSem_out’ was not declared in this scope or_t CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphore_t extSem_out, const struct cudaExternalSemaphoreHandleDesc semHandleDesc); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3238:104: error: expected primary-expression before ‘const’ PI cudaImportExternalSemaphore(cudaExternalSemaphore_t extSem_out, const struct cudaExternalSemaphoreHandleDesc semHandleDesc); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3238:163: error: expression list treated as compound expression in initializer [-fpermissive] re_t extSem_out, const struct cudaExternalSemaphoreHandleDesc semHandleDesc); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3277:79: error: ‘cudaExternalSemaphore_t’ does not name a type; did you mean ‘cudaImportExternalSemaphore’? ost cudaError_t CUDARTAPI cudaSignalExternalSemaphoresAsync(const cudaExternalSemaphore_t extSemArray, const struct cudaExternalSemaphoreSignalParams paramsArray, unsigned int numExtSems, cudaStream_t stream dv(0)); ^~~~~~~ cudaImportExternalSemaphore /usr/local/cuda-10.1/include/cuda_runtime_api.h:3320:77: error: ‘cudaExternalSemaphore_t’ does not name a type; did you mean ‘cudaImportExternalSemaphore’? _host cudaError_t CUDARTAPI cudaWaitExternalSemaphoresAsync(const cudaExternalSemaphore_t extSemArray, const struct cudaExternalSemaphoreWaitParams paramsArray, unsigned int numExtSems, cudaStream_t stream dv(0)); ^~~~~~~ cudaImportExternalSemaphore /usr/local/cuda-10.1/include/cuda_runtime_api.h:3342:68: error: ‘cudaExternalSemaphore_t’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaDestroyExternalSemaphore(cudaExternalSemaphore_t extSem); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:3342:68: note: suggested alternative: ‘cudaImportExternalSemaphore’ extern host cudaError_t CUDARTAPI cudaDestroyExternalSemaphore(cudaExternalSemaphore_t extSem); ^~~~~~~ cudaImportExternalSemaphore /usr/local/cuda-10.1/include/cuda_runtime_api.h:3855:79: error: ‘cudaHostFn_t’ has not been declared ost cudaError_t CUDARTAPI cudaLaunchHostFunc(cudaStream_t stream, cudaHostFn_t fn, void userData); ^~~~ In file included from /usr/local/cuda-10.1/include/channel_descriptor.h:61:0, from /usr/local/cuda-10.1/include/cuda_runtime.h:95, from /home/maisumhayati/catkin_ws/src/darknet_ros/darknet_ros/include/darknet_ros/YoloObjectDetector.hpp:44, from /home/maisumhayati/catkin_ws/src/darknet_ros/darknet_ros/src/YoloObjectDetector.cpp:10: /usr/local/cuda-10.1/include/cuda_runtime_api.h:8238: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-10.1/include/cuda_runtime_api.h:8238:55: note: suggested alternative: ‘cudaError_t’ extern host cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t pGraph, unsigned int flags); ^~~ cudaError_t /usr/local/cuda-10.1/include/cuda_runtime_api.h:8238:68: error: ‘pGraph’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t pGraph, unsigned int flags); ^~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8238:68: note: suggested alternative: ‘CvGraph’ extern host cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t pGraph, unsigned int flags); ^~ CvGraph /usr/local/cuda-10.1/include/cuda_runtime_api.h:8238:76: error: expected primary-expression before ‘unsigned’ host cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t pGraph, unsigned int flags); ^~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8238:94: error: expression list treated as compound expression in initializer [-fpermissive] cudaError_t CUDARTAPI cudaGraphCreate(cudaGraph_t *pGraph, unsigned int flags); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8335: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-10.1/include/cuda_runtime_api.h:8335: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-10.1/include/cuda_runtime_api.h:8335:79: error: ‘pGraphNode’ was not declared in this scope ost cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaKernelNodeParams pNodeParams); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8335:79: note: suggested alternative: ‘CvGraphEdge’ ost__ cudaError_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaKernelNodeParams pNodeParams); ^~~~~~ CvGraphEdge /usr/local/cuda-10.1/include/cuda_runtime_api.h:8335:91: error: ‘cudaGraph_t’ was not declared in this scope ror_t CUDARTAPI cudaGraphAddKernelNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaKernelNodeParams pNodeParams); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8335:91: note: suggested alternative: ‘cudaError_t’ ror_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-10.1/include/cuda_runtime_api.h:8335:110: error: expected primary-expression before ‘const’ aGraphAddKernelNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaKernelNodeParams pNodeParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8335:155: error: expected primary-expression before ‘numDependencies’ de, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaKernelNodeParams pNodeParams); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8335:172: error: expected primary-expression before ‘const’ raph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaKernelNodeParams pNodeParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8335:218: error: expression list treated as compound expression in initializer [-fpermissive] ncies, size_t numDependencies, const struct cudaKernelNodeParams pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8368: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-10.1/include/cuda_runtime_api.h:8368:68: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams pNodeParams); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:8368:90: error: expected primary-expression before ‘struct’ rror_t CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams pNodeParams); ^~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8368:130: error: expression list treated as compound expression in initializer [-fpermissive] lNodeGetParams(cudaGraphNode_t node, struct cudaKernelNodeParams pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8393: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-10.1/include/cuda_runtime_api.h:8393:68: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:8393:90: error: expected primary-expression before ‘const’ rror_t CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8393:136: error: expression list treated as compound expression in initializer [-fpermissive] etParams(cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8437: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-10.1/include/cuda_runtime_api.h:8437: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-10.1/include/cuda_runtime_api.h:8437:79: error: ‘pGraphNode’ was not declared in this scope ost cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms pCopyParams); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8437:79: note: suggested alternative: ‘CvGraphEdge’ ost__ cudaError_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms pCopyParams); ^~~~~~ CvGraphEdge /usr/local/cuda-10.1/include/cuda_runtime_api.h:8437:91: error: ‘cudaGraph_t’ was not declared in this scope ror_t CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms pCopyParams); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8437:91: note: suggested alternative: ‘cudaError_t’ ror_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-10.1/include/cuda_runtime_api.h:8437:110: error: expected primary-expression before ‘const’ aGraphAddMemcpyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms pCopyParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8437:155: error: expected primary-expression before ‘numDependencies’ de, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms pCopyParams); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8437:172: error: expected primary-expression before ‘const’ raph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemcpy3DParms pCopyParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8437:215: error: expression list treated as compound expression in initializer [-fpermissive] ndencies, size_t numDependencies, const struct cudaMemcpy3DParms pCopyParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8460: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-10.1/include/cuda_runtime_api.h:8460:68: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms pNodeParams); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:8460:90: error: expected primary-expression before ‘struct’ rror_t CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms pNodeParams); ^~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8460:127: error: expression list treated as compound expression in initializer [-fpermissive] mcpyNodeGetParams(cudaGraphNode_t node, struct cudaMemcpy3DParms *pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8483: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-10.1/include/cuda_runtime_api.h:8483:68: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms pNodeParams); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:8483:90: error: expected primary-expression before ‘const’ rror_t CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms pNodeParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8483:133: error: expression list treated as compound expression in initializer [-fpermissive] deSetParams(cudaGraphNode_t node, const struct cudaMemcpy3DParms *pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8525: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-10.1/include/cuda_runtime_api.h:8525: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-10.1/include/cuda_runtime_api.h:8525:79: error: ‘pGraphNode’ was not declared in this scope ost cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemsetParams pMemsetParams); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8525:79: note: suggested alternative: ‘CvGraphEdge’ ost__ cudaError_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemsetParams pMemsetParams); ^~~~~~ CvGraphEdge /usr/local/cuda-10.1/include/cuda_runtime_api.h:8525:91: error: ‘cudaGraph_t’ was not declared in this scope ror_t CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemsetParams pMemsetParams); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8525:91: note: suggested alternative: ‘cudaError_t’ ror_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-10.1/include/cuda_runtime_api.h:8525:110: error: expected primary-expression before ‘const’ aGraphAddMemsetNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemsetParams pMemsetParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8525:155: error: expected primary-expression before ‘numDependencies’ de, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemsetParams pMemsetParams); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8525:172: error: expected primary-expression before ‘const’ raph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaMemsetParams pMemsetParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8525:216: error: expression list treated as compound expression in initializer [-fpermissive] dencies, size_t numDependencies, const struct cudaMemsetParams pMemsetParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8548: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-10.1/include/cuda_runtime_api.h:8548:68: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams pNodeParams); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:8548:90: error: expected primary-expression before ‘struct’ rror_t CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams pNodeParams); ^~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8548:126: error: expression list treated as compound expression in initializer [-fpermissive] emsetNodeGetParams(cudaGraphNode_t node, struct cudaMemsetParams pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8571: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-10.1/include/cuda_runtime_api.h:8571:68: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams pNodeParams); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:8571:90: error: expected primary-expression before ‘const’ rror_t CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams pNodeParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8571:132: error: expression list treated as compound expression in initializer [-fpermissive] odeSetParams(cudaGraphNode_t node, const struct cudaMemsetParams pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8612: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-10.1/include/cuda_runtime_api.h:8612: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-10.1/include/cuda_runtime_api.h:8612:77: error: ‘pGraphNode’ was not declared in this scope _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-10.1/include/cuda_runtime_api.h:8612:77: note: suggested alternative: ‘CvGraphEdge’ _host cudaError_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaHostNodeParams pNodeParams); ^~~~~~ CvGraphEdge /usr/local/cuda-10.1/include/cuda_runtime_api.h:8612:89: error: ‘cudaGraph_t’ was not declared in this scope Error_t CUDARTAPI cudaGraphAddHostNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaHostNodeParams pNodeParams); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8612:89: note: suggested alternative: ‘cudaError_t’ Error_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-10.1/include/cuda_runtime_api.h:8612:108: error: expected primary-expression before ‘const’ udaGraphAddHostNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaHostNodeParams pNodeParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8612:153: error: expected primary-expression before ‘numDependencies’ de, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaHostNodeParams pNodeParams); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8612:170: error: expected primary-expression before ‘const’ raph, const cudaGraphNode_t pDependencies, size_t numDependencies, const struct cudaHostNodeParams pNodeParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8612:214: error: expression list treated as compound expression in initializer [-fpermissive] dencies, size_t numDependencies, const struct cudaHostNodeParams pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8635: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-10.1/include/cuda_runtime_api.h:8635:66: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams pNodeParams); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:8635:88: error: expected primary-expression before ‘struct’ aError_t CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams pNodeParams); ^~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8635:126: error: expression list treated as compound expression in initializer [-fpermissive] ostNodeGetParams(cudaGraphNode_t node, struct cudaHostNodeParams pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8658: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-10.1/include/cuda_runtime_api.h:8658:66: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams pNodeParams); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:8658:88: error: expected primary-expression before ‘const’ aError_t CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams pNodeParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8658:132: error: expression list treated as compound expression in initializer [-fpermissive] eSetParams(cudaGraphNode_t node, const struct cudaHostNodeParams pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8696: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-10.1/include/cuda_runtime_api.h:8696: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-10.1/include/cuda_runtimeapi.h:8696:83: error: ‘pGraphNode’ was not declared in this scope cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, cudaGraph_t childGraph); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtimeapi.h:8696:83: note: suggested alternative: ‘CvGraphEdge’ cudaError_t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, cudaGraph_t childGraph); ^~~~~~ CvGraphEdge /usr/local/cuda-10.1/include/cuda_runtime_api.h:8696:95: error: ‘cudaGraph_t’ was not declared in this scope t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, cudaGraph_t childGraph); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8696:95: note: suggested alternative: ‘cudaError_t’ t CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, cudaGraph_t childGraph); ^~~ cudaError_t /usr/local/cuda-10.1/include/cuda_runtime_api.h:8696:114: error: expected primary-expression before ‘const’ phAddChildGraphNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, cudaGraph_t childGraph); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8696:159: error: expected primary-expression before ‘numDependencies’ de, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies, cudaGraph_t childGraph); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8696:176: error: ‘cudaGraph_t’ was not declared in this scope raph, const cudaGraphNode_t pDependencies, size_t numDependencies, cudaGraph_t childGraph); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8696:176: note: suggested alternative: ‘cudaError_t’ raph, const cudaGraphNode_t pDependencies, size_t numDependencies, cudaGraph_t childGraph); ^~~ cudaError_t /usr/local/cuda-10.1/include/cuda_runtime_api.h:8696:198: error: expression list treated as compound expression in initializer [-fpermissive] udaGraphNode_t pDependencies, size_t numDependencies, cudaGraph_t childGraph); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8720:71: error: ‘cudaGraphNode_t’ was not declared in this scope tern host cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t pGraph); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8720:71: note: suggested alternative: ‘cudaGraphCreate’ tern host cudaError_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t pGraph); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:8720:93: error: ‘cudaGraph_t’ was not declared in this scope r_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t pGraph); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8720:93: note: suggested alternative: ‘cudaError_t’ r_t CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t pGraph); ^~~ cudaError_t /usr/local/cuda-10.1/include/cuda_runtime_api.h:8720:106: error: ‘pGraph’ was not declared in this scope API cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t pGraph); ^~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8720:106: note: suggested alternative: ‘CvGraph’ API cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t pGraph); ^~ CvGraph /usr/local/cuda-10.1/include/cuda_runtime_api.h:8720:112: error: expression list treated as compound expression in initializer [-fpermissive] API cudaGraphChildGraphNodeGetGraph(cudaGraphNode_t node, cudaGraph_t pGraph); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8757: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-10.1/include/cuda_runtime_api.h:8757: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-10.1/include/cuda_runtime_api.h:8757:78: error: ‘pGraphNode’ was not declared in this scope host cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8757:78: note: suggested alternative: ‘CvGraphEdge’ host__ cudaError_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^~~~~~ CvGraphEdge /usr/local/cuda-10.1/include/cuda_runtime_api.h:8757:90: error: ‘cudaGraph_t’ was not declared in this scope rror_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8757:90: note: suggested alternative: ‘cudaError_t’ rror_t CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^~~ cudaError_t /usr/local/cuda-10.1/include/cuda_runtime_api.h:8757:109: error: expected primary-expression before ‘const’ daGraphAddEmptyNode(cudaGraphNode_t pGraphNode, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8757:154: error: expected primary-expression before ‘numDependencies’ de, cudaGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8757:169: error: expression list treated as compound expression in initializer [-fpermissive] daGraph_t graph, const cudaGraphNode_t pDependencies, size_t numDependencies); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8784: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-10.1/include/cuda_runtime_api.h:8784:54: note: suggested alternative: ‘cudaError_t’ extern host cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph); ^~~ cudaError_t /usr/local/cuda-10.1/include/cuda_runtime_api.h:8784:67: error: ‘pGraphClone’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t pGraphClone, cudaGraph_t originalGraph); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8784:67: note: suggested alternative: ‘cudaGraphClone’ extern host cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t pGraphClone, cudaGraph_t originalGraph); ^~~ cudaGraphClone /usr/local/cuda-10.1/include/cuda_runtime_api.h:8784:80: error: ‘cudaGraph_t’ was not declared in this scope st cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t *pGraphClone, cudaGraph_t originalGraph); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8784:80: note: suggested alternative: ‘cudaError_t’ st cudaError_t CUDARTAPI cudaGraphClone(cudaGraph_t pGraphClone, cudaGraph_t originalGraph); ^~~ cudaError_t /usr/local/cuda-10.1/include/cuda_runtime_api.h:8784:105: error: expression list treated as compound expression in initializer [-fpermissive] CUDARTAPI cudaGraphClone(cudaGraph_t pGraphClone, cudaGraph_t originalGraph); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8812: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-10.1/include/cuda_runtime_api.h:8812:64: note: suggested alternative: ‘cudaGraphClone’ extern host cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t *pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph); ^~~~~~~ cudaGraphClone /usr/local/cuda-10.1/include/cuda_runtime_api.h:8812:81: error: ‘pNode’ was not declared in this scope t cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8812:81: note: suggested alternative: ‘None’ t__ cudaError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph); ^~~~~ None /usr/local/cuda-10.1/include/cuda_runtime_api.h:8812:88: error: ‘cudaGraphNode_t’ was not declared in this scope aError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8812:88: note: suggested alternative: ‘cudaGraphClone’ aError_t CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNode_t pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph); ^~~~~~~ cudaGraphClone /usr/local/cuda-10.1/include/cuda_runtime_api.h:8812:118: error: ‘cudaGraph_t’ was not declared in this scope deFindInClone(cudaGraphNode_t pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8812:118: note: suggested alternative: ‘cudaError_t’ deFindInClone(cudaGraphNode_t pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph); ^~~ cudaError_t /usr/local/cuda-10.1/include/cuda_runtime_api.h:8812:141: error: expression list treated as compound expression in initializer [-fpermissive] cudaGraphNode_t pNode, cudaGraphNode_t originalNode, cudaGraph_t clonedGraph); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8843: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-10.1/include/cuda_runtime_api.h:8843:60: note: suggested alternative: ‘cudaGraphClone’ extern host cudaError_t CUDARTAPI cudaGraphNodeGetType(cudaGraphNode_t node, enum cudaGraphNodeType pType); ^~~~~~~ cudaGraphClone /usr/local/cuda-10.1/include/cuda_runtime_api.h:8843:82: error: expected primary-expression before ‘enum’ __ cudaError_t CUDARTAPI cudaGraphNodeGetType(cudaGraphNode_t node, enum cudaGraphNodeType pType); ^~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8843:111: error: expression list treated as compound expression in initializer [-fpermissive] TAPI cudaGraphNodeGetType(cudaGraphNode_t node, enum cudaGraphNodeType pType); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8874: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-10.1/include/cuda_runtime_api.h:8874: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-10.1/include/cuda_runtime_api.h:8874:76: error: ‘cudaGraphNode_t’ was not declared in this scope host cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t nodes, size_t numNodes); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8874:76: note: suggested alternative: ‘cudaGraphGetNodes’ host cudaError_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t nodes, size_t numNodes); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:8874:93: error: ‘nodes’ was not declared in this scope r_t CUDARTAPI cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t nodes, size_t numNodes); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8874:107: error: expected primary-expression before ‘’ token cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t nodes, size_t numNodes); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8874:108: error: ‘numNodes’ was not declared in this scope cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t nodes, size_t numNodes); ^~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8874:116: error: expression list treated as compound expression in initializer [-fpermissive] cudaGraphGetNodes(cudaGraph_t graph, cudaGraphNode_t nodes, size_t numNodes); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8905: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-10.1/include/cuda_runtime_api.h:8905: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-10.1/include/cuda_runtime_api.h:8905:80: error: ‘cudaGraphNode_t’ was not declared in this scope st cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t pRootNodes, size_t pNumRootNodes); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8905:80: note: suggested alternative: ‘cudaGraphGetNodes’ st cudaError_t CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t pRootNodes, size_t pNumRootNodes); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:8905:97: error: ‘pRootNodes’ was not declared in this scope CUDARTAPI cudaGraphGetRootNodes(cudaGraph_t graph, cudaGraphNode_t pRootNodes, size_t pNumRootNodes); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8905:116: error: expected primary-expression before ‘’ token GetRootNodes(cudaGraph_t graph, cudaGraphNode_t pRootNodes, size_t pNumRootNodes); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8905:117: error: ‘pNumRootNodes’ was not declared in this scope etRootNodes(cudaGraph_t graph, cudaGraphNode_t pRootNodes, size_t pNumRootNodes); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8905:130: error: expression list treated as compound expression in initializer [-fpermissive] otNodes(cudaGraph_t graph, cudaGraphNode_t pRootNodes, size_t pNumRootNodes); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939: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-10.1/include/cuda_runtime_api.h:8939: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-10.1/include/cuda_runtime_api.h:8939:76: error: ‘cudaGraphNode_t’ 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-10.1/include/cuda_runtime_api.h:8939:76: note: suggested alternative: ‘cudaGraphGetNodes’ host cudaError_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939:93: error: ‘from’ was not declared in this scope r_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939:93: note: suggested alternative: ‘feof’ r_t CUDARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^~~~ feof /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939:99: error: ‘cudaGraphNode_t’ was not declared in this scope DARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939:99: note: suggested alternative: ‘cudaGraphGetNodes’ DARTAPI cudaGraphGetEdges(cudaGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939:116: error: ‘to’ was not declared in this scope GetEdges(cudaGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939:116: note: suggested alternative: ‘tm’ GetEdges(cudaGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^~ tm /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939:127: error: expected primary-expression before ‘’ token daGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939:128: error: ‘numEdges’ was not declared in this scope daGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8939:136: error: expression list treated as compound expression in initializer [-fpermissive] daGraph_t graph, cudaGraphNode_t from, cudaGraphNode_t to, size_t numEdges); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8970: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-10.1/include/cuda_runtime_api.h:8970:68: note: suggested alternative: ‘cudaGraphGetNodes’ extern host cudaError_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t pDependencies, size_t pNumDependencies); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:8970:90: error: ‘cudaGraphNode_t’ was not declared in this scope rror_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t pDependencies, size_t pNumDependencies); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8970:90: note: suggested alternative: ‘cudaGraphGetNodes’ rror_t CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t pDependencies, size_t pNumDependencies); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:8970:107: error: ‘pDependencies’ was not declared in this scope cudaGraphNodeGetDependencies(cudaGraphNode_t node, cudaGraphNode_t pDependencies, size_t pNumDependencies); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8970:129: error: expected primary-expression before ‘’ token encies(cudaGraphNode_t node, cudaGraphNode_t pDependencies, size_t pNumDependencies); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8970:130: error: ‘pNumDependencies’ was not declared in this scope ncies(cudaGraphNode_t node, cudaGraphNode_t pDependencies, size_t pNumDependencies); ^~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:8970:146: error: expression list treated as compound expression in initializer [-fpermissive] udaGraphNode_t node, cudaGraphNode_t pDependencies, size_t pNumDependencies); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9002:70: error: ‘cudaGraphNode_t’ was not declared in this scope xtern host cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t pDependentNodes, size_t pNumDependentNodes); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9002:70: note: suggested alternative: ‘cudaGraphGetNodes’ xtern host cudaError_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t pDependentNodes, size_t pNumDependentNodes); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:9002:92: error: ‘cudaGraphNode_t’ was not declared in this scope or_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t pDependentNodes, size_t pNumDependentNodes); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9002:92: note: suggested alternative: ‘cudaGraphGetNodes’ or_t CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t pDependentNodes, size_t pNumDependentNodes); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:9002:109: error: ‘pDependentNodes’ was not declared in this scope daGraphNodeGetDependentNodes(cudaGraphNode_t node, cudaGraphNode_t pDependentNodes, size_t pNumDependentNodes); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9002:133: error: expected primary-expression before ‘’ token odes(cudaGraphNode_t node, cudaGraphNode_t pDependentNodes, size_t pNumDependentNodes); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9002:134: error: ‘pNumDependentNodes’ was not declared in this scope des(cudaGraphNode_t node, cudaGraphNode_t pDependentNodes, size_t pNumDependentNodes); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9002:152: error: expression list treated as compound expression in initializer [-fpermissive] raphNode_t node, cudaGraphNode_t pDependentNodes, size_t pNumDependentNodes); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9033: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-10.1/include/cuda_runtime_api.h:9033: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-10.1/include/cuda_runtimeapi.h:9033:83: error: expected primary-expression before ‘const’ cudaError_t CUDARTAPI cudaGraphAddDependencies(cudaGraph_t graph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9033:112: error: expected primary-expression before ‘const’ raphAddDependencies(cudaGraph_t graph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9033:146: error: expected primary-expression before ‘numDependencies’ aph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9033:161: error: expression list treated as compound expression in initializer [-fpermissive] onst cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9064: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-10.1/include/cuda_runtime_api.h:9064: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-10.1/include/cuda_runtime_api.h:9064:86: error: expected primary-expression before ‘const’ udaError_t CUDARTAPI cudaGraphRemoveDependencies(cudaGraph_t graph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9064:115: error: expected primary-expression before ‘const’ hRemoveDependencies(cudaGraph_t graph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9064:149: error: expected primary-expression before ‘numDependencies’ aph, const cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9064:164: error: expression list treated as compound expression in initializer [-fpermissive] onst cudaGraphNode_t from, const cudaGraphNode_t to, size_t numDependencies); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9090:60: error: ‘cudaGraphNode_t’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphDestroyNode(cudaGraphNode_t node); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9090:60: note: suggested alternative: ‘cudaGraphGetNodes’ extern host cudaError_t CUDARTAPI cudaGraphDestroyNode(cudaGraphNode_t node); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126: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-10.1/include/cuda_runtime_api.h:9126: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-10.1/include/cuda_runtime_api.h:9126:77: error: ‘pGraphExec’ was not declared in this scope _host__ cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t pGraphExec, cudaGraph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:77: note: suggested alternative: ‘CvGraphEdge’ _host cudaError_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t pGraphExec, cudaGraph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~~~~ CvGraphEdge /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:89: error: ‘cudaGraph_t’ was not declared in this scope Error_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t pGraphExec, cudaGraph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:89: note: suggested alternative: ‘cudaError_t’ Error_t CUDARTAPI cudaGraphInstantiate(cudaGraphExec_t pGraphExec, cudaGraph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~ cudaError_t /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:108: error: ‘cudaGraphNode_t’ was not declared in this scope udaGraphInstantiate(cudaGraphExec_t pGraphExec, cudaGraph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:108: note: suggested alternative: ‘cudaGraphGetNodes’ udaGraphInstantiate(cudaGraphExec_t pGraphExec, cudaGraph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:125: error: ‘pErrorNode’ was not declared in this scope te(cudaGraphExec_t pGraphExec, cudaGraph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:125: note: suggested alternative: ‘perror’ te(cudaGraphExec_t pGraphExec, cudaGraph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~~~~ perror /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:137: error: expected primary-expression before ‘char’ Exec_t pGraphExec, cudaGraph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:162: error: expected primary-expression before ‘bufferSize’ raph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9126:172: error: expression list treated as compound expression in initializer [-fpermissive] aph_t graph, cudaGraphNode_t pErrorNode, char pLogBuffer, size_t bufferSize); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9160:72: error: ‘cudaGraphExec_t’ was not declared in this scope ern host cudaError_t CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9160:72: note: suggested alternative: ‘cudaGraphCreate’ ern host cudaError_t CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:9160:100: error: ‘cudaGraphNode_t’ was not declared in this scope ARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9160:100: note: suggested alternative: ‘cudaGraphGetNodes’ ARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^~~~~~~ cudaGraphGetNodes /usr/local/cuda-10.1/include/cuda_runtime_api.h:9160:122: error: expected primary-expression before ‘const’ rnelNodeSetParams(cudaGraphExec_t hGraphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9160:168: error: expression list treated as compound expression in initializer [-fpermissive] aphExec, cudaGraphNode_t node, const struct cudaKernelNodeParams pNodeParams); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9185: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-10.1/include/cuda_runtime_api.h:9185:55: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphLaunch(cudaGraphExec_t graphExec, cudaStream_t stream); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:9185:95: error: expected primary-expression before ‘stream’ or_t CUDARTAPI cudaGraphLaunch(cudaGraphExec_t graphExec, cudaStream_t stream); ^~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9185:101: error: expression list treated as compound expression in initializer [-fpermissive] or_t CUDARTAPI cudaGraphLaunch(cudaGraphExec_t graphExec, cudaStream_t stream); ^ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9206:60: error: ‘cudaGraphExec_t’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphExecDestroy(cudaGraphExec_t graphExec); ^~~~~~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9206:60: note: suggested alternative: ‘cudaGraphCreate’ extern host cudaError_t CUDARTAPI cudaGraphExecDestroy(cudaGraphExec_t graphExec); ^~~~~~~ cudaGraphCreate /usr/local/cuda-10.1/include/cuda_runtime_api.h:9226:56: error: ‘cudaGraph_t’ was not declared in this scope extern host cudaError_t CUDARTAPI cudaGraphDestroy(cudaGraph_t graph); ^~~ /usr/local/cuda-10.1/include/cuda_runtime_api.h:9226:56: note: suggested alternative: ‘cudaError_t’ extern host__ cudaError_t CUDARTAPI cudaGraphDestroy(cudaGraph_t graph); ^~~ cudaError_t darknet_ros/darknet_ros/CMakeFiles/darknet_ros_lib.dir/build.make:1986: recipe for target 'darknet_ros/darknet_ros/CMakeFiles/darknet_ros_lib.dir/src/YoloObjectDetector.cpp.o' failed make[2]: [darknet_ros/darknet_ros/CMakeFiles/darknet_ros_lib.dir/src/YoloObjectDetector.cpp.o] Error 1 CMakeFiles/Makefile2:8541: recipe for target 'darknet_ros/darknet_ros/CMakeFiles/darknet_ros_lib.dir/all' failed make[1]: [darknet_ros/darknet_ros/CMakeFiles/darknet_ros_lib.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: * [all] Error 2 Invoking "make -j12 -l12" failed**

Please help me building this repository, I want to run the algorithm through GPU acceleration. I am able to perform the make command in the darknet folder (catkin_ws/src/darknet_ros/darknet) but I cannot build the entire workspace

tomlankhorst commented 3 years ago

What's your OS?

devrostech commented 3 years ago

Ubuntu 18.04 with ROS melodic

tomlankhorst commented 3 years ago

Did you install multiple CUDA versions? Can you update to 10.2?

devrostech commented 3 years ago

I have resolved the error with cuda 11.3 and cudnn 8.x

tomlankhorst commented 3 years ago

Thanks for letting us know.