Changes between Version 35 and Version 36 of OpenCL_Memo
- Timestamp:
- Dec 12, 2011 7:00:33 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenCL_Memo
v35 v36 1 = Tips =1 = OpenCL Notes = 2 2 == Disable auto vectorization == 3 3 In the section 6.7.2 (187 page) in the OpenCL Specification Version: 1.1 (Revision: 33), "__attribute__((vec_type_hint(<typen>))" is described. This hint controls the autovectorizer in the compiler for OpenCL C. I tested this feature by dumping the assembly code for a kernel targeted for AVX instructions with Intel SDK (version 1.5). 4 4 5 || 6 || without the hint|| 1567 || ||7 || with the hint 5 || || lines || performance || 6 || no hint || 1567 || || 7 || with the hint || 333 || || 8 8 9 9 This hint amazingly reduces the size of the generated kernel code! Cool. 10 10 11 12 = SDK and driver = 11 == SDK and driver == 13 12 14 13 == Latest SDK == … … 16 15 17 16 Intel http://software.intel.com/en-us/articles/vcsource-tools-opencl-sdk/ 17 18 Nvidia 19 20 Apple'SDK comes with MacOS X only 18 21 19 22 == Latest Driver for AMD ==