Remove deprecated method - createDevice based on native platforma and device index
*/
package uk.ac.manchester.tornado.api.runtime;
-import uk.ac.manchester.tornado.api.AbstractFactoryDevice;
import uk.ac.manchester.tornado.api.TornadoCI;
import uk.ac.manchester.tornado.api.TornadoRuntimeInterface;
-import uk.ac.manchester.tornado.api.common.TornadoDevice;
public class TornadoRuntime {
@@ -92,20 +90,4 @@ public class TornadoRuntime {
tornadoImpl.loadTornadoSettings(property);
}
- /**
- * Method used by SLAMBENCH-TornadoVM to access the device.
- *
- * @param backendName
- * Backend to be used
- * @param platformIndex
- * OpenCL|SPIRV|PTX Platform Index
- * @param deviceIndex
- * Device index within the platform.
- * @return an instance of a TornadoDevice per architecture.
- */
- @Deprecated
- public static TornadoDevice createDevice(String backendName, int platformIndex, int deviceIndex) {
- AbstractFactoryDevice device = TornadoAPIProvider.loadDeviceImpl(backendName);
- return device.createDevice(platformIndex, deviceIndex);
- }
}
