Skip to content

Commit

Permalink
compiler: Switch oneapi to fopenmp
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed Mar 17, 2023
1 parent 6e11659 commit a5f56cb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion devito/arch/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ def __init__(self, *args, **kwargs):
self.cflags.append('-fsycl-targets=spir64')

if language == 'openmp':
self.cflags.append('-qopenmp')
self.cflags.append('-fopenmp')
if platform is NVIDIAX:
self.cflags.append('-fopenmp-targets=nvptx64-cuda')
if platform is INTELGPUX:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dimension.py
Original file line number Diff line number Diff line change
Expand Up @@ -1336,7 +1336,7 @@ def test_affiness(self):
iterations = [i for i in FindNodes(Iteration).visit(op) if i.dim is not time]
assert all(i.is_Affine for i in iterations)

# Skipping this test with icpx, as it requires safe-math
# Skipping this test with icx, as it requires safe-math
@skipif('cpu64-icpx')
def test_sparse_time_function(self):
nt = 20
Expand Down
1 change: 0 additions & 1 deletion tests/test_dle.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,6 @@ def test_incs_no_atomic(self):
assert 'collapse(1)' in str(op1)
assert 'atomic' not in str(op1)

@skipif('cpu64-icpx')
@pytest.mark.parametrize('exprs,simd_level,expected', [
(['Eq(y.symbolic_max, g[0, x], implicit_dims=(t, x))',
'Inc(h1[0, 0], 1, implicit_dims=(t, x, y))'],
Expand Down
1 change: 0 additions & 1 deletion tests/test_dse.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ def test_time_dependent_split(opt):

class TestLifting(object):

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

0 comments on commit a5f56cb

Please sign in to comment.