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 2004, Fri Oct 5 11:52:52 2012 UTC revision 2005, Fri Oct 5 11:57:00 2012 UTC
# Line 8  Line 8 
8   * All rights reserved.   * All rights reserved.
9   */   */
10  /* AMD has an error in their OpenCL sdk that doesn't enable atomics for OpenCL 1.2  /* 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*/   * 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)  //#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

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

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