graal/com.oracle.graal.compiler.hsail.test/src/com/oracle/graal/compiler/hsail/test/lambda/FloatNextAfterTest.java
Print this page
*** 37,46 ****
--- 37,51 ----
float direction = (gid & 1) == 0 ? Float.POSITIVE_INFINITY : Float.NEGATIVE_INFINITY;
outArray[gid] = Math.nextAfter(inArray[gid], direction);
});
}
+ @Override
+ protected boolean supportsRequiredCapabilities() {
+ return (runningOnSimulator() || runningCQETests());
+ }
+
@Test
public void testUsingLambdaMethod() {
testGeneratedHsailUsingLambdaMethod();
}
}