[OpenMP][Offload] Fix typo in error message (#142589)
It appears that the spelling was incorrect in those test cases. At least on machines with ROCm version > 6.3. I had no chance to test with ROCm version version < 6.2 and would be interested in the result if someone has the chance.
This commit is contained in:
@@ -27,7 +27,7 @@ int main() {
|
|||||||
*P = 3;
|
*P = 3;
|
||||||
}
|
}
|
||||||
// clang-format off
|
// clang-format off
|
||||||
// CHECK: OFFLOAD ERROR: Memory access fault by GPU {{.*}} (agent 0x{{.*}}) at virtual address [[PTR:0x[0-9a-z]*]]. Reasons: {{.*}}
|
// CHECK: OFFLOAD ERROR: memory access fault by GPU {{.*}} (agent 0x{{.*}}) at virtual address [[PTR:0x[0-9a-z]*]]. Reasons: {{.*}}
|
||||||
// NTRCE: Use 'OFFLOAD_TRACK_ALLOCATION_TRACES=true' to track device allocations
|
// NTRCE: Use 'OFFLOAD_TRACK_ALLOCATION_TRACES=true' to track device allocations
|
||||||
// TRACE: Device pointer [[PTR]] does not point into any (current or prior) host-issued allocation.
|
// TRACE: Device pointer [[PTR]] does not point into any (current or prior) host-issued allocation.
|
||||||
// TRACE: Closest host-issued allocation (distance 4096 bytes; might be by page):
|
// TRACE: Closest host-issued allocation (distance 4096 bytes; might be by page):
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ int main() {
|
|||||||
#pragma omp target map(A[ : N])
|
#pragma omp target map(A[ : N])
|
||||||
{ A[N] = 3; }
|
{ A[N] = 3; }
|
||||||
// clang-format off
|
// clang-format off
|
||||||
// CHECK: OFFLOAD ERROR: Memory access fault by GPU {{.*}} (agent 0x{{.*}}) at virtual address [[PTR:0x[0-9a-z]*]]. Reasons: {{.*}}
|
// CHECK: OFFLOAD ERROR: memory access fault by GPU {{.*}} (agent 0x{{.*}}) at virtual address [[PTR:0x[0-9a-z]*]]. Reasons: {{.*}}
|
||||||
// CHECK: Device pointer [[PTR]] does not point into any (current or prior) host-issued allocation.
|
// CHECK: Device pointer [[PTR]] does not point into any (current or prior) host-issued allocation.
|
||||||
// CHECK: Closest host-issued allocation (distance 1 byte; might be by page):
|
// CHECK: Closest host-issued allocation (distance 1 byte; might be by page):
|
||||||
// CHECK: Last allocation of size 1073741824
|
// CHECK: Last allocation of size 1073741824
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ int main() {
|
|||||||
}
|
}
|
||||||
llvm_omp_target_free_host(A, omp_get_default_device());
|
llvm_omp_target_free_host(A, omp_get_default_device());
|
||||||
// clang-format off
|
// clang-format off
|
||||||
// CHECK: OFFLOAD ERROR: Memory access fault by GPU {{.*}} (agent 0x{{.*}}) at virtual address [[PTR:0x[0-9a-z]*]]. Reasons: {{.*}}
|
// CHECK: OFFLOAD ERROR: memory access fault by GPU {{.*}} (agent 0x{{.*}}) at virtual address [[PTR:0x[0-9a-z]*]]. Reasons: {{.*}}
|
||||||
// NTRCE: Use 'OFFLOAD_TRACK_ALLOCATION_TRACES=true' to track device allocations
|
// NTRCE: Use 'OFFLOAD_TRACK_ALLOCATION_TRACES=true' to track device allocations
|
||||||
// TRACE: Device pointer [[PTR]] points into prior host-issued allocation:
|
// TRACE: Device pointer [[PTR]] points into prior host-issued allocation:
|
||||||
// TRACE: Last deallocation:
|
// TRACE: Last deallocation:
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ int main() {
|
|||||||
*P = 3;
|
*P = 3;
|
||||||
}
|
}
|
||||||
// clang-format off
|
// clang-format off
|
||||||
// CHECK: OFFLOAD ERROR: Memory access fault by GPU {{.*}} (agent 0x{{.*}}) at virtual address [[PTR:0x[0-9a-z]*]]. Reasons: {{.*}}
|
// CHECK: OFFLOAD ERROR: memory access fault by GPU {{.*}} (agent 0x{{.*}}) at virtual address [[PTR:0x[0-9a-z]*]]. Reasons: {{.*}}
|
||||||
// CHECK: Device pointer [[PTR]] points into prior host-issued allocation:
|
// CHECK: Device pointer [[PTR]] points into prior host-issued allocation:
|
||||||
// CHECK: Last deallocation:
|
// CHECK: Last deallocation:
|
||||||
// CHECK: Last allocation of size 1073741824
|
// CHECK: Last allocation of size 1073741824
|
||||||
|
|||||||
Reference in New Issue
Block a user