Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simply the examples SConscript a bit.

  • Loading branch information...
commit 0f09f55a1b0b9ffcb28678d03b43e16fb36b3497 1 parent 39c24c9
Jared Hoberock jaredhoberock authored
Showing with 1 addition and 11 deletions.
  1. +1 −11 examples/SConscript
12 examples/SConscript
View
@@ -11,19 +11,9 @@ directories = ['.']
# find all .cus & .cpps in the current directory
sources = []
-directories = ['.']
+directories = ['.', my_env['device_backend']]
extensions = ['.cu','.cpp']
-# XXX create a separate environment with the appropriate
-# options for each device_backend directory, and
-# build them unconditionally
-if my_env['device_backend'] == 'cuda':
- directories.append('cuda')
-elif my_env['device_backend'] == 'tbb':
- directories.append('tbb')
-elif my_env['device_backend'] == 'omp':
- directories.append('omp')
-
for dir in directories:
for ext in extensions:
regex = os.path.join(dir, '*' + ext)
Please sign in to comment.
Something went wrong with that request. Please try again.