Skip to content

Commit 303e26c

Browse files
Cuda support bugfix
1 parent b0aed59 commit 303e26c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/adapters/cuda/command_buffer.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMPrefetchExp(
538538

539539
std::vector<CUgraphNode> DepsList;
540540
UR_CALL(getNodesFromSyncPoints(hCommandBuffer, numSyncPointsInWaitList,
541-
pSyncPointWaitList, DepsList));
541+
pSyncPointWaitList, DepsList),
542+
Result);
542543

543544
try {
544545
// Add an empty node to preserve dependencies.
@@ -567,7 +568,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
567568

568569
std::vector<CUgraphNode> DepsList;
569570
UR_CALL(getNodesFromSyncPoints(hCommandBuffer, numSyncPointsInWaitList,
570-
pSyncPointWaitList, DepsList));
571+
pSyncPointWaitList, DepsList),
572+
Result);
571573

572574
try {
573575
// Add an empty node to preserve dependencies.

0 commit comments

Comments
 (0)