summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-02-22 23:40:55 +0100
committerMichael Bien <[email protected]>2010-02-22 23:40:55 +0100
commitb2dca139a8aba7dcfa238580b18ca3798d985d16 (patch)
tree26d5fd8f384f9110d663b1ed315c36f0f21520fd /src/com/mbien/opencl
parent252b518140b29044a71a6862df594c3374cfb442 (diff)
modifications due to api changes.
Diffstat (limited to 'src/com/mbien/opencl')
-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);