================
@@ -170,6 +170,8 @@ class LLVM_LIBRARY_VISIBILITY NVPTXTargetInfo : public
TargetInfo {
Opts["cl_khr_global_int32_extended_atomics"] = true;
Opts["cl_khr_local_int32_base_atomics"] = true;
Opts["cl_khr_local_int32_extended_atomics"] = true;
+
+ Opts["__opencl_c_generic_address_space"] = true;
----------------
svenvh wrote:
This is target specific, so I agree with @frasercrmck 's reasoning and would
say it's fine as is.
https://github.com/llvm/llvm-project/pull/137940
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits