opencl

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package opencl provides a fluent Go API over the macOS OpenCL framework.

Construction

New… functions create objects; each With… method sets one property and returns its receiver, so configuration calls chain. A <Type>FromID constructor adopts an Objective-C object obtained elsewhere.

Lifecycle

A wrapper releases its Objective-C object automatically once the garbage collector finds it unreachable. Call Release to relinquish the reference deterministically (for objects holding scarce resources); Release is idempotent, and afterwards the wrapper's methods are no-ops returning zero values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClBuildProgram

func ClBuildProgram(arg ClProgram, arg2 uint32, arg3 unsafe.Pointer, arg4 string, arg5 unsafe.Pointer, arg6 unsafe.Pointer) int32

ClBuildProgram calls the OpenCL framework function clBuildProgram.

func ClCompileProgram

func ClCompileProgram(arg ClProgram, arg2 uint32, arg3 unsafe.Pointer, arg4 string, arg5 uint32, arg6 unsafe.Pointer, arg7 string, arg8 unsafe.Pointer, arg9 unsafe.Pointer) int32

ClCompileProgram calls the OpenCL framework function clCompileProgram.

func ClCreateContextAndCommandQueueAPPLE

func ClCreateContextAndCommandQueueAPPLE(arg unsafe.Pointer, arg2 uint32, arg3 unsafe.Pointer, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 uint64, arg7 unsafe.Pointer, arg8 unsafe.Pointer) int32

ClCreateContextAndCommandQueueAPPLE calls the OpenCL framework function clCreateContextAndCommandQueueAPPLE.

func ClCreateKernelsInProgram

func ClCreateKernelsInProgram(arg ClProgram, arg2 uint32, arg3 unsafe.Pointer) (result int32, arg4 uint32)

ClCreateKernelsInProgram calls the OpenCL framework function clCreateKernelsInProgram.

func ClCreateProgramAndKernelsWithSourceAPPLE

func ClCreateProgramAndKernelsWithSourceAPPLE(arg ClContext, arg2 uint32, arg3 string, arg4 unsafe.Pointer, arg5 uint32, arg6 unsafe.Pointer, arg7 string, arg8 uint32, arg9 string, arg10 unsafe.Pointer, arg11 unsafe.Pointer) int32

ClCreateProgramAndKernelsWithSourceAPPLE calls the OpenCL framework function clCreateProgramAndKernelsWithSourceAPPLE.

func ClCreateSubDevices

func ClCreateSubDevices(arg ClDeviceId, arg2 unsafe.Pointer, arg3 uint32, arg4 unsafe.Pointer) (result int32, arg5 uint32)

ClCreateSubDevices calls the OpenCL framework function clCreateSubDevices.

func ClEnqueueAcquireGLObjects

func ClEnqueueAcquireGLObjects(arg ClCommandQueue, arg2 uint32, arg3 unsafe.Pointer, arg4 uint32, arg5 unsafe.Pointer, arg6 unsafe.Pointer) int32

ClEnqueueAcquireGLObjects calls the OpenCL framework function clEnqueueAcquireGLObjects.

func ClEnqueueBarrier

func ClEnqueueBarrier(arg ClCommandQueue) int32

ClEnqueueBarrier calls the OpenCL framework function clEnqueueBarrier.

func ClEnqueueBarrierWithWaitList

func ClEnqueueBarrierWithWaitList(arg ClCommandQueue, arg2 uint32, arg3 unsafe.Pointer, arg4 unsafe.Pointer) int32

ClEnqueueBarrierWithWaitList calls the OpenCL framework function clEnqueueBarrierWithWaitList.

func ClEnqueueCopyBuffer

func ClEnqueueCopyBuffer(arg ClCommandQueue, arg2 ClMem, arg3 ClMem, arg4 int, arg5 int, arg6 int, arg7 uint32, arg8 unsafe.Pointer, arg9 unsafe.Pointer) int32

ClEnqueueCopyBuffer calls the OpenCL framework function clEnqueueCopyBuffer.

func ClEnqueueCopyBufferRect

func ClEnqueueCopyBufferRect(arg ClCommandQueue, arg2 ClMem, arg3 ClMem, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 unsafe.Pointer, arg7 int, arg8 int, arg9 int, arg10 int, arg11 uint32, arg12 unsafe.Pointer, arg13 unsafe.Pointer) int32

ClEnqueueCopyBufferRect calls the OpenCL framework function clEnqueueCopyBufferRect.

func ClEnqueueCopyBufferToImage

func ClEnqueueCopyBufferToImage(arg ClCommandQueue, arg2 ClMem, arg3 ClMem, arg4 int, arg5 unsafe.Pointer, arg6 unsafe.Pointer, arg7 uint32, arg8 unsafe.Pointer, arg9 unsafe.Pointer) int32

ClEnqueueCopyBufferToImage calls the OpenCL framework function clEnqueueCopyBufferToImage.

func ClEnqueueCopyImage

func ClEnqueueCopyImage(arg ClCommandQueue, arg2 ClMem, arg3 ClMem, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 unsafe.Pointer, arg7 uint32, arg8 unsafe.Pointer, arg9 unsafe.Pointer) int32

ClEnqueueCopyImage calls the OpenCL framework function clEnqueueCopyImage.

func ClEnqueueCopyImageToBuffer

func ClEnqueueCopyImageToBuffer(arg ClCommandQueue, arg2 ClMem, arg3 ClMem, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 int, arg7 uint32, arg8 unsafe.Pointer, arg9 unsafe.Pointer) int32

ClEnqueueCopyImageToBuffer calls the OpenCL framework function clEnqueueCopyImageToBuffer.

func ClEnqueueFillBuffer

func ClEnqueueFillBuffer(arg ClCommandQueue, arg2 ClMem, arg3 unsafe.Pointer, arg4 int, arg5 int, arg6 int, arg7 uint32, arg8 unsafe.Pointer, arg9 unsafe.Pointer) int32

ClEnqueueFillBuffer calls the OpenCL framework function clEnqueueFillBuffer.

func ClEnqueueFillImage

