[fix] Replace user-defined flag for FPGA execution
@@ -89,16 +89,6 @@ public final class Tornado implements TornadoCI {
return cl_context_emulator_device_intelfpga != null && (cl_context_emulator_device_intelfpga.equals("1"));
}
- public final static boolean ACCELERATOR_IS_FPGA = isFPGAAccelerationEnabled();
-
- private static boolean isFPGAAccelerationEnabled() {
- boolean isAcceleration = Boolean.parseBoolean(getProperty("tornado.opencl.accelerator.fpga", "False"));
- if (isAcceleration) {
- return true;
- }
- return isFPGAEmulation();
- }
-
public static final TornadoLogger log = new TornadoLogger(Tornado.class);
public static void debug(final String msg) {
