Cl
Constants
VERSION = "0.1.0"
Instance methods
args(kernel : LibCL::ClKernel, *args)
Sourcebuffer(context : LibCL::ClContext, size : UInt64, flags : LibCL::ClMemFlags = LibCL::ClMemFlags::READ_WRITE, dtype : U.class = Float64) : LibCL::ClMem forall U
Sourcebuffer_like(context : LibCL::ClContext, xs : Array(U), flags : LibCL::ClMemFlags = LibCL::ClMemFlags::READ_WRITE) : LibCL::ClMem forall U
Sourcebuild_errors(program : LibCL::ClProgram, devices : Array(LibCL::ClDeviceId)) : String
Sourcebuild_on(program : LibCL::ClProgram, devices : Array(LibCL::ClDeviceId))
Sourcebuild_on(program : LibCL::ClProgram, device : LibCL::ClDeviceId)
Sourcecheck(errcode : Int32)
Sourcecommand_queue_for(context : LibCL::ClContext, device : LibCL::ClDeviceId) : LibCL::ClCommandQueue
Sourcecreate_and_build(context : LibCL::ClContext, body : String, device : LibCL::ClDeviceId) : LibCL::ClProgram
Sourcecreate_and_build(context : LibCL::ClContext, body : String, devices : Array(LibCL::ClDeviceId)) : LibCL::ClProgram
Sourcecreate_and_build_binary(context : LibCL::ClContext, body : String, device : LibCL::ClDeviceId) : LibCL::ClProgram
Sourcecreate_context(devices : Array(LibCL::ClDeviceId)) : LibCL::ClContext
Sourcecreate_kernel(program : LibCL::ClProgram, name : String) : LibCL::ClKernel
Sourcecreate_program(context : LibCL::ClContext, body : String) : LibCL::ClProgram
Sourcecreate_program_binary(context : LibCL::ClContext, device : LibCL::ClDeviceId, body : String) : LibCL::ClProgram
Sourcedevice_name(id : LibCL::ClDeviceId) : String
Sourcefill(queue : LibCL::ClCommandQueue, buffer : LibCL::ClMem, value : U, size : UInt64) forall U
Sourcefirst_gpu_defaults
Sourcefirst_platform
Sourceget_devices(platform : LibCL::ClPlatformId, device_type) : Array(LibCL::ClDeviceId)
Sourceget_devices(platform : LibCL::ClPlatformId) : Array(LibCL::ClDeviceId)
Sourceget_platform_by_name(name : String)
Sourceglobal_memory(id : LibCL::ClDeviceId) : UInt64
Sourcelocal_memory(id : LibCL::ClDeviceId) : UInt64
Sourcemax_work_groups(id : LibCL::ClDeviceId) : UInt64
Sourcemax_work_items(id : LibCL::ClDeviceId) : Array(UInt64)
Sourceopencl_defaults
Sourceplatform_name(id : LibCL::ClPlatformId) : String
Sourceread(queue : LibCL::ClCommandQueue, dest : Pointer(U), src : LibCL::ClMem, size : Int) forall U
Sourceread(queue : LibCL::ClCommandQueue, dest : Array(U), src : LibCL::ClMem) forall U
Sourcerelease_buffer(buffer : LibCL::ClMem)
Sourcerelease_context(context : LibCL::ClContext)
Sourcerelease_kernel(kernel : LibCL::ClKernel)
Sourcerelease_program(program : LibCL::ClProgram)
Sourcerelease_queue(queue : LibCL::ClCommandQueue)
Sourcerun(queue : LibCL::ClCommandQueue, kernel : LibCL::ClKernel, total_work : Int, local_work : Int)
Sourcerun(queue : LibCL::ClCommandQueue, kernel : LibCL::ClKernel, work : Int)
Sourcerun2d(queue : LibCL::ClCommandQueue, kernel : LibCL::ClKernel, total_work : Tuple(Int, Int), local_work : Tuple(Int, Int))
Sourcerun2d(queue : LibCL::ClCommandQueue, kernel : LibCL::ClKernel, total_work : Tuple(Int, Int))
Sourcerun3d(queue : LibCL::ClCommandQueue, kernel : LibCL::ClKernel, total_work : Tuple(Int, Int, Int), local_work : Tuple(Int, Int, Int))
Sourcerun3d(queue : LibCL::ClCommandQueue, kernel : LibCL::ClKernel, total_work : Tuple(Int, Int, Int))
Sourceset_arg(kernel : LibCL::ClKernel, item : LibCL::ClMem, index : UInt32)
Sourceset_arg(kernel : LibCL::ClKernel, item : Int32, index : UInt32)
Sourceset_arg(kernel : LibCL::ClKernel, item : Float32, index : UInt32)
Sourceset_arg(kernel : LibCL::ClKernel, item : Float64, index : UInt32)
Sourcesingle_device_defaults
Sourceversion(id : LibCL::ClPlatformId) : String
Sourcewrite(queue : LibCL::ClCommandQueue, src : Pointer(U), dest : LibCL::ClMem, size : UInt64) forall U
Sourcewrite(queue : LibCL::ClCommandQueue, src : Array(U), dest : LibCL::ClMem) forall U
Source