-
Notifications
You must be signed in to change notification settings - Fork 130
[SYCL] Fix UNSUPPORTED syntax for DiscardEvents/invalid_event.cpp #665
Conversation
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.
@vmaksimo, @AGindinson, @sergey-semenov, could you clarify how this (opencl && acc) disables the test?
I still see in the logs that test is executed. AFAIK, llvm-test-suite is not executed on acc in a separate invocation. Accelerator is tested as part of the OpenCL back-end validation. I think the right way to disable testing on accelerator is it remove RUN: %ACC_RUN_PLACEHOLDER %t.out
line.
I think we can merge this version of the patch to fix validation on HIP back-end, but someone need to verify that validation on OpenCL accelerator type of devices is disabled. |
I would expect this to work like https://github.com/intel/llvm-test-suite/blob/intel/SYCL/Basic/image/image_max_size.cpp#L1 does - the test does get launched, but the corresponding |
It doesn't work like this. Take a look at https://github.com/intel/llvm-test-suite/blob/intel/SYCL/lit.cfg.py#L310-L322 to learn how placeholder line work. It doesn't take into account particular test LIT commands. It uses configuration provided to the test runner script. i.e. whether It would work if you specify |
I mean CI system here, which run tests on machines with all devices available. If we run on the system w/o FPGA runtime, UNSUPPORTED: opencl && accelerator will not disable the test. |
You can read more about how UNSUPPORTED work in llvm documentation - https://llvm.org/docs/TestingGuide.html#constraining-test-execution.
|
Another attempt to disable the test - #671. |
…tel/llvm-test-suite#665) As shown by CI for intel#569, the unsupported combination of opencl && acc still shows up. Attempt to fix this by using a common operator style as a follow-up to intel#652. Signed-off-by: Artem Gindinson <artem.gindinson@intel.com>
As shown by CI for #569, the unsupported combination of opencl && acc
still shows up. Attempt to fix this by using a common operator style
as a follow-up to #652.
Signed-off-by: Artem Gindinson artem.gindinson@intel.com