Changes between Version 46 and Version 47 of OpenCL_Memo
- Timestamp:
- Dec 16, 2011 7:44:03 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OpenCL_Memo
v46 v47 1 1 = OpenCL Notes = 2 == clang to parse and compile OpenCL kernel == 3 4 http://steckdenis.wordpress.com/2011/06/30/compiling-programs-using-clang/ 5 6 http://www.khronos.org/message_boards/viewtopic.php?f=28&t=3531 7 2 8 == Disable auto vectorization == 3 9 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 (heavily using "float8" ) targeted for AVX instructions with Intel SDK (version 1.5).