public final class CLKernel extends PointerWrapperAbstract
pointer
Modifier and Type | Method and Description |
---|---|
int |
getInfoInt(int param_name)
Returns the integer value of the specified parameter.
|
java.lang.String |
getInfoString(int param_name)
Returns the String value of the specified parameter.
|
P |
getParent() |
int |
getReferenceCount() |
long |
getWorkGroupInfoLong(CLDevice device,
int param_name)
Returns the long value of the specified parameter.
|
long |
getWorkGroupInfoSize(CLDevice device,
int param_name)
Returns the size_t value of the specified parameter.
|
long[] |
getWorkGroupInfoSizeArray(CLDevice device,
int param_name)
Returns an array of size_t values of the specified parameter.
|
boolean |
isValid()
Returns true if this object represents a valid pointer.
|
CLKernel |
setArg(int index,
byte value)
Sets a kernel argument at the specified index to the specified
byte value.
|
CLKernel |
setArg(int index,
org.lwjgl.opencl.CLObject value)
Sets a kernel argument at the specified index to the specified
pointer value.
|
CLKernel |
setArg(int index,
double value)
Sets a kernel argument at the specified index to the specified
double value.
|
CLKernel |
setArg(int index,
float value)
Sets a kernel argument at the specified index to the specified
float value.
|
CLKernel |
setArg(int index,
int value)
Sets a kernel argument at the specified index to the specified
int value.
|
CLKernel |
setArg(int index,
long value)
Sets a kernel argument at the specified index to the specified
long value.
|
CLKernel |
setArg(int index,
short value)
Sets a kernel argument at the specified index to the specified
byte value.
|
CLKernel |
setArgSize(int index,
long size)
Sets the size of a __local kernel argument at the specified index.
|
checkValid, equals, getPointer, hashCode, toString
public CLKernel setArg(int index, byte value)
index
- the argument indexvalue
- the argument valuepublic CLKernel setArg(int index, short value)
index
- the argument indexvalue
- the argument valuepublic CLKernel setArg(int index, int value)
index
- the argument indexvalue
- the argument valuepublic CLKernel setArg(int index, long value)
index
- the argument indexvalue
- the argument valuepublic CLKernel setArg(int index, float value)
index
- the argument indexvalue
- the argument valuepublic CLKernel setArg(int index, double value)
index
- the argument indexvalue
- the argument valuepublic CLKernel setArg(int index, org.lwjgl.opencl.CLObject value)
index
- the argument indexvalue
- the argument valuepublic CLKernel setArgSize(int index, long size)
index
- the argument indexsize
- the argument sizepublic java.lang.String getInfoString(int param_name)
param_name
- the parameterpublic int getInfoInt(int param_name)
param_name
- the parameterpublic long getWorkGroupInfoSize(CLDevice device, int param_name)
param_name
- the parameterpublic long[] getWorkGroupInfoSizeArray(CLDevice device, int param_name)
param_name
- the parameterpublic long getWorkGroupInfoLong(CLDevice device, int param_name)
param_name
- the parameterpublic P getParent()
public final int getReferenceCount()
public final boolean isValid()
PointerWrapperAbstract
isValid
in class PointerWrapperAbstract
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.