[compute] 33/46: CL_MAP_WRITE_INVALIDATE_REGION is available since OpenCL 1.2

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Dec 21 18:28:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository compute.

commit e97f70cdac6955df138321d1da6169797a38a5ee
Author: Jakub Szuppe <j.szuppe at gmail.com>
Date:   Thu Nov 5 18:15:39 2015 +0100

    CL_MAP_WRITE_INVALIDATE_REGION is available since OpenCL 1.2
---
 include/boost/compute/command_queue.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/boost/compute/command_queue.hpp b/include/boost/compute/command_queue.hpp
index e52f3a9..c918ef2 100644
--- a/include/boost/compute/command_queue.hpp
+++ b/include/boost/compute/command_queue.hpp
@@ -85,7 +85,7 @@ public:
     enum map_flags {
         map_read = CL_MAP_READ,
         map_write = CL_MAP_WRITE
-        #ifdef CL_VERSION_2_0
+        #ifdef CL_VERSION_1_2
         ,
         map_write_invalidate_region = CL_MAP_WRITE_INVALIDATE_REGION
         #endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/compute.git



More information about the debian-science-commits mailing list