diff --git a/source/adapters/cuda/command_buffer.cpp b/source/adapters/cuda/command_buffer.cpp index f1f7507e21..d9d980073a 100644 --- a/source/adapters/cuda/command_buffer.cpp +++ b/source/adapters/cuda/command_buffer.cpp @@ -240,7 +240,7 @@ static ur_result_t enqueueCommandBufferFillHelper( CommandBuffer->Device->getContext())); // Get sync point and register the cuNode with it. - *SyncPoint = CommandBuffer->AddSyncPoint( + *SyncPoint = CommandBuffer->addSyncPoint( std::make_shared(GraphNodeFirst)); DepsList.clear(); @@ -273,7 +273,7 @@ static ur_result_t enqueueCommandBufferFillHelper( GraphNodePtr = std::make_shared(GraphNode); // Get sync point and register the cuNode with it. - *SyncPoint = CommandBuffer->AddSyncPoint(GraphNodePtr); + *SyncPoint = CommandBuffer->addSyncPoint(GraphNodePtr); DepsList.clear(); DepsList.push_back(*GraphNodePtr.get());