Skip to content

Commit

Permalink
Revert CUDA change
Browse files Browse the repository at this point in the history
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
  • Loading branch information
steffenlarsen committed Feb 29, 2024
1 parent 578f347 commit b7b0a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/adapters/cuda/enqueue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueTimestampRecordingExp(
ur_result_t Result = UR_RESULT_SUCCESS;
std::unique_ptr<ur_event_handle_t_> RetImplEvent{nullptr};
try {
ScopedContext Active(hQueue->getDevice());
ScopedContext Active(hQueue->getContext());
CUstream CuStream = hQueue->getNextComputeStream();

UR_CHECK_ERROR(enqueueEventsWait(hQueue, CuStream, numEventsInWaitList,
Expand Down

0 comments on commit b7b0a6f

Please sign in to comment.