comparison clang/test/CodeGenCUDA/device-use-host-var.cu @ 236:c4bab56944e8 llvm-original

LLVM 16
author kono
date Wed, 09 Nov 2022 17:45:10 +0900
parents 79ff65ed7e25
children 1f2b6ac9f198
comparison
equal deleted inserted replaced
232:70dce7da266c 236:c4bab56944e8
1 // RUN: %clang_cc1 -std=c++14 -triple amdgcn-amd-amdhsa \ 1 // RUN: %clang_cc1 -no-opaque-pointers -std=c++14 -triple amdgcn-amd-amdhsa \
2 // RUN: -fcuda-is-device -emit-llvm -o - -x hip %s | FileCheck %s 2 // RUN: -fcuda-is-device -emit-llvm -o - -x hip %s | FileCheck %s
3 // RUN: %clang_cc1 -std=c++14 -triple amdgcn-amd-amdhsa \ 3 // RUN: %clang_cc1 -no-opaque-pointers -std=c++14 -triple amdgcn-amd-amdhsa \
4 // RUN: -fcuda-is-device -emit-llvm -o - -x hip %s | FileCheck -check-prefix=NEG %s 4 // RUN: -fcuda-is-device -emit-llvm -o - -x hip %s | FileCheck -check-prefix=NEG %s
5 5
6 #include "Inputs/cuda.h" 6 #include "Inputs/cuda.h"
7 7
8 struct A { 8 struct A {