func ClEnqueueFillImage(arg ClCommandQueue, arg2 ClMem, arg3 unsafe.Pointer, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 uint32, arg7 unsafe.Pointer, arg8 unsafe.Pointer) int32

ClEnqueueFillImage calls the OpenCL framework function clEnqueueFillImage.

func ClEnqueueMapBuffer

func ClEnqueueMapBuffer(arg ClCommandQueue, arg2 ClMem, arg3 uint32, arg4 uint64, arg5 int, arg6 int, arg7 uint32, arg8 unsafe.Pointer, arg9 unsafe.Pointer) (result unsafe.Pointer, arg10 int32)

ClEnqueueMapBuffer calls the OpenCL framework function clEnqueueMapBuffer.

func ClEnqueueMapImage

func ClEnqueueMapImage(arg ClCommandQueue, arg2 ClMem, arg3 uint32, arg4 uint64, arg5 unsafe.Pointer, arg6 unsafe.Pointer, arg9 uint32, arg10 unsafe.Pointer, arg11 unsafe.Pointer) (result unsafe.Pointer, arg7 int, arg8 int, arg12 int32)

ClEnqueueMapImage calls the OpenCL framework function clEnqueueMapImage.

func ClEnqueueMarker

func ClEnqueueMarker(arg ClCommandQueue, arg2 unsafe.Pointer) int32

ClEnqueueMarker calls the OpenCL framework function clEnqueueMarker.

func ClEnqueueMarkerWithWaitList

func ClEnqueueMarkerWithWaitList(arg ClCommandQueue, arg2 uint32, arg3 unsafe.Pointer, arg4 unsafe.Pointer) int32

ClEnqueueMarkerWithWaitList calls the OpenCL framework function clEnqueueMarkerWithWaitList.

func ClEnqueueMigrateMemObjects

func ClEnqueueMigrateMemObjects(arg ClCommandQueue, arg2 uint32, arg3 unsafe.Pointer, arg4 uint64, arg5 uint32, arg6 unsafe.Pointer, arg7 unsafe.Pointer) int32

ClEnqueueMigrateMemObjects calls the OpenCL framework function clEnqueueMigrateMemObjects.

func ClEnqueueNDRangeKernel

func ClEnqueueNDRangeKernel(arg ClCommandQueue, arg2 ClKernel, arg3 uint32, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 unsafe.Pointer, arg7 uint32, arg8 unsafe.Pointer, arg9 unsafe.Pointer) int32

ClEnqueueNDRangeKernel calls the OpenCL framework function clEnqueueNDRangeKernel.

func ClEnqueueNativeKernel

func ClEnqueueNativeKernel(arg ClCommandQueue, arg2 unsafe.Pointer, arg3 unsafe.Pointer, arg4 int, arg5 uint32, arg6 unsafe.Pointer, arg7 unsafe.Pointer, arg8 uint32, arg9 unsafe.Pointer, arg10 unsafe.Pointer) int32

ClEnqueueNativeKernel calls the OpenCL framework function clEnqueueNativeKernel.

func ClEnqueueReadBuffer

func ClEnqueueReadBuffer(arg ClCommandQueue, arg2 ClMem, arg3 uint32, arg4 int, arg5 int, arg6 unsafe.Pointer, arg7 uint32, arg8 unsafe.Pointer, arg9 unsafe.Pointer) int32

ClEnqueueReadBuffer calls the OpenCL framework function clEnqueueReadBuffer.

func ClEnqueueReadBufferRect

func ClEnqueueReadBufferRect(arg ClCommandQueue, arg2 ClMem, arg3 uint32, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 unsafe.Pointer, arg7 int, arg8 int, arg9 int, arg10 int, arg11 unsafe.Pointer, arg12 uint32, arg13 unsafe.Pointer, arg14 unsafe.Pointer) int32

ClEnqueueReadBufferRect calls the OpenCL framework function clEnqueueReadBufferRect.

func ClEnqueueReadImage

func ClEnqueueReadImage(arg ClCommandQueue, arg2 ClMem, arg3 uint32, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 int, arg7 int, arg8 unsafe.Pointer, arg9 uint32, arg10 unsafe.Pointer, arg11 unsafe.Pointer) int32

ClEnqueueReadImage calls the OpenCL framework function clEnqueueReadImage.

func ClEnqueueReleaseGLObjects

func ClEnqueueReleaseGLObjects(arg ClCommandQueue, arg2 uint32, arg3 unsafe.Pointer, arg4 uint32, arg5 unsafe.Pointer, arg6 unsafe.Pointer) int32

ClEnqueueReleaseGLObjects calls the OpenCL framework function clEnqueueReleaseGLObjects.

func ClEnqueueTask

func ClEnqueueTask(arg ClCommandQueue, arg2 ClKernel, arg3 uint32, arg4 unsafe.Pointer, arg5 unsafe.Pointer) int32

ClEnqueueTask calls the OpenCL framework function clEnqueueTask.

func ClEnqueueUnmapMemObject

func ClEnqueueUnmapMemObject(arg ClCommandQueue, arg2 ClMem, arg3 unsafe.Pointer, arg4 uint32, arg5 unsafe.Pointer, arg6 unsafe.Pointer) int32

ClEnqueueUnmapMemObject calls the OpenCL framework function clEnqueueUnmapMemObject.

func ClEnqueueWaitForEvents

func ClEnqueueWaitForEvents(arg ClCommandQueue, arg2 uint32, arg3 unsafe.Pointer) int32

ClEnqueueWaitForEvents calls the OpenCL framework function clEnqueueWaitForEvents.

func ClEnqueueWriteBuffer

func ClEnqueueWriteBuffer(arg ClCommandQueue, arg2 ClMem, arg3 uint32, arg4 int, arg5 int, arg6 unsafe.Pointer, arg7 uint32, arg8 unsafe.Pointer, arg9 unsafe.Pointer) int32

ClEnqueueWriteBuffer calls the OpenCL framework function clEnqueueWriteBuffer.

func ClEnqueueWriteBufferRect

