[clang] ed07c89 - Add cl_khr_mipmap_image_writes as supported to AMDGPU
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 19 14:41:13 PST 2020
Author: Yaxun (Sam) Liu
Date: 2020-02-19T17:40:40-05:00
New Revision: ed07c89fc50f38c4f1403b19897468edd7e5cbf3
URL: https://github.com/llvm/llvm-project/commit/ed07c89fc50f38c4f1403b19897468edd7e5cbf3
DIFF: https://github.com/llvm/llvm-project/commit/ed07c89fc50f38c4f1403b19897468edd7e5cbf3.diff
LOG: Add cl_khr_mipmap_image_writes as supported to AMDGPU
Differential Revision: https://reviews.llvm.org/D74807
Added:
Modified:
clang/lib/Basic/Targets/AMDGPU.h
Removed:
################################################################################
diff --git a/clang/lib/Basic/Targets/AMDGPU.h b/clang/lib/Basic/Targets/AMDGPU.h
index 456cb2ebb8b5..ed6929214f6e 100644
--- a/clang/lib/Basic/Targets/AMDGPU.h
+++ b/clang/lib/Basic/Targets/AMDGPU.h
@@ -263,6 +263,7 @@ class LLVM_LIBRARY_VISIBILITY AMDGPUTargetInfo final : public TargetInfo {
Opts.support("cl_khr_int64_base_atomics");
Opts.support("cl_khr_int64_extended_atomics");
Opts.support("cl_khr_mipmap_image");
+ Opts.support("cl_khr_mipmap_image_writes");
Opts.support("cl_khr_subgroups");
Opts.support("cl_khr_3d_image_writes");
Opts.support("cl_amd_media_ops");
More information about the cfe-commits
mailing list