projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d00f00
)
Fix an OpenCL test case. Pointer arguments to kernels must be declared with the
author
Joey Gouly
<joey.gouly@arm.com>
Thu, 21 Feb 2013 12:06:32 +0000
(12:06 +0000)
committer
Joey Gouly
<joey.gouly@arm.com>
Thu, 21 Feb 2013 12:06:32 +0000
(12:06 +0000)
__global, __constant or __local qualifier.
llvm-svn: 175735
clang/test/CodeGenOpenCL/kernel-arg-info.cl
patch
|
blob
|
history
diff --git
a/clang/test/CodeGenOpenCL/kernel-arg-info.cl
b/clang/test/CodeGenOpenCL/kernel-arg-info.cl
index
9d52736
..
7e35a33
100644
(file)
--- a/
clang/test/CodeGenOpenCL/kernel-arg-info.cl
+++ b/
clang/test/CodeGenOpenCL/kernel-arg-info.cl
@@
-1,6
+1,6
@@
// RUN: %clang_cc1 %s -cl-kernel-arg-info -emit-llvm -o - | FileCheck %s
-kernel void foo(int *X, int Y, int anotherArg) {
+kernel void foo(
global
int *X, int Y, int anotherArg) {
*X = Y + anotherArg;
}