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 an 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.
|
boolean |
getVarB(int index) |
double |
getVarD(int index) |
float |
getVarF(int index) |
int |
getVarI(int index) |
long |
getVarJ(int index) |
void |
getVarV(int index,
FieldPacker v)
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 void |
reduce(int slot,
Allocation[] ains,
Allocation aout,
Script.LaunchOptions sc)
Only intended for use by generated reflected code.
|
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 Script.KernelID createKernelID(int slot, int sig, Element ein, Element eout)
protected Script.InvokeID createInvokeID(int slot)
protected Script.FieldID createFieldID(int slot, Element e)
protected void invoke(int slot)
protected void invoke(int slot, FieldPacker v)
protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v)
protected void forEach(int slot, Allocation ain, Allocation aout, FieldPacker v, Script.LaunchOptions 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 bindAllocation(Allocation va, int slot)
public void setVar(int index, float v)
public float getVarF(int index)
public void setVar(int index, double v)
public double getVarD(int index)
public void setVar(int index, int v)
public int getVarI(int index)
public void setVar(int index, long v)
public long getVarJ(int index)
public void setVar(int index, boolean v)
public boolean getVarB(int index)
public void setVar(int index, BaseObj o)
public void setVar(int index, FieldPacker v)
public void setVar(int index, FieldPacker v, Element e, int[] dims)
public void getVarV(int index, FieldPacker v)
public void setTimeZone(String timeZone)