summaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLCommandQueue.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/jogamp/opencl/CLCommandQueue.java')
-rw-r--r--src/com/jogamp/opencl/CLCommandQueue.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/com/jogamp/opencl/CLCommandQueue.java b/src/com/jogamp/opencl/CLCommandQueue.java
index def422e0..f728e723 100644
--- a/src/com/jogamp/opencl/CLCommandQueue.java
+++ b/src/com/jogamp/opencl/CLCommandQueue.java
@@ -1483,22 +1483,6 @@ public class CLCommandQueue extends CLObject implements CLResource {
return Mode.valuesOf(properties);
}
- /**
- * Setting properties after a command queue has been created can be implementation specific,
- * please refer to the specification ({@native clSetCommandQueueProperty}) or vendor documentation.
- */
- public void setProperty(Mode property, boolean enabled) {
- int ret = cl.clSetCommandQueueProperty(ID, property.QUEUE_MODE, clBoolean(enabled), null);
- if(ret != CL_SUCCESS) {
- checkForError(ret, "can not set command queue property: " + property);
- }
- if(enabled) {
- properties |= property.QUEUE_MODE;
- }else{
- properties &= ~property.QUEUE_MODE;
- }
- }
-
@Override
public String toString() {
return getClass().getSimpleName() +" "+getProperties()+" on "+ getDevice();