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

SCM Repository

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

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

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

revision 2005, Fri Oct 5 11:57:00 2012 UTC revision 2006, Fri Oct 5 11:57:14 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     * FIXME: can we just test for AMD here?
13     */
14    //#if (DIDEROT_CL_VERSION == 100)
15      #pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics: enable      #pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics: enable
16      #pragma OPENCL EXTENSION cl_khr_local_int32_base_atomics: enable      #pragma OPENCL EXTENSION cl_khr_local_int32_base_atomics: enable
17  #endif  //#endif
18    
19  #define BLK_SZ  DIDEROT_CU_WIDTH  #define BLK_SZ  DIDEROT_CU_WIDTH
20  #define @DIDEROT_FLOAT_PRECISION@  #define @DIDEROT_FLOAT_PRECISION@
21  #define @DIDEROT_INT_PRECISION@  #define @DIDEROT_INT_PRECISION@

Legend:
Removed from v.2005  
changed lines
  Added in v.2006

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