CLProgram

Constructors

this
this(cl_program id)

Members

Enums

BuildStatus
enum BuildStatus

Functions

build
BuildInfo[] build(CLDevice[] devs, CLBuildOption[] options)
build
BuildInfo[] build(CLBuildOption[] options)

use devices from context

buildInfo
BuildInfo[] buildInfo()
buildLog
string buildLog(CLDevice device)
buildStatus
BuildStatus buildStatus(CLDevice device)
getOptionsStringz
auto getOptionsStringz(CLBuildOption[] options)
kernelsNames
string[] kernelsNames()

get kernels names

opIndex
CLKernel opIndex(string name)

get kernel by name

selfDestroy
void selfDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
updateDevices
void updateDevices()
Undocumented in source. Be warned that the author may not have intended to support it.
updateInfo
void updateInfo()
Undocumented in source. Be warned that the author may not have intended to support it.
updateKernels
void updateKernels()
Undocumented in source. Be warned that the author may not have intended to support it.
updateSource
void updateSource()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

context
CLContext context [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
devices
CLDevice[] devices [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
source
string source [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

createWithSource
CLProgram createWithSource(CLContext context, string src)
getFromID
CLProgram getFromID(cl_program id)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

used
CLProgram[cl_program] used;
Undocumented in source.

Structs

BuildInfo
struct BuildInfo

Variables

_context
CLContext _context;
Undocumented in source.
_devices
CLDevice[] _devices;
Undocumented in source.
_source
string _source;
Undocumented in source.
id
cl_program id;
kernels
CLKernel[string] kernels;
Undocumented in source.

Inherited Members

From CLObject

parent
CLObject parent;
Undocumented in source.
child
Object[] child;
Undocumented in source.
regChild
auto regChild(T[] arr)
Undocumented in source. Be warned that the author may not have intended to support it.
regChild
auto regChild(T obj)
Undocumented in source. Be warned that the author may not have intended to support it.
newChild
auto newChild(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
preChildDestory
void preChildDestory()
Undocumented in source. Be warned that the author may not have intended to support it.
selfDestroy
void selfDestroy()
Undocumented in source. Be warned that the author may not have intended to support it.
~this
~this()
Undocumented in source.

Meta