/[escript]/branches/diaplayground/ripley/src/SConscript
ViewVC logotype

Diff of /branches/diaplayground/ripley/src/SConscript

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

revision 5085 by caltinay, Fri Jun 20 05:49:52 2014 UTC revision 5086 by caltinay, Mon Jun 30 02:31:20 2014 UTC
# Line 67  if local_env['silo']: Line 67  if local_env['silo']:
67      local_env.Append(CPPDEFINES = ['USE_SILO'])      local_env.Append(CPPDEFINES = ['USE_SILO'])
68      local_env.AppendUnique(LIBS = env['silo_libs'])      local_env.AppendUnique(LIBS = env['silo_libs'])
69    
70    if env['openmp']:
71        local_env.Append(CPPDEFINES = ['THRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_OMP'])
72    
73  if local_env['cuda']:  if local_env['cuda']:
74      sources.append('RipleySystemMatrix.cu')      sources.append('RipleySystemMatrix.cu')
75      local_env.Append(CCFLAGS = ['-Wno-error', '-w'])      local_env['NVCCFLAGS'] += ' -w'
76      local_env.Append(CPPDEFINES = ['USE_CUDA'])      local_env['SHNVCCFLAGS']  += ' -w'
77        local_env.Append(CPPDEFINES = ['USE_CUDA', 'THRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_CUDA'])
78      local_env.Append(LIBS = ['cudart'])      local_env.Append(LIBS = ['cudart'])
79  else:  else:
80      sources.append('RipleySystemMatrix.cpp')      sources.append('RipleySystemMatrix.cpp')

Legend:
Removed from v.5085  
changed lines
  Added in v.5086

  ViewVC Help
Powered by ViewVC 1.1.26