Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
c1ea4b96adca4767991bb0a7b21052cef4db059c
/
.
/
test
/
CodeGenOpenCL
/
ptx-kernels.cl
blob: 1d7e497b7c013886b7c086a2a4f202f66cbbd625 [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1
%
s -triple nvptx-unknown-unknown -emit-llvm -o
-
|
FileCheck
%
s
void device_function
(
)
{
}
//
CHECK
:
define
ptx_device void
@
device_function
(
)
__kernel void kernel_function
(
)
{
}
//
CHECK
:
define
ptx_kernel void
@
kernel_function
(
)