diff options
author | Anastasia Stulova <anastasia.stulova@arm.com> | 2017-02-16 12:27:47 +0000 |
---|---|---|
committer | Anastasia Stulova <anastasia.stulova@arm.com> | 2017-02-16 12:27:47 +0000 |
commit | f5802a7c28a2be35565dc66a16679ba383f4dfd2 (patch) | |
tree | 3c565b0b48282518ec890a461c5d48bb8bb838b1 /test/PCH | |
parent | 20a51bfa6c1c2fdb159b1e53340b8488c966b9a1 (diff) | |
download | clang-f5802a7c28a2be35565dc66a16679ba383f4dfd2.tar.gz |
[OpenCL] Correct ndrange_t implementation
Removed ndrange_t as Clang builtin type and added
as a struct type in the OpenCL header.
Use type name to do the Sema checking in enqueue_kernel
and modify IR generation accordingly.
Review: D28058
Patch by Dmitry Borisenkov!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH')
-rw-r--r-- | test/PCH/ocl_types.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/PCH/ocl_types.h b/test/PCH/ocl_types.h index bdc4bb11c1..96391289f7 100644 --- a/test/PCH/ocl_types.h +++ b/test/PCH/ocl_types.h @@ -32,9 +32,6 @@ typedef clk_event_t clkevt_t; // queue_t typedef queue_t q_t; -// ndrange_t -typedef ndrange_t range_t; - // reserve_id_t typedef reserve_id_t reserveid_t; |