summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);