Skip to content

Commit 7f09f61

Browse files
authored
[SYCLomatic #2634] Fix analysis-mode test error due to feature changes (#872)
Signed-off-by: Ziran Zhang <[email protected]>
1 parent 35211a8 commit 7f09f61

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

behavior_tests/src/analysis-mode/do_test.py

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,13 @@ def migrate_test():
3232
["APIs/Types - Medium manual effort for code fixing."],
3333
["lines of code", "will not be automatically migrated."],
3434
["APIs/Types - High manual effort for code fixing."],
35-
["Total Project:"],
36-
["lines of code", "will be automatically migrated."],
37-
["APIs/Types - No manual effort."],
38-
["APIs/Types - Low manual effort for checking and code fixing."],
39-
["APIs/Types - Medium manual effort for code fixing."],
40-
["lines of code", "will not be automatically migrated."],
41-
["APIs/Types - High manual effort for code fixing."],
4235
["Library Dependencies of SYCL Project:"],
43-
["oneAPI Math Kernel Library (oneMKL)"],
44-
["oneAPI DPC++ Library (oneDPL)"],
45-
["oneAPI Deep Neural Network Library (oneDNN)"],
46-
["oneAPI Collective Communications Library (oneCCL)"]]
36+
["The Intel oneAPI Math Kernel Library (oneMKL)"],
37+
["The Intel oneAPI DPC++ Library (oneDPL)"],
38+
["The Intel oneAPI Deep Neural Network Library (oneDNN)"],
39+
["The Intel oneAPI Collective Communications Library (oneCCL)"],
40+
["Unsupported APIs and Types:"],
41+
["cudaDeviceGetPCIBusId Occurrences 1 times"]]
4742

4843
ret_lines = test_config.command_output.splitlines()
4944
res = True

behavior_tests/src/analysis-mode/test.cu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ __global__ void kernel(int *a) {
2121
void foo() {
2222
int *a;
2323
size_t b, c;
24+
cudaDeviceGetPCIBusId(nullptr, 0, 0);
2425
cudaMemGetInfo(&b, &c);
2526
cudaMalloc(&a, sizeof(int));
2627
cudaFree(a);

0 commit comments

Comments
 (0)