func ClEnqueueWriteBufferRect(arg ClCommandQueue, arg2 ClMem, arg3 uint32, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 unsafe.Pointer, arg7 int, arg8 int, arg9 int, arg10 int, arg11 unsafe.Pointer, arg12 uint32, arg13 unsafe.Pointer, arg14 unsafe.Pointer) int32

ClEnqueueWriteBufferRect calls the OpenCL framework function clEnqueueWriteBufferRect.

func ClEnqueueWriteImage

func ClEnqueueWriteImage(arg ClCommandQueue, arg2 ClMem, arg3 uint32, arg4 unsafe.Pointer, arg5 unsafe.Pointer, arg6 int, arg7 int, arg8 unsafe.Pointer, arg9 uint32, arg10 unsafe.Pointer, arg11 unsafe.Pointer) int32

ClEnqueueWriteImage calls the OpenCL framework function clEnqueueWriteImage.

func ClFinish

func ClFinish(arg ClCommandQueue) int32

ClFinish calls the OpenCL framework function clFinish.

func ClFlush

func ClFlush(arg ClCommandQueue) int32

ClFlush calls the OpenCL framework function clFlush.

func ClGetCommandQueueInfo

func ClGetCommandQueueInfo(arg ClCommandQueue, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetCommandQueueInfo calls the OpenCL framework function clGetCommandQueueInfo.

func ClGetContextInfo

func ClGetContextInfo(arg ClContext, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetContextInfo calls the OpenCL framework function clGetContextInfo.

func ClGetDAGNodeAPPLE

func ClGetDAGNodeAPPLE(d ClDag, f ClKernel, nargs int) (result int, args int, argIndices uint32)

ClGetDAGNodeAPPLE calls the OpenCL framework function clGetDAGNodeAPPLE.

func ClGetDeviceIDs

func ClGetDeviceIDs(arg ClPlatformId, arg2 uint64, arg3 uint32, arg4 unsafe.Pointer) (result int32, arg5 uint32)

ClGetDeviceIDs calls the OpenCL framework function clGetDeviceIDs.

func ClGetDeviceInfo

func ClGetDeviceInfo(arg ClDeviceId, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetDeviceInfo calls the OpenCL framework function clGetDeviceInfo.

func ClGetEventInfo

func ClGetEventInfo(arg ClEvent, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetEventInfo calls the OpenCL framework function clGetEventInfo.

func ClGetEventProfilingInfo

func ClGetEventProfilingInfo(arg ClEvent, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetEventProfilingInfo calls the OpenCL framework function clGetEventProfilingInfo.

func ClGetExtensionFunctionAddress

func ClGetExtensionFunctionAddress(arg string) unsafe.Pointer

ClGetExtensionFunctionAddress calls the OpenCL framework function clGetExtensionFunctionAddress.

func ClGetExtensionFunctionAddressForPlatform

func ClGetExtensionFunctionAddressForPlatform(arg ClPlatformId, arg2 string) unsafe.Pointer

ClGetExtensionFunctionAddressForPlatform calls the OpenCL framework function clGetExtensionFunctionAddressForPlatform.

func ClGetGLContextInfoAPPLE

func ClGetGLContextInfoAPPLE(arg ClContext, arg2 unsafe.Pointer, arg3 uint32, arg4 int, arg5 unsafe.Pointer) (result int32, arg6 int)

ClGetGLContextInfoAPPLE calls the OpenCL framework function clGetGLContextInfoAPPLE.

func ClGetGLObjectInfo

func ClGetGLObjectInfo(arg ClMem) (result int32, arg2 uint32, arg3 int)

ClGetGLObjectInfo calls the OpenCL framework function clGetGLObjectInfo.

func ClGetGLTextureInfo

func ClGetGLTextureInfo(arg ClMem, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetGLTextureInfo calls the OpenCL framework function clGetGLTextureInfo.

func ClGetImageInfo

func ClGetImageInfo(arg ClMem, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetImageInfo calls the OpenCL framework function clGetImageInfo.

func ClGetKernelArgInfo

func ClGetKernelArgInfo(arg ClKernel, arg2 uint32, arg3 uint32, arg4 int, arg5 unsafe.Pointer) (result int32, arg6 int)

ClGetKernelArgInfo calls the OpenCL framework function clGetKernelArgInfo.

func ClGetKernelInfo

func ClGetKernelInfo(arg ClKernel, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetKernelInfo calls the OpenCL framework function clGetKernelInfo.

func ClGetKernelWorkGroupInfo

func ClGetKernelWorkGroupInfo(arg ClKernel, arg2 ClDeviceId, arg3 uint32, arg4 int, arg5 unsafe.Pointer) (result int32, arg6 int)

ClGetKernelWorkGroupInfo calls the OpenCL framework function clGetKernelWorkGroupInfo.

func ClGetMemObjectInfo

func ClGetMemObjectInfo(arg ClMem, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetMemObjectInfo calls the OpenCL framework function clGetMemObjectInfo.

func ClGetPlatformIDs

func ClGetPlatformIDs(arg uint32, arg2 unsafe.Pointer) (result int32, arg3 uint32)

ClGetPlatformIDs calls the OpenCL framework function clGetPlatformIDs.

func ClGetPlatformInfo

func ClGetPlatformInfo(arg ClPlatformId, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetPlatformInfo calls the OpenCL framework function clGetPlatformInfo.

func ClGetProgramBuildInfo

func ClGetProgramBuildInfo(arg ClProgram, arg2 ClDeviceId, arg3 uint32, arg4 int, arg5 unsafe.Pointer) (result int32, arg6 int)

ClGetProgramBuildInfo calls the OpenCL framework function clGetProgramBuildInfo.

func ClGetProgramInfo

func ClGetProgramInfo(arg ClProgram, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetProgramInfo calls the OpenCL framework function clGetProgramInfo.

func ClGetSamplerInfo

func ClGetSamplerInfo(arg ClSampler, arg2 uint32, arg3 int, arg4 unsafe.Pointer) (result int32, arg5 int)

ClGetSamplerInfo calls the OpenCL framework function clGetSamplerInfo.

func ClLogMessagesToStderrAPPLE

func ClLogMessagesToStderrAPPLE(arg string, arg2 unsafe.Pointer, arg3 int, arg4 unsafe.Pointer)

ClLogMessagesToStderrAPPLE calls the OpenCL framework function clLogMessagesToStderrAPPLE.

func ClLogMessagesToStdoutAPPLE

func ClLogMessagesToStdoutAPPLE(arg string, arg2 unsafe.Pointer, arg3 int, arg4 unsafe.Pointer)

ClLogMessagesToStdoutAPPLE calls the OpenCL framework function clLogMessagesToStdoutAPPLE.

func ClLogMessagesToSystemLogAPPLE

func ClLogMessagesToSystemLogAPPLE(arg string, arg2 unsafe.Pointer, arg3 int, arg4 unsafe.Pointer)

ClLogMessagesToSystemLogAPPLE calls the OpenCL framework function clLogMessagesToSystemLogAPPLE.

func ClReleaseCommandQueue

func ClReleaseCommandQueue(arg ClCommandQueue) int32

ClReleaseCommandQueue calls the OpenCL framework function clReleaseCommandQueue.

func ClReleaseContext

func ClReleaseContext(arg ClContext) int32

ClReleaseContext calls the OpenCL framework function clReleaseContext.

func ClReleaseDAGAPPLE

func ClReleaseDAGAPPLE(dag ClDag)

ClReleaseDAGAPPLE calls the OpenCL framework function clReleaseDAGAPPLE.

func ClReleaseDevice

func ClReleaseDevice(arg ClDeviceId) int32

ClReleaseDevice calls the OpenCL framework function clReleaseDevice.

func ClReleaseEvent

func ClReleaseEvent(arg ClEvent) int32

ClReleaseEvent calls the OpenCL framework function clReleaseEvent.

func ClReleaseKernel

func ClReleaseKernel(arg ClKernel) int32

ClReleaseKernel calls the OpenCL framework function clReleaseKernel.

func ClReleaseMemObject

func ClReleaseMemObject(arg ClMem) int32

ClReleaseMemObject calls the OpenCL framework function clReleaseMemObject.

func ClReleaseProgram

func ClReleaseProgram(arg ClProgram) int32

ClReleaseProgram calls the OpenCL framework function clReleaseProgram.

func ClReleaseSampler

func ClReleaseSampler(arg ClSampler) int32

ClReleaseSampler calls the OpenCL framework function clReleaseSampler.

func ClRetainCommandQueue

func ClRetainCommandQueue(arg ClCommandQueue) int32

ClRetainCommandQueue calls the OpenCL framework function clRetainCommandQueue.

func ClRetainContext

func ClRetainContext(arg ClContext) int32

ClRetainContext calls the OpenCL framework function clRetainContext.

func ClRetainDevice

func ClRetainDevice(arg ClDeviceId) int32

ClRetainDevice calls the OpenCL framework function clRetainDevice.

func ClRetainEvent

func ClRetainEvent(arg ClEvent) int32

ClRetainEvent calls the OpenCL framework function clRetainEvent.

func ClRetainKernel

func ClRetainKernel(arg ClKernel) int32

ClRetainKernel calls the OpenCL framework function clRetainKernel.

func ClRetainMemObject

func ClRetainMemObject(arg ClMem) int32

ClRetainMemObject calls the OpenCL framework function clRetainMemObject.

func ClRetainProgram

func ClRetainProgram(arg ClProgram) int32

ClRetainProgram calls the OpenCL framework function clRetainProgram.

func ClRetainSampler

func ClRetainSampler(arg ClSampler) int32

ClRetainSampler calls the OpenCL framework function clRetainSampler.

func ClSetEventCallback

func ClSetEventCallback(arg ClEvent, arg2 int32, arg3 unsafe.Pointer, arg4 unsafe.Pointer) int32

ClSetEventCallback calls the OpenCL framework function clSetEventCallback.

func ClSetKernelArg

func ClSetKernelArg(arg ClKernel, arg2 uint32, arg3 int, arg4 unsafe.Pointer) int32

ClSetKernelArg calls the OpenCL framework function clSetKernelArg.

func ClSetKernelArgByNameAPPLE

func ClSetKernelArgByNameAPPLE(arg ClKernel, arg2 string, arg3 int, arg4 unsafe.Pointer) int32

ClSetKernelArgByNameAPPLE calls the OpenCL framework function clSetKernelArgByNameAPPLE.

func ClSetKernelArgsVaListAPPLE

func ClSetKernelArgsVaListAPPLE(arg ClKernel, arg2 uint32, arg3 string) int32

ClSetKernelArgsVaListAPPLE calls the OpenCL framework function clSetKernelArgsVaListAPPLE.

func ClSetMemObjectDestructorAPPLE

func ClSetMemObjectDestructorAPPLE(arg ClMem, arg2 unsafe.Pointer, arg3 unsafe.Pointer) int32

ClSetMemObjectDestructorAPPLE calls the OpenCL framework function clSetMemObjectDestructorAPPLE.

func ClSetMemObjectDestructorCallback

func ClSetMemObjectDestructorCallback(arg ClMem, arg2 unsafe.Pointer, arg3 unsafe.Pointer) int32

ClSetMemObjectDestructorCallback calls the OpenCL framework function clSetMemObjectDestructorCallback.

func ClSetUserEventStatus

func ClSetUserEventStatus(arg ClEvent, arg2 int32) int32

ClSetUserEventStatus calls the OpenCL framework function clSetUserEventStatus.

func ClUnloadCompiler

func ClUnloadCompiler() int32

ClUnloadCompiler calls the OpenCL framework function clUnloadCompiler.

func ClUnloadPlatformCompiler

func ClUnloadPlatformCompiler(arg ClPlatformId) int32

ClUnloadPlatformCompiler calls the OpenCL framework function clUnloadPlatformCompiler.

func ClWaitForEvents

func ClWaitForEvents(arg uint32, arg2 unsafe.Pointer) int32

ClWaitForEvents calls the OpenCL framework function clWaitForEvents.

func GclCopyImage

func GclCopyImage(dstImage unsafe.Pointer, srcImage unsafe.Pointer, dstOrigin unsafe.Pointer, srcOrigin unsafe.Pointer, region unsafe.Pointer)

GclCopyImage calls the OpenCL framework function gcl_copy_image.

func GclCopyImageToPtr

func GclCopyImageToPtr(dstPtr unsafe.Pointer, srcImage unsafe.Pointer, srcOrigin unsafe.Pointer, region unsafe.Pointer)

GclCopyImageToPtr calls the OpenCL framework function gcl_copy_image_to_ptr.

func GclCopyPtrToImage

func GclCopyPtrToImage(dstImage ClMem, srcPtr unsafe.Pointer, dstOrigin unsafe.Pointer, region unsafe.Pointer)

GclCopyPtrToImage calls the OpenCL framework function gcl_copy_ptr_to_image.

func GclCreateDispatchQueue

func GclCreateDispatchQueue(flags uint64, deviceId ClDeviceId) unsafe.Pointer

GclCreateDispatchQueue calls the OpenCL framework function gcl_create_dispatch_queue.

func GclCreateImage

func GclCreateImage(imageFormat *ClImageFormat, imageWidth int, imageHeight int, imageDepth int, ioSurface coregraphics.IOSurfaceRef) unsafe.Pointer

GclCreateImage calls the OpenCL framework function gcl_create_image.

func GclFree

func GclFree(ptr unsafe.Pointer)

GclFree calls the OpenCL framework function gcl_free.

func GclGetKernelBlockWorkgroupInfo

func GclGetKernelBlockWorkgroupInfo(kernelBlockPtr unsafe.Pointer, paramName uint32, paramValueSize int, paramValue unsafe.Pointer) (paramValueSizeRet int)

GclGetKernelBlockWorkgroupInfo calls the OpenCL framework function gcl_get_kernel_block_workgroup_info.

func GclGlCreateImageFromRenderbuffer

func GclGlCreateImageFromRenderbuffer(renderBuffer uint32) unsafe.Pointer

GclGlCreateImageFromRenderbuffer calls the OpenCL framework function gcl_gl_create_image_from_renderbuffer.

func GclGlCreateImageFromTexture

func GclGlCreateImageFromTexture(textureTarget uint32, mipLevel int32, texture uint32) unsafe.Pointer

GclGlCreateImageFromTexture calls the OpenCL framework function gcl_gl_create_image_from_texture.

func GclGlCreatePtrFromBuffer

func GclGlCreatePtrFromBuffer(bufobj uint32) unsafe.Pointer

GclGlCreatePtrFromBuffer calls the OpenCL framework function gcl_gl_create_ptr_from_buffer.

func GclGlSetSharegroup

func GclGlSetSharegroup(share unsafe.Pointer)

GclGlSetSharegroup calls the OpenCL framework function gcl_gl_set_sharegroup.

func GclMalloc

func GclMalloc(data int, hostPtr unsafe.Pointer, flags uint64) unsafe.Pointer

GclMalloc calls the OpenCL framework function gcl_malloc.

func GclMapImage

func GclMapImage(image unsafe.Pointer, mapFlags uint64, origin unsafe.Pointer, region unsafe.Pointer) unsafe.Pointer

GclMapImage calls the OpenCL framework function gcl_map_image.

func GclMapPtr

func GclMapPtr(ptr unsafe.Pointer, mapFlags uint64, cb int) unsafe.Pointer

GclMapPtr calls the OpenCL framework function gcl_map_ptr.

func GclMemcpy

func GclMemcpy(dst unsafe.Pointer, src unsafe.Pointer, size int)

GclMemcpy calls the OpenCL framework function gcl_memcpy.

func GclMemcpyRect

func GclMemcpyRect(dst unsafe.Pointer, src unsafe.Pointer, dstOrigin unsafe.Pointer, srcOrigin unsafe.Pointer, region unsafe.Pointer, dstRowPitch int, dstSlicePitch int, srcRowPitch int, srcSlicePitch int)

GclMemcpyRect calls the OpenCL framework function gcl_memcpy_rect.

func GclReleaseImage

func GclReleaseImage(image unsafe.Pointer)

GclReleaseImage calls the OpenCL framework function gcl_release_image.

func GclRetainImage

func GclRetainImage(image unsafe.Pointer)

GclRetainImage calls the OpenCL framework function gcl_retain_image.

func GclSetFinalizer

func GclSetFinalizer(object unsafe.Pointer, clPfnFinalizer unsafe.Pointer, userData unsafe.Pointer)

GclSetFinalizer calls the OpenCL framework function gcl_set_finalizer.

func GclStartTimer

func GclStartTimer() uint64

GclStartTimer calls the OpenCL framework function gcl_start_timer.

func GclStopTimer

func GclStopTimer(t uint64) float64

GclStopTimer calls the OpenCL framework function gcl_stop_timer.

func GclUnmap

func GclUnmap(arg unsafe.Pointer)

GclUnmap calls the OpenCL framework function gcl_unmap.

Types

type AutoreleaseFrequency added in v0.17.0

type AutoreleaseFrequency uint64
const (
	AutoreleaseFrequencyInherit  AutoreleaseFrequency = 0
	AutoreleaseFrequencyWorkItem AutoreleaseFrequency = 1
	AutoreleaseFrequencyNever    AutoreleaseFrequency = 2
)

func (AutoreleaseFrequency) String added in v0.17.0

func (e AutoreleaseFrequency) String() string

String returns the AutoreleaseFrequency constant's name, or its numeric form when the value is not a known constant.

type BlockFlags added in v0.17.0

type BlockFlags uint64

Bitmask — values may be combined with |.

const (
	BlockFlagsBarrier         BlockFlags = 1
	BlockFlagsDetached        BlockFlags = 2
	BlockFlagsAssignCurrent   BlockFlags = 4
	BlockFlagsNoQosClass      BlockFlags = 8
	BlockFlagsInheritQosClass BlockFlags = 16
	BlockFlagsEnforceQosClass BlockFlags = 32
)

func (BlockFlags) String added in v0.17.0

func (e BlockFlags) String() string

String returns the BlockFlags constant's name, or its numeric form when the value is not a known constant.

type CGLCPContextPriorityRequest

type CGLCPContextPriorityRequest int32
const (
	KCGLCPContextPriorityRequestHigh   CGLCPContextPriorityRequest = 0
	KCGLCPContextPriorityRequestNormal CGLCPContextPriorityRequest = 1
	KCGLCPContextPriorityRequestLow    CGLCPContextPriorityRequest = 2
)

func (CGLCPContextPriorityRequest) String

String returns the CGLCPContextPriorityRequest constant's name, or its numeric form when the value is not a known constant.

type ClBufferRegion

type ClBufferRegion struct {
	Origin uint
	Size   uint
}

type ClCommandQueue

type ClCommandQueue struct{ obj.Object }

ClCommandQueue is a handle for the opaque _cl_command_queue type.

func ClCreateCommandQueue

func ClCreateCommandQueue(arg ClContext, arg2 ClDeviceId, arg3 uint64) (result ClCommandQueue, arg4 int32)

ClCreateCommandQueue calls the OpenCL framework function clCreateCommandQueue.

func ClCreateCommandQueueWithPropertiesAPPLE

func ClCreateCommandQueueWithPropertiesAPPLE(arg ClContext, arg2 ClDeviceId, arg3 unsafe.Pointer) (result ClCommandQueue, arg4 int32)

ClCreateCommandQueueWithPropertiesAPPLE calls the OpenCL framework function clCreateCommandQueueWithPropertiesAPPLE.

func (ClCommandQueue) IsNil added in v0.18.0

func (h ClCommandQueue) IsNil() bool

IsNil reports whether ClCommandQueue is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClContext

type ClContext struct{ obj.Object }

ClContext is a handle for the opaque _cl_context type.

func ClCreateContext

func ClCreateContext(arg unsafe.Pointer, arg2 uint32, arg3 unsafe.Pointer, arg4 unsafe.Pointer, arg5 unsafe.Pointer) (result ClContext, arg6 int32)

ClCreateContext calls the OpenCL framework function clCreateContext.

func ClCreateContextFromType

func ClCreateContextFromType(arg unsafe.Pointer, arg2 uint64, arg3 unsafe.Pointer, arg4 unsafe.Pointer) (result ClContext, arg5 int32)

ClCreateContextFromType calls the OpenCL framework function clCreateContextFromType.

func GclGetContext

func GclGetContext() ClContext

GclGetContext calls the OpenCL framework function gcl_get_context.

func (ClContext) IsNil added in v0.18.0

func (h ClContext) IsNil() bool

IsNil reports whether ClContext is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClDag

type ClDag struct{ obj.Object }

ClDag is a handle for the opaque _cl_dag type.

func ClCreateDAGAPPLE

func ClCreateDAGAPPLE(c ClContext) ClDag

ClCreateDAGAPPLE calls the OpenCL framework function clCreateDAGAPPLE.

func (ClDag) IsNil added in v0.18.0

func (h ClDag) IsNil() bool

IsNil reports whether ClDag is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClDeviceId

type ClDeviceId struct{ obj.Object }

ClDeviceId is a handle for the opaque _cl_device_id type.

func GclGetDeviceIdWithDispatchQueue

func GclGetDeviceIdWithDispatchQueue(queue dispatch.Queue) ClDeviceId

GclGetDeviceIdWithDispatchQueue calls the OpenCL framework function gcl_get_device_id_with_dispatch_queue.

func (ClDeviceId) IsNil added in v0.18.0

func (h ClDeviceId) IsNil() bool

IsNil reports whether ClDeviceId is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClEvent

type ClEvent struct{ obj.Object }

ClEvent is a handle for the opaque _cl_event type.

func ClCreateEventFromGLsyncKHR

func ClCreateEventFromGLsyncKHR(arg ClContext, arg2 ClGLsync) (result ClEvent, arg3 int32)

ClCreateEventFromGLsyncKHR calls the OpenCL framework function clCreateEventFromGLsyncKHR.

func ClCreateUserEvent

func ClCreateUserEvent(arg ClContext) (result ClEvent, arg2 int32)

ClCreateUserEvent calls the OpenCL framework function clCreateUserEvent.

func (ClEvent) IsNil added in v0.18.0

func (h ClEvent) IsNil() bool

IsNil reports whether ClEvent is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClGLsync added in v0.18.0

type ClGLsync struct{ obj.Object }

ClGLsync is a handle for the opaque cl_GLsync type.

func (ClGLsync) IsNil added in v0.18.0

func (h ClGLsync) IsNil() bool

IsNil reports whether ClGLsync is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClImageDesc

type ClImageDesc struct {
	ImageType       uint32
	ImageWidth      uint
	ImageHeight     uint
	ImageDepth      uint
	ImageArraySize  uint
	ImageRowPitch   uint
	ImageSlicePitch uint
	NumMipLevels    uint32
	NumSamples      uint32
	Buffer          unsafe.Pointer
}

type ClImageFormat

type ClImageFormat struct {
	ImageChannelOrder    uint32
	ImageChannelDataType uint32
}

func ClGetSupportedImageFormats

func ClGetSupportedImageFormats(arg ClContext, arg2 uint64, arg3 uint32, arg4 uint32) (result int32, arg5 ClImageFormat, arg6 uint32)

ClGetSupportedImageFormats calls the OpenCL framework function clGetSupportedImageFormats.

func GclGetSupportedImageFormats

func GclGetSupportedImageFormats(deviceId ClDeviceId, imageType uint32, numEntries int) (imageFormats ClImageFormat, numImageFormats uint32)

GclGetSupportedImageFormats calls the OpenCL framework function gcl_get_supported_image_formats.

type ClKernel

type ClKernel struct{ obj.Object }

ClKernel is a handle for the opaque _cl_kernel type.

func ClCreateKernel

func ClCreateKernel(arg ClProgram, arg2 string) (result ClKernel, arg3 int32)

ClCreateKernel calls the OpenCL framework function clCreateKernel.

func ClCreateKernelFromDAGAPPLE

func ClCreateKernelFromDAGAPPLE(d ClDag, n uint32, list unsafe.Pointer) ClKernel

ClCreateKernelFromDAGAPPLE calls the OpenCL framework function clCreateKernelFromDAGAPPLE.

func GclCreateKernelFromBlock

func GclCreateKernelFromBlock(kernelBlockPtr unsafe.Pointer) ClKernel

GclCreateKernelFromBlock calls the OpenCL framework function gcl_create_kernel_from_block.

func (ClKernel) IsNil added in v0.18.0

func (h ClKernel) IsNil() bool

IsNil reports whether ClKernel is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClMem

type ClMem struct{ obj.Object }

ClMem is a handle for the opaque _cl_mem type.

func ClCreateBuffer

func ClCreateBuffer(arg ClContext, arg2 uint64, arg3 int, arg4 unsafe.Pointer) (result ClMem, arg5 int32)

ClCreateBuffer calls the OpenCL framework function clCreateBuffer.

func ClCreateFromGLBuffer

func ClCreateFromGLBuffer(arg ClContext, arg2 uint64, arg3 int) (result ClMem, arg4 int32)

ClCreateFromGLBuffer calls the OpenCL framework function clCreateFromGLBuffer.

func ClCreateFromGLRenderbuffer

func ClCreateFromGLRenderbuffer(arg ClContext, arg2 uint64, arg3 int) (result ClMem, arg4 int32)

ClCreateFromGLRenderbuffer calls the OpenCL framework function clCreateFromGLRenderbuffer.

func ClCreateFromGLTexture

func ClCreateFromGLTexture(arg ClContext, arg2 uint64, arg3 int, arg4 int, arg5 int) (result ClMem, arg6 int32)

ClCreateFromGLTexture calls the OpenCL framework function clCreateFromGLTexture.

func ClCreateFromGLTexture2D

func ClCreateFromGLTexture2D(arg ClContext, arg2 uint64, arg3 int, arg4 int, arg5 int) (result ClMem, arg6 int32)

ClCreateFromGLTexture2D calls the OpenCL framework function clCreateFromGLTexture2D.

func ClCreateFromGLTexture3D

func ClCreateFromGLTexture3D(arg ClContext, arg2 uint64, arg3 int, arg4 int, arg5 int) (result ClMem, arg6 int32)

ClCreateFromGLTexture3D calls the OpenCL framework function clCreateFromGLTexture3D.

func ClCreateImage

func ClCreateImage(arg ClContext, arg2 uint64, arg3 *ClImageFormat, arg4 unsafe.Pointer, arg5 unsafe.Pointer) (result ClMem, arg6 int32)

ClCreateImage calls the OpenCL framework function clCreateImage.

func ClCreateImage2D

func ClCreateImage2D(arg ClContext, arg2 uint64, arg3 *ClImageFormat, arg4 int, arg5 int, arg6 int, arg7 unsafe.Pointer) (result ClMem, arg8 int32)

ClCreateImage2D calls the OpenCL framework function clCreateImage2D.

func ClCreateImage3D

func ClCreateImage3D(arg ClContext, arg2 uint64, arg3 *ClImageFormat, arg4 int, arg5 int, arg6 int, arg7 int, arg8 int, arg9 unsafe.Pointer) (result ClMem, arg10 int32)

ClCreateImage3D calls the OpenCL framework function clCreateImage3D.

func ClCreateImageFromIOSurface2DAPPLE

func ClCreateImageFromIOSurface2DAPPLE(arg ClContext, arg2 uint64, arg3 *ClImageFormat, arg4 int, arg5 int, arg6 coregraphics.IOSurfaceRef) (result ClMem, arg7 int32)

ClCreateImageFromIOSurface2DAPPLE calls the OpenCL framework function clCreateImageFromIOSurface2DAPPLE.

func ClCreateImageFromIOSurfaceWithPropertiesAPPLE

func ClCreateImageFromIOSurfaceWithPropertiesAPPLE(arg ClContext, arg2 uint64, arg3 *ClImageFormat, arg4 unsafe.Pointer) (result ClMem, arg5 int, arg6 int32)

ClCreateImageFromIOSurfaceWithPropertiesAPPLE calls the OpenCL framework function clCreateImageFromIOSurfaceWithPropertiesAPPLE.

func ClCreateSubBuffer

func ClCreateSubBuffer(arg ClMem, arg2 uint64, arg3 uint32, arg4 unsafe.Pointer) (result ClMem, arg5 int32)

ClCreateSubBuffer calls the OpenCL framework function clCreateSubBuffer.

func GclCreateBufferFromPtr

func GclCreateBufferFromPtr(ptr unsafe.Pointer) ClMem

GclCreateBufferFromPtr calls the OpenCL framework function gcl_create_buffer_from_ptr.

func (ClMem) IsNil added in v0.18.0

func (h ClMem) IsNil() bool

IsNil reports whether ClMem is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClNdrange

type ClNdrange struct {
	WorkDim          uint
	GlobalWorkOffset [3]uint
	GlobalWorkSize   [3]uint
	LocalWorkSize    [3]uint
}

type ClPlatformId

type ClPlatformId struct{ obj.Object }

ClPlatformId is a handle for the opaque _cl_platform_id type.

func (ClPlatformId) IsNil added in v0.18.0

func (h ClPlatformId) IsNil() bool

IsNil reports whether ClPlatformId is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClProgram

type ClProgram struct{ obj.Object }

ClProgram is a handle for the opaque _cl_program type.

func ClCreateProgramWithBinary

func ClCreateProgramWithBinary(arg ClContext, arg2 uint32, arg3 unsafe.Pointer, arg4 unsafe.Pointer, arg5 unsafe.Pointer) (result ClProgram, arg6 int32, arg7 int32)

ClCreateProgramWithBinary calls the OpenCL framework function clCreateProgramWithBinary.

func ClCreateProgramWithBuiltInKernels

func ClCreateProgramWithBuiltInKernels(arg ClContext, arg2 uint32, arg3 unsafe.Pointer, arg4 string) (result ClProgram, arg5 int32)

ClCreateProgramWithBuiltInKernels calls the OpenCL framework function clCreateProgramWithBuiltInKernels.

func ClCreateProgramWithSource

func ClCreateProgramWithSource(arg ClContext, arg2 uint32, arg3 string, arg4 unsafe.Pointer) (result ClProgram, arg5 int32)

ClCreateProgramWithSource calls the OpenCL framework function clCreateProgramWithSource.

func ClLinkProgram

func ClLinkProgram(arg ClContext, arg2 uint32, arg3 unsafe.Pointer, arg4 string, arg5 uint32, arg6 unsafe.Pointer, arg7 unsafe.Pointer, arg8 unsafe.Pointer) (result ClProgram, arg9 int32)

ClLinkProgram calls the OpenCL framework function clLinkProgram.

func (ClProgram) IsNil added in v0.18.0

func (h ClProgram) IsNil() bool

IsNil reports whether ClProgram is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClSampler

type ClSampler struct{ obj.Object }

ClSampler is a handle for the opaque _cl_sampler type.

func ClCreateSampler

func ClCreateSampler(arg ClContext, arg2 uint32, arg3 uint32, arg4 uint32) (result ClSampler, arg5 int32)

ClCreateSampler calls the OpenCL framework function clCreateSampler.

func (ClSampler) IsNil added in v0.18.0

func (h ClSampler) IsNil() bool

IsNil reports whether ClSampler is a NULL handle (it wraps no object). Call it before using a returned handle; a nil handle's methods panic.

type ClkSamplerType added in v0.17.0

type ClkSamplerType int32
const (
	ClkSamplerTypeAddressBase           ClkSamplerType = 0
	ClkSamplerTypeAddressNone           ClkSamplerType = 0
	ClkSamplerTypeAddressClamp          ClkSamplerType = 1
	ClkSamplerTypeAddressClampToEdge    ClkSamplerType = 2
	ClkSamplerTypeAddressRepeat         ClkSamplerType = 3
	ClkSamplerTypeAddressMirroredRepeat ClkSamplerType = 4
	ClkSamplerTypeAddressMask           ClkSamplerType = 7
	ClkSamplerTypeAddressBits           ClkSamplerType = 3
	ClkSamplerTypeNormalizedBase        ClkSamplerType = 3
	ClkSamplerTypeNormalizedCoordsFalse ClkSamplerType = 0
	ClkSamplerTypeNormalizedCoordsTrue  ClkSamplerType = 8
	ClkSamplerTypeNormalizedMask        ClkSamplerType = 8
	ClkSamplerTypeNormalizedBits        ClkSamplerType = 1
	ClkSamplerTypeFilterBase            ClkSamplerType = 4
	ClkSamplerTypeFilterNearest         ClkSamplerType = 0
	ClkSamplerTypeFilterLinear          ClkSamplerType = 16
	ClkSamplerTypeFilterMask            ClkSamplerType = 16
	ClkSamplerTypeFilterBits            ClkSamplerType = 2
)

func (ClkSamplerType) String added in v0.17.0

func (e ClkSamplerType) String() string

String returns the ClkSamplerType constant's name, or its numeric form when the value is not a known constant.

type FilesecProperty added in v0.17.0

type FilesecProperty int32
const (
	FilesecPropertyOwner        FilesecProperty = 1
	FilesecPropertyGroup        FilesecProperty = 2
	FilesecPropertyUUID         FilesecProperty = 3
	FilesecPropertyMode         FilesecProperty = 4
	FilesecPropertyACL          FilesecProperty = 5
	FilesecPropertyGrpuuid      FilesecProperty = 6
	FilesecPropertyACLRaw       FilesecProperty = 100
	FilesecPropertyACLAllocsize FilesecProperty = 101
)

func (FilesecProperty) String added in v0.17.0

func (e FilesecProperty) String() string

String returns the FilesecProperty constant's name, or its numeric form when the value is not a known constant.

type GLsync

type GLsync struct{}

type IOSurface

type IOSurface struct{}

type Idtype added in v0.17.0

type Idtype int32
const (
	IdtypeAll  Idtype = 0
	IdtypePid  Idtype = 1
	IdtypePgid Idtype = 2
)

func (Idtype) String added in v0.17.0

func (e Idtype) String() string

String returns the Idtype constant's name, or its numeric form when the value is not a known constant.

type MpoFlags added in v0.17.0

type MpoFlags uint32

Bitmask — values may be combined with |.

const (
	MpoFlagsPort                        MpoFlags = 0
	MpoFlagsServicePort                 MpoFlags = 1024
	MpoFlagsConnectionPort              MpoFlags = 2048
	MpoFlagsReplyPort                   MpoFlags = 4096
	MpoFlagsWeakReplyPort               MpoFlags = 16384
	MpoFlagsNotificationPort            MpoFlags = 17408
	MpoFlagsExceptionPort               MpoFlags = 32768
	MpoFlagsConnectionPortWithPortArray MpoFlags = 65536
)

func (MpoFlags) String added in v0.17.0

func (e MpoFlags) String() string

String returns the MpoFlags constant's name, or its numeric form when the value is not a known constant.

type OSClockid added in v0.17.0

type OSClockid uint32
const (
	OSClockidTime OSClockid = 32
)

func (OSClockid) String added in v0.17.0

func (e OSClockid) String() string

String returns the OSClockid constant's name, or its numeric form when the value is not a known constant.

type QosClass added in v0.17.0

type QosClass uint32
const (
	QosClassUserInteractive QosClass = 33
	QosClassUserInitiated   QosClass = 25
	QosClassDefault         QosClass = 21
	QosClassUtility         QosClass = 17
	QosClassBackground      QosClass = 9
	QosClassUnspecified     QosClass = 0
)

func (QosClass) String added in v0.17.0

func (e QosClass) String() string

String returns the QosClass constant's name, or its numeric form when the value is not a known constant.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL