public class Script extends BaseObj
Modifier and Type | Class and Description |
---|---|
static class |
Script.Builder
Only intended for use by generated reflected code.
|
static class |
Script.FieldBase
Only intended for use by generated reflected code.
|
static class |
Script.FieldID
FieldID is an identifier for a Script + exported field pair.
|
static class |
Script.InvokeID
InvokeID is an identifier for a invoke function.
|
static class |
Script.KernelID
KernelID is an identifier for a Script + root function pair.
|
static class |
Script.LaunchOptions
Class for specifying the specifics about how a kernel will be
launched.
|
Modifier and Type | Method and Description |
---|---|
void |
bindAllocation(Allocation va,
int slot)
Only intended for use by generated reflected code.
|
protected Script.FieldID |
createFieldID(int slot,
Element e)
Only to be used by generated reflected classes.
|
protected Script.InvokeID |
createInvokeID(int slot)
Only to be used by generated reflected classes.
|
protected Script.KernelID |
createKernelID(int slot,
int sig,
Element ein,
Element eout)
Only to be used by generated reflected classes.
|
protected void |
forEach(int slot,
Allocation[] ains,
Allocation aout,
FieldPacker v)
Only intended for use by generated reflected code.
|
protected void |
forEach(int slot,
Allocation[] ains,
Allocation aout,
FieldPacker v,
Script.LaunchOptions sc)
Only intended for use by generated reflected code.
|
protected void |
forEach(int slot,
Allocation ain,
Allocation aout,
FieldPacker v)
Only intended for use by generated reflected code.
|
protected void |
forEach(int slot,
Allocation ain,
Allocation aout,
FieldPacker v,
Script.LaunchOptions sc)
Only intended for use by generated reflected code.
|
protected void |
invoke(int slot)
Only intended for use by generated reflected code.
|
protected void |
invoke(int slot,
FieldPacker v)
Only intended for use by generated reflected code.
|
protected boolean |
isIncSupp() |
protected void |
reduce(int slot,
Allocation[] ains,
Allocation aout,
Script.LaunchOptions sc)
Only intended for use by generated reflected code.
|
protected void |
setIncSupp(boolean useInc) |
void |
setTimeZone(String timeZone) |
void |
setVar(int index,
BaseObj o)
Only intended for use by generated reflected code.
|
void |
setVar(int index,
boolean v)
Only intended for use by generated reflected code.
|
void |
setVar(int index,
double v)
Only intended for use by generated reflected code.
|
void |
setVar(int index,
FieldPacker v)
Only intended for use by generated reflected code.
|
void |
setVar(int index,
FieldPacker v,
Element e,
int[] dims)
Only intended for use by generated reflected code.
|
void |
setVar(int index,
float v)
Only intended for use by generated reflected code.
|
void |
setVar(int index,
int v)
Only intended for use by generated reflected code.
|
void |
setVar(int index,
long v)
Only intended for use by generated reflected code.
|
protected void setIncSupp(boolean useInc)
protected boolean isIncSupp()
protected Script.KernelID createKernelID(int slot, int sig, Element ein, Element eout)
slot
- sig
- ein
- eout
- protected Script.InvokeID createInvokeID(int slot)
protected Script.FieldID createFieldID(int slot, Element e)
slot
- e
- protected void invoke(int slot)
slot
- protected void invoke(int slot, FieldPacker v)
slot
- v
- public void bindAllocation(Allocation va, int slot)
va
- slot
- public void setTimeZone(String timeZone)
protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v)
slot
- ain
- aout
- v
- protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, Script.LaunchOptions sc)
slot
- ain
- aout
- v
- sc
- protected void forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v)
protected void forEach(int slot, Allocation[] ains, Allocation aout, FieldPacker v, Script.LaunchOptions sc)
protected void reduce(int slot, Allocation[] ains, Allocation aout, Script.LaunchOptions sc)
public void setVar(int index, float v)
index
- v
- public void setVar(int index, double v)
index
- v
- public void setVar(int index, int v)
index
- v
- public void setVar(int index, long v)
index
- v
- public void setVar(int index, boolean v)
index
- v
- public void setVar(int index, BaseObj o)
index
- o
- public void setVar(int index, FieldPacker v)
index
- v
- public void setVar(int index, FieldPacker v, Element e, int[] dims)
index
- v
- e
- dims
-