< prev index next > test/hotspot/jtreg/compiler/vectorapi/reshape/utils/VectorReshapeHelper.java
Print this page
public static void runMainHelper(Class<?> testClass, Stream<VectorSpeciesPair> testMethods, String... flags) {
var test = new TestFramework(testClass);
test.setDefaultWarmup(1);
test.addHelperClasses(VectorReshapeHelper.class);
! test.addFlags("--add-modules=jdk.incubator.vector", "--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED", "--enable-preview");
test.addFlags(flags);
String testMethodNames = testMethods
.filter(p -> p.isp().length() <= VectorSpecies.ofLargestShape(p.isp().elementType()).length())
.filter(p -> p.osp().length() <= VectorSpecies.ofLargestShape(p.osp().elementType()).length())
.map(VectorSpeciesPair::format)
public static void runMainHelper(Class<?> testClass, Stream<VectorSpeciesPair> testMethods, String... flags) {
var test = new TestFramework(testClass);
test.setDefaultWarmup(1);
test.addHelperClasses(VectorReshapeHelper.class);
! test.addFlags("--add-modules=jdk.incubator.vector", "--add-exports=java.base/jdk.internal.misc=ALL-UNNAMED");
test.addFlags(flags);
String testMethodNames = testMethods
.filter(p -> p.isp().length() <= VectorSpecies.ofLargestShape(p.isp().elementType()).length())
.filter(p -> p.osp().length() <= VectorSpecies.ofLargestShape(p.osp().elementType()).length())
.map(VectorSpeciesPair::format)
< prev index next >