diff options
author | Michael Bien <[email protected]> | 2010-04-26 03:11:15 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-04-26 03:11:15 +0200 |
commit | 552a8d5d570a50829c7361dddcd35b2fe230c44e (patch) | |
tree | e9f4b17d68c1c7d00e3f75df7b7bce2311d9d7c8 /resources/clImplCustomCode.java | |
parent | 22cf865f702cac07a5059f45baace1d1caf5dfdb (diff) |
continued with callbacks.
- started with context error callback
- finished build program callback
Diffstat (limited to 'resources/clImplCustomCode.java')
-rw-r--r-- | resources/clImplCustomCode.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/resources/clImplCustomCode.java b/resources/clImplCustomCode.java index 5ebf12aa..b5b5ec61 100644 --- a/resources/clImplCustomCode.java +++ b/resources/clImplCustomCode.java @@ -10,9 +10,6 @@ if(properties!=null && !properties.isDirect()) throw new RuntimeException("Argument \"properties\" was not a direct buffer"); - if(pfn_notify != null) - throw new RuntimeException("asynchronous errorhandler are not supported yet, pass null through this method to block until complete."); - return this.clCreateContext0( properties!=null?properties.getBuffer():null, Buffers.getDirectBufferByteOffset(properties), devices!=null?devices.remaining():0, devices!=null?devices.getBuffer():null, Buffers.getDirectBufferByteOffset(devices), @@ -26,9 +23,6 @@ if(properties!=null && !properties.isDirect()) throw new RuntimeException("Argument \"properties\" was not a direct buffer"); - if(pfn_notify != null) - throw new RuntimeException("asynchronous errorhandler are not supported yet, pass null through this method to block until complete."); - return this.clCreateContextFromType0( properties!=null?properties.getBuffer():null, Buffers.getDirectBufferByteOffset(properties), device_type, pfn_notify, errcode_ret, Buffers.getDirectBufferByteOffset(errcode_ret) ); |