aboutsummaryrefslogtreecommitdiff
path: root/offload/test/api/amdgpu_code_object.c
blob: 95d14f6772e772ede2f08955d25017b8822177d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %libomptarget-compile-amdgcn-amd-amdhsa -Xclang \
// RUN:   -mcode-object-version=5
// RUN:   %libomptarget-run-amdgcn-amd-amdhsa | %fcheck-amdgcn-amd-amdhsa

// REQUIRES: amdgcn-amd-amdhsa

#include <stdio.h>

// Test to make sure we can build and run with the previous COV.
int main() {
#pragma omp target
  ;

  // CHECK: PASS
  printf("PASS\n");
}