[cig-commits] [commit] devel: remove need cl_khr_int64_base_atomics in fp32 (b6431e5)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Jan 27 03:16:08 PST 2015
Repository : https://github.com/geodynamics/specfem3d_globe
On branch : devel
Link : https://github.com/geodynamics/specfem3d_globe/compare/76d972f086a6f917c37ccef39b775d0eb139d346...b6431e566f89ccfe48b55cb589945f2c44d0fdd0
>---------------------------------------------------------------
commit b6431e566f89ccfe48b55cb589945f2c44d0fdd0
Author: Brice Videau <brice.videau at imag.fr>
Date: Tue Jan 27 10:50:10 2015 +0100
remove need cl_khr_int64_base_atomics in fp32
>---------------------------------------------------------------
b6431e566f89ccfe48b55cb589945f2c44d0fdd0
src/gpu/boast/HEADER.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gpu/boast/HEADER.rb b/src/gpu/boast/HEADER.rb
index 610780a..e508d0e 100644
--- a/src/gpu/boast/HEADER.rb
+++ b/src/gpu/boast/HEADER.rb
@@ -82,6 +82,8 @@ module BOAST
if BOAST::get_lang == CL then
if BOAST::get_default_real_size == 8 or opts[:double] then
BOAST::get_output.puts "#pragma OPENCL EXTENSION cl_khr_fp64: enable"
+ end
+ if BOAST::get_default_real_size == 8 then
BOAST::get_output.puts "#pragma OPENCL EXTENSION cl_khr_int64_base_atomics: enable"
end
load "./atomicAdd_f.rb"
More information about the CIG-COMMITS
mailing list