Package com.aparapi
Class Kernel.KernelState
java.lang.Object
com.aparapi.Kernel.KernelState
- Enclosing class:
- Kernel
public final class Kernel.KernelState extends Object
This class is for internal Kernel state management
NOT INTENDED FOR USE BY USERS
-
Method Summary
Modifier and Type Method Description void
awaitOnLocalBarrier()
String
describe()
void
disableLocalBarrier()
int[]
getGlobalIds()
int[]
getGroupIds()
IKernelBarrier
getLocalBarrier()
int[]
getLocalIds()
int
getPassId()
Range
getRange()
void
setGlobalId(int _index, int value)
Set a specific index valuevoid
setGlobalIds(int[] globalIds)
void
setGroupId(int _index, int value)
Set a specific index valuevoid
setGroupIds(int[] groupIds)
void
setLocalBarrier(IKernelBarrier localBarrier)
void
setLocalId(int _index, int value)
Set a specific index valuevoid
setLocalIds(int[] localIds)
void
setPassId(int passId)
void
setRange(Range range)
-
Method Details
-
getGlobalIds
public int[] getGlobalIds()- Returns:
- the globalIds
-
setGlobalIds
public void setGlobalIds(int[] globalIds)- Parameters:
globalIds
- the globalIds to set
-
setGlobalId
public void setGlobalId(int _index, int value)Set a specific index value- Parameters:
_index
-value
-
-
getLocalIds
public int[] getLocalIds()- Returns:
- the localIds
-
setLocalIds
public void setLocalIds(int[] localIds)- Parameters:
localIds
- the localIds to set
-
setLocalId
public void setLocalId(int _index, int value)Set a specific index value- Parameters:
_index
-value
-
-
getGroupIds
public int[] getGroupIds()- Returns:
- the groupIds
-
setGroupIds
public void setGroupIds(int[] groupIds)- Parameters:
groupIds
- the groupIds to set
-
setGroupId
public void setGroupId(int _index, int value)Set a specific index value- Parameters:
_index
-value
-
-
getRange
- Returns:
- the range
-
setRange
- Parameters:
range
- the range to set
-
getPassId
public int getPassId()- Returns:
- the passId
-
setPassId
public void setPassId(int passId)- Parameters:
passId
- the passId to set
-
getLocalBarrier
- Returns:
- the localBarrier
-
setLocalBarrier
- Parameters:
localBarrier
- the localBarrier to set
-
awaitOnLocalBarrier
public void awaitOnLocalBarrier() -
disableLocalBarrier
public void disableLocalBarrier() -
describe
-