Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /trunk/src/compiler/cl-target/fragments/header.in
ViewVC logotype

Diff of /trunk/src/compiler/cl-target/fragments/header.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1988, Tue Jul 31 21:50:46 2012 UTC revision 1989, Fri Aug 3 01:54:21 2012 UTC
# Line 7  Line 7 
7   * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)   * COPYRIGHT (c) 2011 The Diderot Project (http://diderot-language.cs.uchicago.edu)
8   * All rights reserved.   * All rights reserved.
9   */   */
10  #if (DIDEROT_CL_VERSION == 100)  /* AMD has an error in their OpenCL sdk that doesn't enable atomics for OpenCL 1.2
11       so enable them just by default until they fix it*/
12    //#if (DIDEROT_CL_VERSION == 100)
13      #pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics: enable      #pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics: enable
14      #pragma OPENCL EXTENSION cl_khr_local_int32_base_atomics: enable      #pragma OPENCL EXTENSION cl_khr_local_int32_base_atomics: enable
15  #endif  //#endif
16    
17  #define BLK_SZ  DIDEROT_CU_WIDTH  #define BLK_SZ  DIDEROT_CU_WIDTH
18  #define DIDEROT_@PRECISION@_PRECISION  #define DIDEROT_@PRECISION@_PRECISION
19  #define DIDEROT_TARGET_CL  #define DIDEROT_TARGET_CL

Legend:
Removed from v.1988  
changed lines
  Added in v.1989

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0