1 | // RUN: %libomptarget-compile-amdgcn-amd-amdhsa -Xclang \ |
---|---|
2 | // RUN: -mcode-object-version=5 |
3 | // RUN: %libomptarget-run-amdgcn-amd-amdhsa | %fcheck-amdgcn-amd-amdhsa |
4 | |
5 | // REQUIRES: amdgcn-amd-amdhsa |
6 | |
7 | #include <stdio.h> |
8 | |
9 | // Test to make sure we can build and run with the previous COV. |
10 | int main() { |
11 | #pragma omp target |
12 | ; |
13 | |
14 | // CHECK: PASS |
15 | printf(format: "PASS\n"); |
16 | } |
17 |