-
Notifications
You must be signed in to change notification settings - Fork 131
[SYCL] Change pattern to reflect the change in sycl-ls #256
Conversation
In intel/llvm#3611, I changed the device type to lower case which was necessary to show the SYCL_DEVICE_FILTER prefix for each device listing from sycl-ls. It caused several tests failures that expected 'GPU' instead of 'gpu'. Signed-off-by: Byoungro So <[email protected]>
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.
Why can't we make this, and other fields of SYCL_DEVICE_FILTER not case-sensitive?
Currently, the implementation of |
I mean I'd like to see a RT change to accept upper-case values instead of this change. |
Yes, RT accepts upper-case values (or any combination works). Please note that this test is only trying to match the string pattern that 'sycl-ls' prints. |
Signed-off-by: Byoungro So <[email protected]>
1f07119
Signed-off-by: Byoungro So <[email protected]>
// CHECK-GPU: Device: gpu | ||
// CHECK-CPU: Device: cpu |
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.
Why this line was moved? It does not look like intended change,
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 did refactoring of get_devices(), and it returns CPU devices after GPU devices.
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
@vladimirlaz , |
Signed-off-by: Byoungro So <[email protected]>
d385794
Signed-off-by: Byoungro So <[email protected]>
Signed-off-by: Byoungro So <[email protected]>
…st-suite#256) In intel#3611, I changed the device type to lower case which was necessary to show the SYCL_DEVICE_FILTER prefix for each device listing from sycl-ls. It caused several tests failures that expected 'GPU' instead of 'gpu'.
In intel/llvm#3611, I changed the device type to lower case which was necessary to show the SYCL_DEVICE_FILTER prefix for each device listing from sycl-ls.
It caused several tests failures that expected 'GPU' instead of 'gpu'.
Signed-off-by: Byoungro So [email protected]