Index: lib/Basic/Targets.cpp =================================================================== --- lib/Basic/Targets.cpp +++ lib/Basic/Targets.cpp @@ -1840,6 +1840,12 @@ return GPU != GK_NONE; } + void setSupportedOpenCLOpts() override { + auto &Opts = getSupportedOpenCLOpts(); + Opts.cl_clang_storage_class_specifiers = 1; + Opts.cl_khr_byte_addressable_store = 1; + Opts.cl_khr_fp64 = 1; + } }; const Builtin::Info NVPTXTargetInfo::BuiltinInfo[] = {