Skip to content
Snippets Groups Projects
Commit 1331ad22 authored by Sven van Haastregt's avatar Sven van Haastregt
Browse files

[OpenCL] Add generic addrspace guards for get_fence

Align guards of these builtins with opencl-c.h.
parent 26b3a1ea
No related branches found
No related tags found
No related merge requests found
......@@ -923,7 +923,7 @@ def : Builtin<"write_mem_fence", [Void, MemFenceFlags]>;
// OpenCL v3.0 s6.15.10 - Address Space Qualifier Functions.
// to_global, to_local, to_private are declared in Builtins.def.
let MinVersion = CL20 in {
let Extension = FuncExtOpenCLCGenericAddressSpace in {
// The OpenCL 3.0 specification defines these with a "gentype" argument indicating any builtin
// type or user-defined type, which cannot be represented currently. Hence we slightly diverge
// by providing only the following overloads with a void pointer.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment