Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sycl-in-tree: Allow different patch in usm testcases #10336

Merged
merged 1 commit into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ int main() {

try {
// CHECK: [USM] Function uses unknown USM pointer (could be already released or not allocated as USM) as destination memory block
// CHECK: | memcpy location: function main at {{.*}}/queue_copy_released_pointer.cpp:[[# @LINE + 1 ]]
// CHECK: | memcpy location: function main at {{.*}}queue_copy_released_pointer.cpp:[[# @LINE + 1 ]]
Q.copy(AllocSrc, AllocDst, 1);
Q.wait();
} catch (...) {
Expand Down
2 changes: 1 addition & 1 deletion sycl/test-e2e/Tracing/usm/queue_single_task_nullptr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ int main() {
unsigned int *AllocSrc = nullptr;
try {
// CHECK: [USM] Function uses nullptr as kernel parameter with index = 0.
// CHECK: | kernel location: function main at {{.*}}/queue_single_task_nullptr.cpp:[[# @LINE + 1 ]]
// CHECK: | kernel location: function main at {{.*}}queue_single_task_nullptr.cpp:[[# @LINE + 1 ]]
Q.single_task([=]() {
if (AllocSrc == nullptr)
sycl::ext::oneapi::experimental::printf("nullptr");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ int main() {

try {
// CHECK: [USM] Function uses unknown USM pointer (could be already released or not allocated as USM) as kernel parameter with index = 0.
// CHECK: | kernel location: function main at {{.*}}/queue_single_task_released_pointer.cpp:[[# @LINE + 1 ]]
// CHECK: | kernel location: function main at {{.*}}queue_single_task_released_pointer.cpp:[[# @LINE + 1 ]]
Q.single_task([=]() { *AllocSrc = 13; });
Q.wait();
} catch (...) {
Expand Down