CrOpenCL::Program
Inherits Reference / Object
Constructors
new(context : Context, source : String)
SourceClass methods
from_file(context, filename)
SourceInstance methods
context
Sourcedevice
Programs get run on a device. Just return the device of the context the program was created under
finalize
Sourceto_unsafe
SourceMacros
method_missing(call)
Call args to invoke kernel: program.my_kernel queue, global_work_group_size, event, event_wait_list, kernel_args...
- queue (CommandQueue)
- global_work_group_size (> 0)
- event (Event | Nil)
- event_wait_list (Array(Event) | Nil)