Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] OCL compiler flags for math tests on Integrated GPUs #553

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2022, APT Group, Department of Computer Science,
* Copyright (c) 2013-2022, 2024, APT Group, Department of Computer Science,
* The University of Manchester.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -246,6 +246,7 @@ public void testMathAtan() throws TornadoExecutionPlanException {

ImmutableTaskGraph immutableTaskGraph = taskGraph.snapshot();
try (TornadoExecutionPlan executionPlan = new TornadoExecutionPlan(immutableTaskGraph)) {
executionPlan.withCompilerFlags(TornadoVMBackendType.OPENCL, "-cl-opt-disable");
executionPlan.execute();
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020-2022, APT Group, Department of Computer Science,
* Copyright (c) 2020-2022, 2024, APT Group, Department of Computer Science,
* The University of Manchester.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -322,6 +322,7 @@ public void testTornadoMathCosPIDouble() throws TornadoExecutionPlanException {

ImmutableTaskGraph immutableTaskGraph = taskGraph.snapshot();
try (TornadoExecutionPlan executionPlan = new TornadoExecutionPlan(immutableTaskGraph)) {
executionPlan.withCompilerFlags(TornadoVMBackendType.OPENCL, "-cl-opt-disable");
executionPlan.execute();
}

Expand Down Expand Up @@ -379,6 +380,7 @@ public void testTornadoMathSinPIDouble() throws TornadoExecutionPlanException {

ImmutableTaskGraph immutableTaskGraph = taskGraph.snapshot();
try (TornadoExecutionPlan executionPlan = new TornadoExecutionPlan(immutableTaskGraph)) {
executionPlan.withCompilerFlags(TornadoVMBackendType.OPENCL, "-cl-opt-disable");
executionPlan.execute();
}

Expand Down Expand Up @@ -590,6 +592,7 @@ public void testTornadoMathAtanDouble() throws TornadoExecutionPlanException {

ImmutableTaskGraph immutableTaskGraph = taskGraph.snapshot();
try (TornadoExecutionPlan executionPlan = new TornadoExecutionPlan(immutableTaskGraph)) {
executionPlan.withCompilerFlags(TornadoVMBackendType.OPENCL, "-cl-opt-disable");
executionPlan.execute();
}

Expand Down