Skip to content

Commit

Permalink
tests: Add safemath for icc in sparse_time_function test
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed Jun 5, 2023
1 parent 6f0052a commit 8cd3677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dimension.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Dimension, DefaultDimension, SubDimension, switchconfig,
SubDomain, Lt, Le, Gt, Ge, Ne, Buffer, sin, SpaceDimension,
CustomDimension, dimensions, configuration)
from devito.arch.compiler import OneapiCompiler
from devito.arch.compiler import IntelCompiler, OneapiCompiler
from devito.ir.iet import (Conditional, Expression, Iteration, FindNodes,
FindSymbols, retrieve_iteration_tree)
from devito.symbolics import indexify, retrieve_functions, IntDiv
Expand Down Expand Up @@ -1384,7 +1384,7 @@ def test_affiness(self):
assert all(i.is_Affine for i in iterations)

@switchconfig(condition=isinstance(configuration['compiler'],
OneapiCompiler), safe_math=True)
(IntelCompiler, OneapiCompiler)), safe_math=True)
def test_sparse_time_function(self):
nt = 20

Expand Down

0 comments on commit 8cd3677

Please sign in to comment.