abhiksark commented on issue #21190:
URL: https://github.com/apache/mxnet/issues/21190#issuecomment-1620323157

   I'm facing the same issue as @kevnzhao 
   
   Using cuda 12 version. 
   
   ```
   /app/mxnet/src/api/../imperative/././cuda_graphs.h: In member function 'void 
mxnet::cuda_graphs::CudaGraphsSubSegExec::Update(const 
std::vector<std::shared_ptr<mxnet::exec::OpExecutor> >&, const 
mxnet::RunContext&, bool, bool)':
   /app/mxnet/src/api/../imperative/././cuda_graphs.h:205:62: error: cannot 
convert 'CUgraphNode_st**' to 'cudaGraphExecUpdateResultInfo*' {aka 
'cudaGraphExecUpdateResultInfo_st*'}
     205 |         cudaGraphExecUpdate(graph_exec_.get(), graph_.get(), 
&error_node, &update_result);
         |                                                              
^~~~~~~~~~~
         |                                                              |
         |                                                              
CUgraphNode_st**
   In file included from /usr/local/cuda/include/channel_descriptor.h:61,
                    from /usr/local/cuda/include/cuda_runtime.h:95,
                    from /usr/local/cuda/include/curand.h:59,
                    from /app/mxnet/include/mshadow/./base.h:195,
                    from /app/mxnet/include/mshadow/tensor.h:34,
                    from /app/mxnet/include/mxnet/./base.h:32,
                    from /app/mxnet/include/mxnet/ndarray.h:39,
                    from /app/mxnet/include/mxnet/runtime/ndarray_handle.h:26,
                    from /app/mxnet/include/mxnet/runtime/packed_func.h:34,
                    from /app/mxnet/include/mxnet/runtime/registry.h:49,
                    from /app/mxnet/include/mxnet/api_registry.h:31,
                    from /app/mxnet/src/api/cached_op_api.cc:24:
   /usr/local/cuda/include/cuda_runtime_api.h:12402:138: note:   initializing 
argument 3 of 'cudaError_t cudaGraphExecUpdate(cudaGraphExec_t, cudaGraph_t, 
cudaGraphExecUpdateResultInfo*)'
   12402 | __host__ cudaError_t CUDARTAPI cudaGraphExecUpdate(cudaGraphExec_t 
hGraphExec, cudaGraph_t hGraph, cudaGraphExecUpdateResultInfo *resultInfo);
         |                                                                      
                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
   
   make[2]: *** [CMakeFiles/mxnet.dir/build.make:76: 
CMakeFiles/mxnet.dir/src/api/cached_op_api.cc.o] Error 1
   make[1]: *** [CMakeFiles/Makefile2:465: CMakeFiles/mxnet.dir/all] Error 2
   make: *** [Makefile:141: all] Error 2
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org
For additional commands, e-mail: issues-h...@mxnet.apache.org

Reply via email to