aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/demos/fractal
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/mbien/opencl/demos/fractal')
-rw-r--r--src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java b/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java
index 899eae9..f25d5dc 100644
--- a/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java
+++ b/src/com/mbien/opencl/demos/fractal/MultiDeviceFractal.java
@@ -137,7 +137,7 @@ public class MultiDeviceFractal implements GLEventListener {
// create context managing all available GPUs
clContext = CLGLContext.create(glCtx, GPU);
- CLDevice[] devices = clContext.getCLDevices();
+ CLDevice[] devices = clContext.getDevices();
slices = min(devices.length, MAX_PARRALLELISM_LEVEL);