Skip to content

Commit

Permalink
[SYCL] Handle SYCL_DEVICE_ALLOWLIST in lit.cfg.py (#1377)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Sachkov <alexey.sachkov@intel.com>
  • Loading branch information
AlexeySachkov authored Mar 24, 2020
1 parent 75ee39b commit 21e4644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@
if 'OCL_ICD_FILENAMES' in os.environ:
config.environment['OCL_ICD_FILENAMES'] = os.environ['OCL_ICD_FILENAMES']

if 'SYCL_DEVICE_WHITE_LIST' in os.environ:
config.environment['SYCL_DEVICE_WHITE_LIST'] = os.environ['SYCL_DEVICE_WHITE_LIST']
if 'SYCL_DEVICE_ALLOWLIST' in os.environ:
config.environment['SYCL_DEVICE_ALLOWLIST'] = os.environ['SYCL_DEVICE_ALLOWLIST']

config.substitutions.append( ('%sycl_libs_dir', config.sycl_libs_dir ) )
config.substitutions.append( ('%sycl_include', config.sycl_include ) )
Expand Down

0 comments on commit 21e4644

Please sign in to comment.