Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions SYCL/DiscardEvents/discard_events_usm_ooo_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
// The test checks that the last parameter is not `nullptr` for all PI calls
// that should discard events.
// {{0|0000000000000000}} is required for various output on Linux and Windows.
// NOTE: piextUSMEnqueuePrefetch in the CUDA backend may return a warning
// result on Windows with error-code -996
// (PI_ERROR_PLUGIN_SPECIFIC_ERROR). Since it is a warning it is safe to

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically, the PI_ERROR_PLUGIN_SPECIFIC_ERROR can mean both error and warning, it is determined by a subsequent call to piPluginGetLastError. But I think it is OK for this test not to bother about it.

// ignore for this test.
//
// Everything that follows TestQueueOperations()
// CHECK: ---> piextUSMEnqueueMemset(
Expand Down Expand Up @@ -39,7 +43,7 @@
// CHECK: ---> piextUSMEnqueuePrefetch(
// CHECK: pi_event * :
// CHECK-NOT: pi_event * : {{0|0000000000000000}}[ nullptr ]
// CHECK: ---> pi_result : PI_SUCCESS
// CHECK: ---> pi_result : {{PI_SUCCESS|-996}}
//
// CHECK: ---> piextUSMEnqueueMemAdvise(
// CHECK-NOT: pi_event * : {{0|0000000000000000}}[ nullptr ]
Expand Down Expand Up @@ -96,7 +100,7 @@
// CHECK: ---> piextUSMEnqueuePrefetch(
// CHECK: pi_event * :
// CHECK-NOT: pi_event * : {{0|0000000000000000}}[ nullptr ]
// CHECK: ---> pi_result : PI_SUCCESS
// CHECK: ---> pi_result : {{PI_SUCCESS|-996}}
//
// CHECK: ---> piextUSMEnqueueMemAdvise(
// CHECK-NOT: pi_event * : {{0|0000000000000000}}[ nullptr ]
Expand Down