Errors on compiling darknet_ros
I get the following error that mentions cudagraphNode... i've ensured the installation of cuda and cudNN on the system and verified. error is shown below:
[build] Found 2 packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> darknetrosmsgs
Finished <<< darknetrosmsgs [ 2.3 seconds ]
Starting >>> darknet_ros
Errors << darknetros:make /home/rexrapier/catkinws/logs/darknetros/build.make.002.log
In file included from /usr/local/cuda-10.2/include/channeldescriptor.h:61:0,
from /usr/local/cuda-10.2/include/cudaruntime.h:95,
from /home/rexrapier/catkinws/src/darknetros/darknetros/include/darknetros/YoloObjectDetector.hpp:44,
from /home/rexrapier/catkinws/src/darknetros/darknetros/src/YoloObjectDetector.cpp:10:
/usr/local/cuda-10.2/include/cudaruntimeapi.h:2297:25: error: expected ‘)’ before ‘’ token
typedef void (CUDARTCB *cudaStreamCallbackt)(cudaStreamt stream, cudaErrort status, void *userData);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:2365:9: error: ‘cudaStreamCallbackt’ has not been declared
cudaStreamCallbackt callback, void *userData, unsigned int flags);
^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:2532:88: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration
extern host cudaErrort CUDARTAPI cudaStreamBeginCapture(cudaStreamt stream, enum cudaStreamCaptureMode mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:2583:80: error: use of enum ‘cudaStreamCaptureMode’ without previous declaration
extern host cudaErrort CUDARTAPI cudaThreadExchangeStreamCaptureMode(enum cudaStreamCaptureMode *mode);
^~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:2611:81: error: ‘cudaGrapht’ has not been declared
extern host cudaErrort CUDARTAPI cudaStreamEndCapture(cudaStreamt stream, cudaGrapht *pGraph);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:2649:87: error: use of enum ‘cudaStreamCaptureStatus’ without previous declaration
extern _host__ cudaErrort CUDARTAPI cudaStreamIsCapturing(cudaStreamt stream, enum cudaStreamCaptureStatus *pCaptureStatus);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:2677:90: error: use of enum ‘cudaStreamCaptureStatus’ without previous declaration
extern host cudaErrort CUDARTAPI cudaStreamGetCaptureInfo(cudaStreamt stream, enum cudaStreamCaptureStatus *pCaptureStatus, unsigned long long *pId);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3098:64: error: ‘cudaExternalMemoryt’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaImportExternalMemory(cudaExternalMemoryt *extMemout, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3098:86: error: ‘extMemout’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaImportExternalMemory(cudaExternalMemoryt *extMemout, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3098:98: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaImportExternalMemory(cudaExternalMemoryt *extMemout, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3098:154: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaImportExternalMemory(cudaExternalMemoryt *extMemout, const struct cudaExternalMemoryHandleDesc *memHandleDesc);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3152:88: error: ‘cudaExternalMemoryt’ has not been declared
extern host cudaError_t CUDARTAPI cudaExternalMemoryGetMappedBuffer(void *devPtr, cudaExternalMemoryt extMem, const struct cudaExternalMemoryBufferDesc *bufferDesc);
^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3211:111: error: ‘cudaExternalMemoryt’ has not been declared
extern host cudaErrort CUDARTAPI cudaExternalMemoryGetMappedMipmappedArray(cudaMipmappedArrayt mipmap, cudaExternalMemoryt extMem, const struct cudaExternalMemoryMipmappedArrayDesc *mipmapDesc);
^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3234:65: error: ‘cudaExternalMemoryt’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaDestroyExternalMemory(cudaExternalMemoryt extMem);
^~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3365:67: error: ‘cudaExternalSemaphoret’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphoret *extSemout, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3365:92: error: ‘extSemout’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphoret *extSemout, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3365:104: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphoret *extSemout, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3365:163: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaImportExternalSemaphore(cudaExternalSemaphoret *extSemout, const struct cudaExternalSemaphoreHandleDesc *semHandleDesc);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3430:79: error: ‘cudaExternalSemaphoret’ does not name a type
extern host cudaErrort CUDARTAPI cudaSignalExternalSemaphoresAsync(const cudaExternalSemaphoret *extSemArray, const struct cudaExternalSemaphoreSignalParams *paramsArray, unsigned int numExtSems, cudaStreamt stream _dv(0));
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3504:77: error: ‘cudaExternalSemaphoret’ does not name a type
extern _host__ cudaErrort CUDARTAPI cudaWaitExternalSemaphoresAsync(const cudaExternalSemaphoret *extSemArray, const struct cudaExternalSemaphoreWaitParams *paramsArray, unsigned int numExtSems, cudaStreamt stream _dv(0));
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:3526:68: error: ‘cudaExternalSemaphoret’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaDestroyExternalSemaphore(cudaExternalSemaphoret extSem);
^~~~~~~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:4039:79: error: ‘cudaHostFnt’ has not been declared
extern _host__ cudaErrort CUDARTAPI cudaLaunchHostFunc(cudaStreamt stream, cudaHostFnt fn, void *userData);
^~~~~~~~~~~~
In file included from /usr/local/cuda-10.2/include/channeldescriptor.h:61:0,
from /usr/local/cuda-10.2/include/cudaruntime.h:95,
from /home/rexrapier/catkinws/src/darknetros/darknetros/include/darknetros/YoloObjectDetector.hpp:44,
from /home/rexrapier/catkinws/src/darknetros/darknetros/src/YoloObjectDetector.cpp:10:
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8422:55: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphCreate(cudaGrapht *pGraph, unsigned int flags);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8422:68: error: ‘pGraph’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphCreate(cudaGrapht *pGraph, unsigned int flags);
^~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8422:76: error: expected primary-expression before ‘unsigned’
extern host cudaErrort CUDARTAPI cudaGraphCreate(cudaGrapht *pGraph, unsigned int flags);
^~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8422:94: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphCreate(cudaGrapht *pGraph, unsigned int flags);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8519:62: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddKernelNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8519:79: error: ‘pGraphNode’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddKernelNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8519:91: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphAddKernelNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8519:110: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddKernelNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8519:155: error: expected primary-expression before ‘numDependencies’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddKernelNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8519:172: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddKernelNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8519:218: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphAddKernelNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaKernelNodeParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8552:68: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNodet node, struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8552:90: error: expected primary-expression before ‘struct’
extern host cudaErrort CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNodet node, struct cudaKernelNodeParams *pNodeParams);
^~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8552:130: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphKernelNodeGetParams(cudaGraphNodet node, struct cudaKernelNodeParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8577:68: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNodet node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8577:90: error: expected primary-expression before ‘const’
extern host cudaErrort CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNodet node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8577:136: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphKernelNodeSetParams(cudaGraphNodet node, const struct cudaKernelNodeParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8621:62: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8621:79: error: ‘pGraphNode’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8621:91: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8621:110: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8621:155: error: expected primary-expression before ‘numDependencies’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8621:172: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8621:215: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemcpyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemcpy3DParms *pCopyParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8644:68: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNodet node, struct cudaMemcpy3DParms *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8644:90: error: expected primary-expression before ‘struct’
extern host cudaErrort CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNodet node, struct cudaMemcpy3DParms *pNodeParams);
^~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8644:127: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphMemcpyNodeGetParams(cudaGraphNodet node, struct cudaMemcpy3DParms *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8667:68: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNodet node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8667:90: error: expected primary-expression before ‘const’
extern host cudaErrort CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNodet node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8667:133: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphMemcpyNodeSetParams(cudaGraphNodet node, const struct cudaMemcpy3DParms *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8709:62: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8709:79: error: ‘pGraphNode’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8709:91: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8709:110: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8709:155: error: expected primary-expression before ‘numDependencies’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8709:172: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemsetParams *pMemsetParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8709:216: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphAddMemsetNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaMemsetParams *pMemsetParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8732:68: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNodet node, struct cudaMemsetParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8732:90: error: expected primary-expression before ‘struct’
extern host cudaErrort CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNodet node, struct cudaMemsetParams *pNodeParams);
^~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8732:126: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphMemsetNodeGetParams(cudaGraphNodet node, struct cudaMemsetParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8755:68: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNodet node, const struct cudaMemsetParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8755:90: error: expected primary-expression before ‘const’
extern host cudaErrort CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNodet node, const struct cudaMemsetParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8755:132: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphMemsetNodeSetParams(cudaGraphNodet node, const struct cudaMemsetParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8796:60: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddHostNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8796:77: error: ‘pGraphNode’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddHostNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8796:89: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphAddHostNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8796:108: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddHostNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8796:153: error: expected primary-expression before ‘numDependencies’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddHostNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8796:170: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddHostNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaHostNodeParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8796:214: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphAddHostNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, const struct cudaHostNodeParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8819:66: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNodet node, struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8819:88: error: expected primary-expression before ‘struct’
extern host cudaErrort CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNodet node, struct cudaHostNodeParams *pNodeParams);
^~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8819:126: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphHostNodeGetParams(cudaGraphNodet node, struct cudaHostNodeParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8842:66: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNodet node, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8842:88: error: expected primary-expression before ‘const’
extern host cudaErrort CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNodet node, const struct cudaHostNodeParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8842:132: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphHostNodeSetParams(cudaGraphNodet node, const struct cudaHostNodeParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8880:66: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, cudaGrapht childGraph);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8880:83: error: ‘pGraphNode’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, cudaGrapht childGraph);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8880:95: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, cudaGrapht childGraph);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8880:114: error: expected primary-expression before ‘const’
extern host cudaErrort CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, cudaGrapht childGraph);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8880:159: error: expected primary-expression before ‘numDependencies’
extern host cudaErrort CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, cudaGrapht childGraph);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8880:176: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, cudaGrapht childGraph);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8880:198: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphAddChildGraphNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies, cudaGrapht childGraph);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8904:71: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNodet node, cudaGrapht *pGraph);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8904:93: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNodet node, cudaGrapht *pGraph);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8904:106: error: ‘pGraph’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNodet node, cudaGrapht *pGraph);
^~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8904:112: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphChildGraphNodeGetGraph(cudaGraphNodet node, cudaGrapht *pGraph);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8941:61: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8941:78: error: ‘pGraphNode’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8941:90: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8941:109: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8941:154: error: expected primary-expression before ‘numDependencies’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8941:169: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphAddEmptyNode(cudaGraphNodet *pGraphNode, cudaGrapht graph, const cudaGraphNodet *pDependencies, sizet numDependencies);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8968:54: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphClone(cudaGrapht *pGraphClone, cudaGrapht originalGraph);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8968:67: error: ‘pGraphClone’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphClone(cudaGrapht *pGraphClone, cudaGrapht originalGraph);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8968:80: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphClone(cudaGrapht *pGraphClone, cudaGrapht originalGraph);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8968:105: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphClone(cudaGrapht *pGraphClone, cudaGrapht originalGraph);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8996:64: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNodet *pNode, cudaGraphNodet originalNode, cudaGrapht clonedGraph);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8996:81: error: ‘pNode’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNodet *pNode, cudaGraphNodet originalNode, cudaGrapht clonedGraph);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8996:88: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNodet *pNode, cudaGraphNodet originalNode, cudaGrapht clonedGraph);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8996:118: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNodet *pNode, cudaGraphNodet originalNode, cudaGrapht clonedGraph);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:8996:141: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphNodeFindInClone(cudaGraphNodet *pNode, cudaGraphNodet originalNode, cudaGrapht clonedGraph);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9027:60: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphNodeGetType(cudaGraphNodet node, enum cudaGraphNodeType *pType);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9027:82: error: expected primary-expression before ‘enum’
extern host cudaErrort CUDARTAPI cudaGraphNodeGetType(cudaGraphNodet node, enum cudaGraphNodeType *pType);
^~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9027:111: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphNodeGetType(cudaGraphNodet node, enum cudaGraphNodeType *pType);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9058:57: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphGetNodes(cudaGrapht graph, cudaGraphNodet *nodes, sizet *numNodes);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9058:76: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphGetNodes(cudaGrapht graph, cudaGraphNodet *nodes, sizet *numNodes);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9058:93: error: ‘nodes’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphGetNodes(cudaGrapht graph, cudaGraphNodet *nodes, sizet *numNodes);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9058:107: error: expected primary-expression before ‘’ token
extern host cudaErrort CUDARTAPI cudaGraphGetNodes(cudaGrapht graph, cudaGraphNodet *nodes, sizet numNodes);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9058:108: error: ‘numNodes’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphGetNodes(cudaGrapht graph, cudaGraphNodet *nodes, sizet *numNodes);
^~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9058:116: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphGetNodes(cudaGrapht graph, cudaGraphNodet *nodes, sizet *numNodes);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9089:61: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphGetRootNodes(cudaGrapht graph, cudaGraphNodet *pRootNodes, sizet *pNumRootNodes);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9089:80: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphGetRootNodes(cudaGrapht graph, cudaGraphNodet *pRootNodes, sizet *pNumRootNodes);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9089:97: error: ‘pRootNodes’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphGetRootNodes(cudaGrapht graph, cudaGraphNodet *pRootNodes, sizet *pNumRootNodes);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9089:116: error: expected primary-expression before ‘’ token
extern host cudaErrort CUDARTAPI cudaGraphGetRootNodes(cudaGrapht graph, cudaGraphNodet *pRootNodes, sizet pNumRootNodes);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9089:117: error: ‘pNumRootNodes’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphGetRootNodes(cudaGrapht graph, cudaGraphNodet *pRootNodes, sizet *pNumRootNodes);
^~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9089:130: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphGetRootNodes(cudaGrapht graph, cudaGraphNodet *pRootNodes, sizet *pNumRootNodes);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9123:57: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphGetEdges(cudaGrapht graph, cudaGraphNodet *from, cudaGraphNodet *to, sizet *numEdges);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9123:76: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphGetEdges(cudaGrapht graph, cudaGraphNodet *from, cudaGraphNodet *to, sizet *numEdges);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9123:93: error: ‘from’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphGetEdges(cudaGrapht graph, cudaGraphNodet *from, cudaGraphNodet *to, sizet *numEdges);
^~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9123:99: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphGetEdges(cudaGrapht graph, cudaGraphNodet *from, cudaGraphNodet *to, sizet *numEdges);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9123:116: error: ‘to’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphGetEdges(cudaGrapht graph, cudaGraphNodet *from, cudaGraphNodet *to, sizet *numEdges);
^~
/usr/local/cuda-10.2/include/cudaruntime_api.h:9123:127: error: expected primary-expression before ‘’ token
extern host cudaErrort CUDARTAPI cudaGraphGetEdges(cudaGrapht graph, cudaGraphNodet *from, cudaGraphNodet to, sizet *numEdges);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9123:128: error: ‘numEdges’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphGetEdges(cudaGrapht graph, cudaGraphNodet *from, cudaGraphNodet *to, sizet *numEdges);
^~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9123:136: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphGetEdges(cudaGrapht graph, cudaGraphNodet *from, cudaGraphNodet *to, sizet *numEdges);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9154:68: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNodet node, cudaGraphNodet *pDependencies, sizet *pNumDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9154:90: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNodet node, cudaGraphNodet *pDependencies, sizet *pNumDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9154:107: error: ‘pDependencies’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNodet node, cudaGraphNodet *pDependencies, sizet *pNumDependencies);
^~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9154:129: error: expected primary-expression before ‘’ token
extern host cudaErrort CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNodet node, cudaGraphNodet *pDependencies, sizet pNumDependencies);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9154:130: error: ‘pNumDependencies’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNodet node, cudaGraphNodet *pDependencies, sizet *pNumDependencies);
^~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9154:146: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphNodeGetDependencies(cudaGraphNodet node, cudaGraphNodet *pDependencies, sizet *pNumDependencies);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9186:70: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNodet node, cudaGraphNodet *pDependentNodes, sizet *pNumDependentNodes);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9186:92: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNodet node, cudaGraphNodet *pDependentNodes, sizet *pNumDependentNodes);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9186:109: error: ‘pDependentNodes’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNodet node, cudaGraphNodet *pDependentNodes, sizet *pNumDependentNodes);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9186:133: error: expected primary-expression before ‘’ token
extern host cudaErrort CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNodet node, cudaGraphNodet *pDependentNodes, sizet pNumDependentNodes);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9186:134: error: ‘pNumDependentNodes’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNodet node, cudaGraphNodet *pDependentNodes, sizet *pNumDependentNodes);
^~~~~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9186:152: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphNodeGetDependentNodes(cudaGraphNodet node, cudaGraphNodet *pDependentNodes, sizet *pNumDependentNodes);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9217:64: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphAddDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9217:83: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9217:112: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9217:146: error: expected primary-expression before ‘numDependencies’
extern _host__ cudaErrort CUDARTAPI cudaGraphAddDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9217:161: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphAddDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9248:67: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphRemoveDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9248:86: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphRemoveDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9248:115: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphRemoveDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9248:149: error: expected primary-expression before ‘numDependencies’
extern _host__ cudaErrort CUDARTAPI cudaGraphRemoveDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9248:164: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphRemoveDependencies(cudaGrapht graph, const cudaGraphNodet *from, const cudaGraphNodet *to, sizet numDependencies);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9274:60: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphDestroyNode(cudaGraphNodet node);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9310:60: error: ‘cudaGraphExect’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphInstantiate(cudaGraphExect *pGraphExec, cudaGrapht graph, cudaGraphNodet *pErrorNode, char *pLogBuffer, sizet bufferSize);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9310:77: error: ‘pGraphExec’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphInstantiate(cudaGraphExect *pGraphExec, cudaGrapht graph, cudaGraphNodet *pErrorNode, char *pLogBuffer, sizet bufferSize);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9310:89: error: ‘cudaGrapht’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphInstantiate(cudaGraphExect *pGraphExec, cudaGrapht graph, cudaGraphNodet *pErrorNode, char *pLogBuffer, sizet bufferSize);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9310:108: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphInstantiate(cudaGraphExect *pGraphExec, cudaGrapht graph, cudaGraphNodet *pErrorNode, char *pLogBuffer, sizet bufferSize);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9310:125: error: ‘pErrorNode’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphInstantiate(cudaGraphExect *pGraphExec, cudaGrapht graph, cudaGraphNodet *pErrorNode, char *pLogBuffer, sizet bufferSize);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9310:137: error: expected primary-expression before ‘char’
extern _host__ cudaErrort CUDARTAPI cudaGraphInstantiate(cudaGraphExect *pGraphExec, cudaGrapht graph, cudaGraphNodet *pErrorNode, char *pLogBuffer, sizet bufferSize);
^~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9310:162: error: expected primary-expression before ‘bufferSize’
extern _host__ cudaErrort CUDARTAPI cudaGraphInstantiate(cudaGraphExect *pGraphExec, cudaGrapht graph, cudaGraphNodet *pErrorNode, char *pLogBuffer, sizet bufferSize);
^~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9310:172: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphInstantiate(cudaGraphExect *pGraphExec, cudaGrapht graph, cudaGraphNodet *pErrorNode, char *pLogBuffer, sizet bufferSize);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9344:72: error: ‘cudaGraphExect’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9344:100: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9344:122: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaKernelNodeParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9344:168: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphExecKernelNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaKernelNodeParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9385:72: error: ‘cudaGraphExect’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9385:100: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9385:122: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaMemcpy3DParms *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9385:165: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphExecMemcpyNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaMemcpy3DParms *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9426:72: error: ‘cudaGraphExect’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaMemsetParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9426:100: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaMemsetParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9426:122: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaMemsetParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9426:164: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphExecMemsetNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaMemsetParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9459:70: error: ‘cudaGraphExect’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9459:98: error: ‘cudaGraphNodet’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaHostNodeParams *pNodeParams);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9459:120: error: expected primary-expression before ‘const’
extern _host__ cudaErrort CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaHostNodeParams *pNodeParams);
^~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9459:164: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphExecHostNodeSetParams(cudaGraphExect hGraphExec, cudaGraphNodet node, const struct cudaHostNodeParams *pNodeParams);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9534:59: error: ‘cudaGraphExect’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecUpdate(cudaGraphExect hGraphExec, cudaGrapht hGraph, cudaGraphNodet *hErrorNodeout, enum cudaGraphExecUpdateResult *updateResultout);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9534:87: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphExecUpdate(cudaGraphExect hGraphExec, cudaGrapht hGraph, cudaGraphNodet *hErrorNodeout, enum cudaGraphExecUpdateResult *updateResultout);
^~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9534:107: error: ‘cudaGraphNodet’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphExecUpdate(cudaGraphExect hGraphExec, cudaGrapht hGraph, cudaGraphNodet *hErrorNodeout, enum cudaGraphExecUpdateResult *updateResultout);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9534:124: error: ‘hErrorNodeout’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphExecUpdate(cudaGraphExect hGraphExec, cudaGrapht hGraph, cudaGraphNodet *hErrorNodeout, enum cudaGraphExecUpdateResult *updateResultout);
^~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9534:140: error: expected primary-expression before ‘enum’
extern host cudaErrort CUDARTAPI cudaGraphExecUpdate(cudaGraphExect hGraphExec, cudaGrapht hGraph, cudaGraphNodet *hErrorNodeout, enum cudaGraphExecUpdateResult *updateResultout);
^~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9534:188: error: expression list treated as compound expression in initializer [-fpermissive]
extern host cudaErrort CUDARTAPI cudaGraphExecUpdate(cudaGraphExect hGraphExec, cudaGrapht hGraph, cudaGraphNodet *hErrorNodeout, enum cudaGraphExecUpdateResult *updateResultout);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9559:55: error: ‘cudaGraphExect’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphLaunch(cudaGraphExect graphExec, cudaStreamt stream);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9559:95: error: expected primary-expression before ‘stream’
extern _host__ cudaErrort CUDARTAPI cudaGraphLaunch(cudaGraphExect graphExec, cudaStreamt stream);
^~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9559:101: error: expression list treated as compound expression in initializer [-fpermissive]
extern _host__ cudaErrort CUDARTAPI cudaGraphLaunch(cudaGraphExect graphExec, cudaStreamt stream);
^
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9580:60: error: ‘cudaGraphExect’ was not declared in this scope
extern host cudaErrort CUDARTAPI cudaGraphExecDestroy(cudaGraphExect graphExec);
^~~~~~~~~~~~~~~
/usr/local/cuda-10.2/include/cudaruntimeapi.h:9600:56: error: ‘cudaGrapht’ was not declared in this scope
extern _host__ cudaErrort CUDARTAPI cudaGraphDestroy(cudaGrapht graph);
^~~~~~~~~~~
make[2]: ** [CMakeFiles/darknetroslib.dir/src/YoloObjectDetector.cpp.o] Error 1
make[1]: *** [CMakeFiles/darknetroslib.dir/all] Error 2
make: *** [all] Error 2
cd /home/rexrapier/catkinws/build/darknetros; catkin build --get-env darknet_ros | catkin env -si /usr/bin/make --jobserver-fds=3,4 -j; cd -
....................................................................................................
Failed << darknetros:make [ Exited with code 2 ]
Failed <<< darknetros [ 16.9 seconds ]
[build] Summary: 1 of 2 packages succeeded.
Asked by rexrapier on 2022-08-15 10:49:32 UTC
Comments
The error is coming from CUDA and has been discussed in various places such as following:
Asked by ravijoshi on 2022-08-16 05:08:54 UTC
i tried following the instructions but it doesn't help much.
Asked by rexrapier on 2022-08-16 14:01:19 UTC