brintos

brintos / llvm-project-archived public Read only

0
0
Text · 360 B · 95d14f6 Raw
17 lines · c
1// RUN: %libomptarget-compile-amdgcn-amd-amdhsa -Xclang \2// RUN:   -mcode-object-version=53// RUN:   %libomptarget-run-amdgcn-amd-amdhsa | %fcheck-amdgcn-amd-amdhsa4 5// REQUIRES: amdgcn-amd-amdhsa6 7#include <stdio.h>8 9// Test to make sure we can build and run with the previous COV.10int main() {11#pragma omp target12  ;13 14  // CHECK: PASS15  printf("PASS\n");16}17