Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
opencl_svm_definitions.hpp
00001 /* See LICENSE file in the root OpenCV directory */ 00002 00003 #ifndef __OPENCV_CORE_OCL_RUNTIME_OPENCL_SVM_DEFINITIONS_HPP__ 00004 #define __OPENCV_CORE_OCL_RUNTIME_OPENCL_SVM_DEFINITIONS_HPP__ 00005 00006 #if defined(HAVE_OPENCL_SVM) 00007 #if defined(CL_VERSION_2_0) 00008 00009 // OpenCL 2.0 contains SVM definitions 00010 00011 #else 00012 00013 typedef cl_bitfield cl_device_svm_capabilities; 00014 typedef cl_bitfield cl_svm_mem_flags; 00015 typedef cl_uint cl_kernel_exec_info; 00016 00017 // 00018 // TODO Add real values after OpenCL 2.0 release 00019 // 00020 00021 #ifndef CL_DEVICE_SVM_CAPABILITIES 00022 #define CL_DEVICE_SVM_CAPABILITIES 0x1053 00023 00024 #define CL_DEVICE_SVM_COARSE_GRAIN_BUFFER (1 << 0) 00025 #define CL_DEVICE_SVM_FINE_GRAIN_BUFFER (1 << 1) 00026 #define CL_DEVICE_SVM_FINE_GRAIN_SYSTEM (1 << 2) 00027 #define CL_DEVICE_SVM_ATOMICS (1 << 3) 00028 #endif 00029 00030 #ifndef CL_MEM_SVM_FINE_GRAIN_BUFFER 00031 #define CL_MEM_SVM_FINE_GRAIN_BUFFER (1 << 10) 00032 #endif 00033 00034 #ifndef CL_MEM_SVM_ATOMICS 00035 #define CL_MEM_SVM_ATOMICS (1 << 11) 00036 #endif 00037 00038 00039 #endif // CL_VERSION_2_0 00040 #endif // HAVE_OPENCL_SVM 00041 00042 #endif // __OPENCV_CORE_OCL_RUNTIME_OPENCL_SVM_DEFINITIONS_HPP__ 00043
Generated on Tue Jul 12 2022 14:47:31 by
1.7.2
