Debian Codegraph @

clang/test/SemaCUDA/float16.cu

raw
1 // RUN: %clang_cc1 -fsyntax-only -triple x86_64 -aux-triple amdgcn -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -triple x86_64 -aux-triple spirv64-amd-amdhsa -verify %s
3 // RUN: %clang_cc1 -fsyntax-only -triple x86_64 -aux-triple nvptx64 -verify %s
4 // expected-no-diagnostics
5 #include "Inputs/cuda.h"
6
7 __device__ void f(_Float16 x);
8
9 __device__ _Float16 x = 1.0f16;