Changes between Version 46 and Version 47 of OpenCL_Memo


Ignore:
Timestamp:
Dec 16, 2011 7:44:03 AM (13 years ago)
Author:
nakasato
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OpenCL_Memo

    v46 v47  
    11= OpenCL Notes = 
     2== clang to parse and compile OpenCL kernel == 
     3 
     4http://steckdenis.wordpress.com/2011/06/30/compiling-programs-using-clang/ 
     5 
     6http://www.khronos.org/message_boards/viewtopic.php?f=28&t=3531 
     7 
    28== Disable auto vectorization == 
    39In 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).