Skip to content

Commit a5f56cb

Browse files
committed
compiler: Switch oneapi to fopenmp
1 parent 6e11659 commit a5f56cb

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

devito/arch/compiler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ def __init__(self, *args, **kwargs):
552552
self.cflags.append('-fsycl-targets=spir64')
553553

554554
if language == 'openmp':
555-
self.cflags.append('-qopenmp')
555+
self.cflags.append('-fopenmp')
556556
if platform is NVIDIAX:
557557
self.cflags.append('-fopenmp-targets=nvptx64-cuda')
558558
if platform is INTELGPUX:

tests/test_dimension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ def test_affiness(self):
13361336
iterations = [i for i in FindNodes(Iteration).visit(op) if i.dim is not time]
13371337
assert all(i.is_Affine for i in iterations)
13381338

1339-
# Skipping this test with icpx, as it requires safe-math
1339+
# Skipping this test with icx, as it requires safe-math
13401340
@skipif('cpu64-icpx')
13411341
def test_sparse_time_function(self):
13421342
nt = 20

tests/test_dle.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,6 @@ def test_incs_no_atomic(self):
793793
assert 'collapse(1)' in str(op1)
794794
assert 'atomic' not in str(op1)
795795

796-
@skipif('cpu64-icpx')
797796
@pytest.mark.parametrize('exprs,simd_level,expected', [
798797
(['Eq(y.symbolic_max, g[0, x], implicit_dims=(t, x))',
799798
'Inc(h1[0, 0], 1, implicit_dims=(t, x, y))'],

tests/test_dse.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,6 @@ def test_time_dependent_split(opt):
317317

318318
class TestLifting(object):
319319

320-
@skipif('cpu64-icpx')
321320
@pytest.mark.parametrize('exprs,expected', [
322321
# none (different distance)
323322
(['Eq(y.symbolic_max, g[0, x], implicit_dims=(t, x))',

0 commit comments

Comments
 (0)