-
Notifications
You must be signed in to change notification settings - Fork 130
[SYCL] [L0] [PI] Corrections to interop tests to ensure batching behavior #948
Conversation
…vior independent of defaults. Signed-off-by: Rajiv Deodhar <[email protected]>
/verify with #948 |
/verify with intel/llvm#5833 |
@@ -1,6 +1,6 @@ | |||
// REQUIRES: level_zero, level_zero_dev_kit | |||
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %level_zero_options %s -o %t.out | |||
// RUN: env SYCL_BE=PI_LEVEL_ZERO %GPU_RUN_PLACEHOLDER %t.out | |||
// RUN: env SYCL_BE=PI_LEVEL_ZERO SYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS=2 SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 %GPU_RUN_PLACEHOLDER %t.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any check of traces in this test, so it should run with any env settings
@@ -1,6 +1,6 @@ | |||
// REQUIRES: level_zero, level_zero_dev_kit | |||
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out %level_zero_options | |||
// RUN: env SYCL_BE=PI_LEVEL_ZERO %GPU_RUN_PLACEHOLDER %t.out | |||
// RUN: env SYCL_BE=PI_LEVEL_ZERO SYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS=2 SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 %GPU_RUN_PLACEHOLDER %t.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any check of traces in this test, so it should run with any env settings
@@ -1,6 +1,6 @@ | |||
// REQUIRES: level_zero, level_zero_dev_kit | |||
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple %s -o %t.out %level_zero_options %threads_lib | |||
// RUN: %BE_RUN_PLACEHOLDER %t.out | |||
// RUN: env SYCL_PI_LEVEL_ZERO_DEVICE_SCOPE_EVENTS=2 SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 %BE_RUN_PLACEHOLDER %t.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
These tests fail if immediate commandlists are used in the L0 plugin. |
CMPLRTST-15892: support translate gpu-intel-* to alloy gpu feature.
Some interop tests depend on assumptions about the plugin behavior with regard to commandlist and event usage. The expectations can be met by setting env vars that control batching and device-only events usage.