Skip to content

Commit

Permalink
arch: switch sycl error to warning for no-compile codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
mloubout committed Jan 18, 2025
1 parent 126f821 commit f2b5e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/arch/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -838,7 +838,7 @@ def __init_finalize__(self, **kwargs):
language = kwargs.pop('language', configuration['language'])

if language == 'sycl':
raise ValueError("Use SyclCompiler to jit-compile sycl")
raise warning("Use SyclCompiler to jit-compile sycl")

elif language == 'openmp':
# Earlier versions to OneAPI 2023.2.0 (clang17 underneath), have an
Expand Down

0 comments on commit f2b5e89

Please sign in to comment.