API Reference

Here you will find documentation generated from the oneAPI Construction Kit’s source code.

cl module

group cl

Typedefs

typedef _cl_mem_buffer *cl_mem_buffer

Subclass of _cl_mem representing OpenCL buffer objects.

While this struct inherits from _cl_mem it cannot be destroyed via a pointer to _cl_mem. Query the _cl_mem::type to know if a _cl_mem pointer references a buffer or an image and cast to _cl_mem_buffer or _cl_mem_image accordingly before destroying the mem object. This is required to ensure that the ICD dispatch table field is the first one in an OpenCL memory object.

pfn_notify_context_t = void(CL_CALLBACK *)(const char *errinfo, const void *private_info, size_t cb, void *user_data)

Context creation callback function pointer definition.

Param errinfo

Pointer to the error string.

Param private_info

Pointer to the implementation defined binary data, can be used to log additional information to help with debugging.

Param cb

Size of the binary data pointed to by private_info.

Param user_data

Pointer to user supplied data.

pfn_event_notify_t = void(CL_CALLBACK *)(cl_event event, cl_int event_command_exec_status, void *user_data)

Event callback function pointer definition.

Param event

[in] Event the callback belongs to.

Param event_command_exec_status

[in] Static of the commands execution.

Param user_data

[in] User data to be passed to the callback function.

typedef _cl_mem_image *cl_mem_image

OpenCL image.

While this struct inherits from _cl_mem it cannot be destroyed via a pointer to _cl_mem. Query the _cl_mem::type to know if a _cl_mem pointer references a buffer or an image and cast to _cl_mem_buffer or _cl_mem_image accordingly before destroying the mem object. This is required to ensure that the ICD dispatch table field is the first one in an OpenCL memory object.

user_func_t = void(CL_CALLBACK *)(void *args)

Host callable function pointer definition.

Param args

A pointer to the argument list.

pfn_notify_mem_t = void(CL_CALLBACK *)(cl_mem memobj, void *user_data)

Memory object destructor callback function pointer definition.

Param memobj

Memory object the callback belongs to.

Param user_data

User data to pass to the callback function.

pfn_free_func_t = void(CL_CALLBACK *)(cl_command_queue queue, cl_uint num_svm_pointers, void *svm_pointers[], void *user_data)

SVM free callback function pointer definition.

Param queue

[in] Command queue passed to callback from API.

Param num_svm_pointers

[in] Number of elements in svm_pointers.

Param svm_pointers

[in] list of SVM pointers to free.

Param user_data

[in] Pointer to user supplied data.

pfn_notify_t = void(CL_CALLBACK *)(cl_program program, void *user_data)

Program release callback function pointer definition.

Param program

[in] Program object passed to callback.

Param user_data

[in] Pointer to user supplied data.

Enums

enum ref_count_type

Enumeration of reference counting initialization types.

Values:

enumerator INTERNAL

Initialize internal and external reference count to 1.

enumerator EXTERNAL

Initialize internal reference count to 1, external to 0.

Functions

template<class T>
cl_int invalid()

Get specific OpenCL object type invalid return code.

Template Parameters

T – Type of the object.

Returns

Returns the CL_INVALID_<OBJECT> which relates to T.

template<class T>
cl_int retainExternal(T object)

Increment an objects external reference count.

Template Parameters

T – Type of the object.

Parameters

object – Object to increment the reference count on.

Returns

Returns CL_SUCCESS, CL_OUT_OF_RESOURCES if an overflow occurs, CL_INVALID_<OBJECT> if the external reference count is zero.

template<class T>
cl_int releaseExternal(T object)

Decrement an objects external reference count.

Template Parameters

T – Type of the object.

Parameters

object – Object to decrement the reference count on, must not be allocated with new T[].

Returns

Returns CL_SUCCESS, CL_INVALID_<OBJECT> if the external reference count is zero.

template<>
cl_int releaseExternal<cl_mem>(cl_mem object)

Declare specialization for cl_mem.

Destruction of cl_mem objects differs depending on if it represents a buffer or an image, declaring the specialization here is a work around for multiply defined symbols in Visual Studio which will instantiate the template function in addition to the specialzation.

Parameters

object – Object to decrement the reference count on, must not be allocated with new T[].

Returns

Returns CL_SUCCESS, CL_INVALID_<OBJECT> if the external reference count is zero.

template<class T>
cl_int retainInternal(T object)

Increment an object’s internal reference count.

Template Parameters

T – Type of the object.

Parameters

object – Object to increment the reference count on.

Returns

Returns CL_SUCCESS, CL_OUT_OF_RESOURCES if an overflow occurs, or CL_INVALID_<OBJECT> if object is not valid.

template<class T>
void releaseInternal(T object)

Decrement an objects internal reference count.

Template Parameters

T – Type of the object.

Parameters

object – Object to decrement the reference count on, must not be allocated with new T[].

template<>
void releaseInternal<cl_mem>(cl_mem object)

Declare specialization for cl_mem.

Destruction of cl_mem objects differs depending on if it represents a buffer or an image, declaring the specialization here is a work around for multiply defined symbols in Visual Studio which will instantiate the template function in addition to the specialzation.

Parameters

object – Object to decrement the reference count on, must not be allocated with new T[].

CL_API_ENTRY cl_mem CL_API_CALL CreateBuffer (cl_context context, cl_mem_flags flags, size_t size, void *host_ptr, cl_int *errcode_ret)

Create an OpenCL buffer memory object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateBuffer.html

Parameters
  • context[in] Context the buffer belongs to.

  • flags[in] Memory allocation flags.

  • size[in] Size in bytes of the requested device allocation.

  • host_ptr[in] Pointer to optionally provide user memory.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new buffer memory object.

CL_API_ENTRY cl_mem CL_API_CALL CreateSubBuffer (cl_mem buffer, cl_mem_flags flags, cl_buffer_create_type buffer_create_type, const void *buffer_create_info, cl_int *errcode_ret)

Create an OpenCL sub buffer memory object from existing buffer.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateSubBuffer.html

Parameters
  • buffer[in] Buffer object to create the sub buffer from.

  • flags[in] Memory allocation flags.

  • buffer_create_type[in] Type of sub buffer to create.

  • buffer_create_info[in] Information about how to create the sub buffer.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new sub buffer memory object.

CL_API_ENTRY cl_int CL_API_CALL EnqueueWriteBufferRect (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_write, const size_t *buffer_origin, const size_t *host_origin, const size_t *region, size_t buffer_row_pitch, size_t buffer_slice_pitch, size_t host_row_pitch, size_t host_slice_pitch, const void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a rectangular region buffer write to the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueWriteBufferRect.html

Parameters
  • command_queue[in] Command queue to enqueue the write on.

  • buffer[in] Buffer object to write into.

  • blocking_write[in] Blocking or non-blocking queue operation.

  • buffer_origin[in] Offset in bytes into the buffer to begin writing from.

  • host_origin[in] Offset in bytes into the host pointer to begin reading from.

  • region[in] Rectangular region to write.

  • buffer_row_pitch[in] Size in bytes of a buffer row, may be 0.

  • buffer_slice_pitch[in] Size in bytes of a buffer slice, may be 0.

  • host_row_pitch[in] Size in bytes of a host pointer row, may be 0.

  • host_slice_pitch[in] Size in bytes of a host pointer slice, may be 0.

  • ptr[in] Host pointer to write from.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueReadBufferRect (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, const size_t *buffer_origin, const size_t *host_origin, const size_t *region, size_t buffer_row_pitch, size_t buffer_slice_pitch, size_t host_row_pitch, size_t host_slice_pitch, void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a rectangular region buffer read to the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueReadBufferRect.html

Parameters
  • command_queue[in] Command queue to enqueue the read on.

  • buffer[in] Buffer object to read from.

  • blocking_read[in] Blocking or non-blocking queue operation.

  • buffer_origin[in] Offset into the buffer to begin reading from.

  • host_origin[in] Offset into the host pointer to begin writing from.

  • region[in] Rectangular region to read.

  • buffer_row_pitch[in] Size in bytes of a buffer row, may be 0.

  • buffer_slice_pitch[in] Size in bytes of a buffer slice, may be 0.

  • host_row_pitch[in] Size in bytes of a host pointer row, may be 0.

  • host_slice_pitch[in] Size in bytes of a host pointer slice, may be 0.

  • ptr[in] Host pointer to read into.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[out] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueCopyBufferRect (cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, const size_t *src_origin, const size_t *dst_origin, const size_t *region, size_t src_row_pitch, size_t src_slice_pitch, size_t dst_row_pitch, size_t dst_slice_pitch, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a rectangular region buffer copy to the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueCopyBufferRect.html

Parameters
  • command_queue[in] Command queue to enqueue the copy on.

  • src_buffer[in] Source buffer to copy from.

  • dst_buffer[in] Destination buffer to copy to.

  • src_origin[in] Offset in bytes into the source buffer to begin copying from.

  • dst_origin[in] Offset in bytes into the destination buffer to begin copying into.

  • region[in] Rectangular region to copy.

  • src_row_pitch[in] Size in bytes of a source buffer row, may be 0.

  • src_slice_pitch[in] Size in bytes of a source buffer slice, may be 0.

  • dst_row_pitch[in] Size in bytes of a destination buffer row, may be 0.

  • dst_slice_pitch[in] Size in bytes of a destination buffer slice, may be 0.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY void *CL_API_CALL EnqueueMapBuffer (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_map, cl_map_flags map_flags, size_t offset, size_t size, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event, cl_int *errcode_ret)

Enqueue a buffer map to the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMapBuffer.html

Parameters
  • command_queue[in] Command queue to enqueue the map on.

  • buffer[in] Buffer to map.

  • blocking_map[in] Blocking or non-blocking queue operation.

  • map_flags[in] Type of map to perform, bit field.

  • offset[in] Offset in bytes into buffer to begin map.

  • size[in] Size in bytes of region to be mapped.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[in] Return event in not null.

  • errcode_ret[out] Return error code in not null.

Returns

Return void pointer to mapped memory.

CL_API_ENTRY cl_int CL_API_CALL EnqueueWriteBuffer (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_write, size_t offset, size_t size, const void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a buffer write to the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueWriteBuffer.html

Parameters
  • command_queue[in] Command queue to enqueue the write on.

  • buffer[in] Buffer object to write to.

  • blocking_write[in] Blocking or non-blocking queue operation.

  • offset[in] Offset in bytes into buffer to begin write.

  • size[in] Size in bytes of the region to write.

  • ptr[in] Host pointer to write buffer from.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event in not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueReadBuffer (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, size_t offset, size_t size, void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a buffer read to the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueReadBuffer.html

Parameters
  • command_queue[in] Command queue to enqueue the read on.

  • buffer[in] Buffer object to read from.

  • blocking_read[in] Blocking or non-blocking queue operation.

  • offset[in] Offset in bytes into the buffer to read.

  • size[in] Size in bytes of the region to read.

  • ptr[in] Host pointer to read buffer into.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueCopyBuffer (cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, size_t src_offset, size_t dst_offset, size_t size, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a buffer copy to the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueCopyBuffer.html

Parameters
  • command_queue[in] Command queue to enqueue the copy on.

  • src_buffer[in] Source buffer to copy from.

  • dst_buffer[in] Destination buffer to copy to.

  • src_offset[in] Source buffer offset in bytes to begin copy.

  • dst_offset[in] Destination buffer offset in bytes to begin copy.

  • size[in] Size in bytes of region to copy.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueFillBuffer (cl_command_queue command_queue, cl_mem buffer, const void *pattern, size_t pattern_size, size_t offset, size_t size, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a buffer fill on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueFillBuffer.html

Parameters
  • command_queue[in] Command queue to enqueue fill on.

  • buffer[in] Buffer to fill.

  • pattern[in] Pattern to fill buffer with.

  • pattern_size[in] Size in bytes of the pattern to fill with.

  • offset[in] Offset in bytes to begin the fill.

  • size[in] Size in bytes of the region to fill.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_command_queue CL_API_CALL CreateCommandQueue (cl_context context, cl_device_id device, cl_command_queue_properties properties, cl_int *errcode_ret)

Create an OpenCL command queue object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateCommandQueue.html

Parameters
  • context – Context the command queue belongs to.

  • device – Device the command queue will target.

  • properties – Bitfield of properties the queue should enable such as out of order execution or profiling, may be zero.

  • errcode_ret – Return error code if not null.

Returns

Return the new command queue object.

CL_API_ENTRY cl_int CL_API_CALL RetainCommandQueue (cl_command_queue command_queue)

Increment the command queue reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clRetainCommandQueue.html

Parameters

command_queue – Command queue to increment the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL ReleaseCommandQueue (cl_command_queue command_queue)

Decrement the command queue reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clReleaseCommandQueue.html

Parameters

command_queue – Command queue to decrement the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetCommandQueueInfo (cl_command_queue command_queue, cl_command_queue_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the command queue for information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetCommandQueueInfo.html

Parameters
  • command_queue – Command queue to query for information.

  • param_name – Type of information to query.

  • param_value_size – Size in bytes of param_value storage.

  • param_value – Pointer to value to store information, may be null.

  • param_value_size_ret – Return size in bytes required for param_value to store information if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueBarrierWithWaitList (cl_command_queue queue, cl_uint num_events, const cl_event *event_list, cl_event *event)

Enqueue a memory barrier to the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueBarrierWithWaitList.html

Parameters
  • queue[in] Command queue to enqueue the barrier on.

  • num_events[in] Number of event in the event_list.

  • event_list[in] List of events to wait on.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueMarkerWithWaitList (cl_command_queue queue, cl_uint num_events, const cl_event *event_list, cl_event *event)

Enqueue a marker to wait for execution to complete.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMarkerWithWaitList.html

Parameters
  • queue[in] Command queue to enqueue marker on.

  • num_events[in] Number of events in event_list.

  • event_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueWaitForEvents (cl_command_queue queue, cl_uint num_events, const cl_event *event_list)

Enqueue an event wait list, deprecated in OpenCL 1.2.

See

http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueWaitForEvents.html

Parameters
  • queue[in] Command queue to enqueue wait on.

  • num_events[in] Number of events in the event_list.

  • event_list[in] List of event to wait for.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL Flush (cl_command_queue command_queue)

Submit all previously enqueued commands for execution.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clFlush.html

Parameters

command_queue – Command queue to submit commands on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL Finish (cl_command_queue command_queue)

Blocks until all previously enqueued commands are complete.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clFinish.html

Parameters

command_queue – Command queue to submit commands on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueBarrier (cl_command_queue queue)

Enqueue a barrier on the command queue, deprecated in OpenCL 1.2.

See

http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueBarrier.html

Parameters

queue – Command queue to enqueue the barrier on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueMarker (cl_command_queue queue, cl_event *event)

Enqueue a marker on the command queue, deprecated in OpenCL 1.2.

See

http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clEnqueueMarker.html

Parameters
  • queue – Command queue to enqueue the marker on.

  • event – Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL SetCommandQueueProperty (cl_command_queue command_queue, cl_command_queue_properties properties, cl_bool enable, cl_command_queue_properties *old_properties)

Set a command queue property, deprecated in OpenCL 1.1 and unsupported.

See

Parameters
  • command_queue – Command queue to enqueue the barrier on.

  • properties – Command queue properties to set.

  • enable – CL_TRUE specifies to enable property.

  • old_properties – old properties.

Returns

Return error code.

CL_API_ENTRY cl_context CL_API_CALL CreateContext (const cl_context_properties *properties, cl_uint num_devices, const cl_device_id *devices, cl::pfn_notify_context_t pfn_notify, void *user_data, cl_int *errcode_ret)

Create an OpenCL context object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateContext.html

Parameters
  • properties[in] Properties to enable when creating the context.

  • num_devices[in] Number of elements in the devices list.

  • devices[in] List of devices to target with the context.

  • pfn_notify[in] Error callback function pointer.

  • user_data[in] User data to be passed to pfn_notify.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new context object.

CL_API_ENTRY cl_context CL_API_CALL CreateContextFromType (const cl_context_properties *properties, cl_device_type device_type, cl::pfn_notify_context_t pfn_notify, void *user_data, cl_int *errcode_ret)

Create an OpenCL context object from device type.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateContextFromType.html

Parameters
  • properties[in] Properties to enable when creating the context.

  • device_type[in] Type of device to target with the context.

  • pfn_notify[in] Error callback function pointer.

  • user_data[in] User data to be passed to pfn_notify.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new context object.

CL_API_ENTRY cl_int CL_API_CALL RetainContext (cl_context context)

Increment the context reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clRetainContext.html

Parameters

context[in] Context to increment the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL ReleaseContext (cl_context context)

Decrement the context reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clReleaseContext.html

Parameters

context[in] Context to decrement the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetContextInfo (cl_context context, cl_context_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the context for information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetContextInfo.html

Parameters
  • context[in] Context to query for information.

  • param_name[in] Type of information to query.

  • param_value_size[in] Size in bytes of param_value storage.

  • param_value[out] Pointer to value to store the information in.

  • param_value_size_ret[out] Return size in bytes required to store information in param_value.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetDeviceIDs (cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id *devices, cl_uint *num_devices)

Query the platform for its devices.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetDeviceIDs.html

Parameters
  • platform – Platform to query for devices.

  • device_type – Type of device to return.

  • num_entries – Number of elements in the devices list.

  • devices – List of device handles to store results in.

  • num_devices – Return number of devices the platform contains.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL RetainDevice (cl_device_id device)

Increment the device reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clRetainDevice.html

Parameters

device – Device to increment the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL ReleaseDevice (cl_device_id device)

Decrement the device reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clReleaseDevice.html

Parameters

device – Device to decrement the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetDeviceInfo (cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the device for information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetDeviceInfo.html

Parameters
  • device – Device to query for information.

  • param_name – Type of information to query.

  • param_value_size – Size in bytes of param_value storage.

  • param_value – Pointer to value to return information in.

  • param_value_size_ret – Return size in bytes of the storage required for param_value.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL CreateSubDevices (cl_device_id in_device, const cl_device_partition_property *properties, cl_uint num_devices, cl_device_id *out_devices, cl_uint *num_devices_ret)

Create an OpenCL sub device object by partitioning a device.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateSubDevices.html

Parameters
  • in_device – Device to partition to create the sub device.

  • properties – Properties to enable on the sub device.

  • num_devices – Number of devices in the out_devices list.

  • out_devices – Return list of sub devices.

  • num_devices_ret – Return number of devices required for out_devices.

Returns

Return error code.

inline bool isUserEvent(const cl_event event)

Check if an event is a user event.

Parameters

event – Event to check.

Returns

Returns true if this event is a user event, false otherwise.

CL_API_ENTRY cl_event CL_API_CALL CreateUserEvent (cl_context context, cl_int *errcode_ret)

Create an OpenCL user event object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateUserEvent.html

Parameters
  • context[in] Context the user event belong to.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new user event object.

CL_API_ENTRY cl_int CL_API_CALL RetainEvent (cl_event event)

Increment the events reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clRetainEvent.html

Parameters

event[in] Event to increment the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL ReleaseEvent (cl_event event)

Decrement the event reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clReleaseEvent.html

Parameters

event[in] Event to decrement the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL WaitForEvents (cl_uint num_events, const cl_event *event_list)

Wait for a list of events to complete execution.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clWaitForEvents.html

Parameters
  • num_events[in] Number of events in list to wait for.

  • event_list[in] List of events to wait for.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetEventInfo (cl_event event, cl_event_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the event for information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetEventInfo.html

Parameters
  • event[in] Event to query for information.

  • param_name[in] Type of information to query.

  • param_value_size[in] Size in bytes of param_value storage.

  • param_value[in] Pointer to value to store query in.

  • param_value_size_ret[out] Return size in bytes the query requires if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL SetEventCallback (cl_event event, cl_int command_exec_callback_type, cl::pfn_event_notify_t pfn_event_notify, void *user_data)

Register a callback function to notify when execution status changes.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clSetEventCallback.html

Parameters
  • event[in] Event to register callback with.

  • command_exec_callback_type[in] The command execution status the callback is registered for.

  • pfn_event_notify[in] Callback function to invoke when the event is triggered.

  • user_data[in] User data to pass to the callback function.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL SetUserEventStatus (cl_event event, cl_int execution_status)

Set the user events execution status.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clSetUserEventStatus.html

Parameters
  • event[in] User event to set the execution status on.

  • execution_status[in] Execution status to set on the user event.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetEventProfilingInfo (cl_event event, cl_profiling_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the event for profiling information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetEventProfilingInfo.html

Parameters
  • event[in] Event to query profiling information from.

  • param_name[in] Type of profiling information to query.

  • param_value_size[in] Size in bytes of param_value storage.

  • param_value[in] Pointer to value to store profiling information in.

  • param_value_size_ret[out] Return size in bytes param_value requires if not null.

Returns

Return error code.

CL_API_ENTRY cl_mem CL_API_CALL CreateImage (cl_context context, cl_mem_flags flags, const cl_image_format *image_format, const cl_image_desc *image_desc, void *host_ptr, cl_int *errcode_ret)

Create an OpenCL image memory object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateImage.html

Parameters
  • context[in] Context the image memory object belong to.

  • flags[in] Memory allocation flags.

  • image_format[in] Description of the image format.

  • image_desc[in] Description of the image.

  • host_ptr[in] User provided host pointer, may be null.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new image memory object.

CL_API_ENTRY cl_int CL_API_CALL GetSupportedImageFormats (cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format *image_formats, cl_uint *num_image_formats)

Query the context for supported image formats.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetSupportedImageFormats.html

Parameters
  • context[in] Context to query for supported image formats.

  • flags[in] Memory allocation flags used for the query.

  • image_type[in] Type of image to query for supported image formats.

  • num_entries[in] Number of entries in the image_formats list.

  • image_formats[out] List of image formats to be populated.

  • num_image_formats[out] Return number of entries if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueReadImage (cl_command_queue command_queue, cl_mem image, cl_bool blocking_read, const size_t *origin, const size_t *region, size_t row_pitch, size_t slice_pitch, void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue an image read on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueReadImage.html

Parameters
  • command_queue[in] Command queue to enqueue the image read on.

  • image[in] Image memory object to read from.

  • blocking_read[in] Blocking or non-blocking operation.

  • origin[in] Origin offset in pixels to begin reading from.

  • region[in] Region size in pixels to read.

  • row_pitch[in] Size in bytes of an output row.

  • slice_pitch[in] Size in bytes of an output slice.

  • ptr[in] Host pointer to read image data into.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueWriteImage (cl_command_queue command_queue, cl_mem image, cl_bool blocking_write, const size_t *origin, const size_t *region, size_t input_row_pitch, size_t input_slice_pitch, const void *ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue an image write on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueWriteImage.html

Parameters
  • command_queue[in] Command queue to enqueue the image write on.

  • image[in] Image memory object to write into.

  • blocking_write[in] Blocking or non-blocking operation.

  • origin[in] Origin offset in pixels to begin writing to.

  • region[in] Region size in pixels to write.

  • input_row_pitch[in] Size in bytes of an input row.

  • input_slice_pitch[in] Size in bytes of an input slice.

  • ptr[in] Host pointer to write image data into.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueFillImage (cl_command_queue command_queue, cl_mem image, const void *fill_color, const size_t *origin, const size_t *region, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue an image fill on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueFillImage.html

Parameters
  • command_queue[in] Command queue to enqueue the image fill on.

  • image[in] Image memory object to fill.

  • fill_color[in] Four element fill color value array.

  • origin[in] Origin offset in pixels to begin filling at.

  • region[in] Region size in pixels to fill.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueCopyImage (cl_command_queue command_queue, cl_mem src_image, cl_mem dst_image, const size_t *src_origin, const size_t *dst_origin, const size_t *region, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue an image copy on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueCopyImage.html

Parameters
  • command_queue[in] Command queue to enqueue the image copy on.

  • src_image[in] Source image memory object to copy from.

  • dst_image[in] Destination image memory object to copy to.

  • src_origin[in] Source origin offset in pixels to begin copy from.

  • dst_origin[in] Destination origin offset in pixels to begin copy to.

  • region[in] Region size in pixels to copy.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueCopyImageToBuffer (cl_command_queue command_queue, cl_mem src_image, cl_mem dst_buffer, const size_t *src_origin, const size_t *region, size_t dst_offset, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue an image to buffer copy on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueCopyImageToBuffer.html

Parameters
  • command_queue[in] Command queue to enqueue the copy on.

  • src_image[in] Source image memory object to copy from.

  • dst_buffer[in] Destination buffer memory object to copy to.

  • src_origin[in] Source image origin offset in pixel to copy from.

  • region[in] Region size in pixels to copy from.

  • dst_offset[in] Destination buffer offset in bytes to copy to.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event in not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueCopyBufferToImage (cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_image, size_t src_offset, const size_t *dst_origin, const size_t *region, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a buffer to image copy on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueCopyBufferToImage.html

Parameters
  • command_queue[in] Command queue to enqueue the copy on.

  • src_buffer[in] Source buffer memory object to copy from.

  • dst_image[in] Destination image memory object to copy to.

  • src_offset[in] Source buffer origin offset in bytes to copy from.

  • dst_origin[in] Destination image origin offset in pixels to copy to.

  • region[in] Region size in pixels to copy.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY void *CL_API_CALL EnqueueMapImage (cl_command_queue command_queue, cl_mem image, cl_bool blocking_map, cl_map_flags map_flags, const size_t *origin, const size_t *region, size_t *image_row_pitch, size_t *image_slice_pitch, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event, cl_int *errcode_ret)

Enqueue an image memory map on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMapImage.html

Parameters
  • command_queue[in] Command queue to enqueue the map on.

  • image[in] Image memory object to map.

  • blocking_map[in] Blocking or non-blocking queue operation.

  • map_flags[in] Type of map to perform, bit-field.

  • origin[in] Original offset in pixels to begin map at.

  • region[in] Region size in pixel to map.

  • image_row_pitch[out] Return image row pitch in bytes, must not be null.

  • image_slice_pitch[out] Return image slice pitch in bytes, must not be null.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List events to wait for.

  • event[out] Return event if not null.

  • errcode_ret[out] Return error code if no null.

Returns

Return void pointer to mapped image memory.

CL_API_ENTRY cl_int CL_API_CALL GetImageInfo (cl_mem image, cl_image_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the image memory object for information.

Parameters
  • image[in] Image memory object to query for information.

  • param_name[in] Type of information to query.

  • param_value_size[in] Size in bytes of param_value storage.

  • param_value[out] Pointer to value to store query in.

  • param_value_size_ret[out] Return required size in bytes to store query in.

Returns

Return error code.

CL_API_ENTRY cl_mem CL_API_CALL CreateImage2D (cl_context context, cl_mem_flags flags, const cl_image_format *image_format, size_t image_width, size_t image_height, size_t image_row_pitch, void *host_ptr, cl_int *errcode_ret)

Create a 2D image memory object, deprecated.

This function was deprecated in OpenCL 1.2 however we must still implement it for backwards compatibility and conformance.

See

http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clCreateImage2D.html

Parameters
  • context[in] Context the image memory object belongs to.

  • flags[in] Memory allocation flags.

  • image_format[in] Description of the image format.

  • image_width[in] Width in pixels of the image.

  • image_height[in] Height in pixels of the image.

  • image_row_pitch[in] Size in bytes of a host pointer row.

  • host_ptr[in] User provided host pointer to initialise from, may be null.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new image memory object.

CL_API_ENTRY cl_mem CL_API_CALL CreateImage3D (cl_context context, cl_mem_flags flags, const cl_image_format *image_format, size_t image_width, size_t image_height, size_t image_depth, size_t image_row_pitch, size_t image_slice_pitch, void *host_ptr, cl_int *errcode_ret)

Create a 3D image memory object, deprecated.

The function was deprecated in OpenCL 1.2 however we must still implement it for backwards compatibility and conformance.

See

*http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clCreateImage3D.html

Parameters
  • context[in] Context the image memory object belongs to.

  • flags[in] Memory allocation flags.

  • image_format[in] Description of the image format.

  • image_width[in] Width in pixels of the image.

  • image_height[in] Height in pixels of the image.

  • image_depth[in] Depth in pixels of the image.

  • image_row_pitch[in] Size in bytes of a host pointer row.

  • image_slice_pitch[in] Size in bytes of a host pointer slice.

  • host_ptr[in] User provided host pointer to initialise from, may be null.

  • errcode_ret[out] Return error code in not null.

Returns

Return the new image memory object.

CL_API_ENTRY cl_kernel CL_API_CALL CreateKernel (cl_program program, const char *kernel_name, cl_int *errcode_ret)

Create an OpenCL kernel object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateKernel.html

Parameters
  • program[in] Successfully build program.

  • kernel_name[in] Name of the kernel in the program.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new kernel object.

CL_API_ENTRY cl_int CL_API_CALL RetainKernel (cl_kernel kernel)

Increment the kernel reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clRetainKernel.html

Parameters

kernel[in] Kernel to increment the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL ReleaseKernel (cl_kernel kernel)

Decrement the kernel reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clReleaseKernel.html

Parameters

kernel[in] Kernel to increment the reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL SetKernelArg (cl_kernel kernel, cl_uint arg_index, size_t arg_size, const void *arg_value)

Set an argument on the kernel for later use.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clSetKernelArg.html

Parameters
  • kernel[in] Kernel to set the argument on.

  • arg_index[in] Index of the argument to set.

  • arg_size[in] Size in bytes of the argument value.

  • arg_value[in] Pointer to the value to set.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL CreateKernelsInProgram (cl_program program, cl_uint num_kernels, cl_kernel *kernels, cl_uint *num_kernels_ret)

Create all kernels in the program.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateKernelsInProgram.html

Parameters
  • program[in] Program to create the kernel from.

  • num_kernels[in] Number of kernel handles in the kernels list.

  • kernels[out] List of kernel objects to be created.

  • num_kernels_ret[out] Return the number of elements required for kernels if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetKernelInfo (cl_kernel kernel, cl_kernel_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the kernel for information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelInfo.html

Parameters
  • kernel[in] Kernel to query for information.

  • param_name[in] Type of information to query

  • param_value_size[in] Size in bytes of param_value.

  • param_value[in] Pointer to value to store information in.

  • param_value_size_ret[out] Return size in bytes required for param_value to store information if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetKernelArgInfo (cl_kernel kernel, cl_uint arg_indx, cl_kernel_arg_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the kernel for argument information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelArgInfo.html

Parameters
  • kernel[in] Kernel to query for argument information.

  • arg_indx[in] Index the argument to query information for.

  • param_name[in] Type of information to query.

  • param_value_size[in] Size in bytes of param_value.

  • param_value[in] Pointer to value to store information in.

  • param_value_size_ret[out] Return size in bytes required for param_value to store information if not null.

Returns

Returns error code.

CL_API_ENTRY cl_int CL_API_CALL GetKernelWorkGroupInfo (cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the kernel for for work group information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetKernelWorkGroupInfo.html

Parameters
  • kernel[in] Kernel to query for work group information.

  • device[in] Device to target when performing the query.

  • param_name[in] Type of information to query.

  • param_value_size[in] Size in bytes of param_value.

  • param_value[in] Pointer to value to store information int.

  • param_value_size_ret[out] Return size in bytes required for param_value to store information.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueNDRangeKernel (cl_command_queue command_queue, cl_kernel kernel, cl_uint work_dim, const size_t *global_work_offset, const size_t *global_work_size, const size_t *local_work_size, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue an N-dimensional kernel invocation on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueNDRangeKernel.html

Parameters
  • command_queue[in] Command queue to enqueue the invocation on.

  • kernel[in] Kernel to invoke on the queue.

  • work_dim[in] Number of dimensions for global_work_offset, global_work_size, and local_work_size.

  • global_work_offset[in] Offset for global invocation ID’s to begin from, may be null.

  • global_work_size[in] Number of global work items, must not be null.

  • local_work_size[in] Local work group size, may be null.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueTask (cl_command_queue command_queue, cl_kernel kernel, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a single kernel invocation.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueTask.html

Parameters
  • command_queue[in] Command queue to queue the invocation on.

  • kernel[in] Kernel to invoke on the queue.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueNativeKernel (cl_command_queue command_queue, cl::user_func_t user_func, void *args, size_t cb_args, cl_uint num_mem_objects, const cl_mem *mem_list, const void *const *args_mem_loc, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a native kernel invocation on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueNativeKernel.html

Parameters
  • command_queue[in] Command queue to enqueue to invocation on.

  • user_func[in] Pointer to host callable user callback.

  • args[in] Pointer to the arguments user_func is called with.

  • cb_args[in] Size in bytes of the callback arguments.

  • num_mem_objects[in] Number of memory objects passed in args.

  • mem_list[in] List of memory objects may be null is num_mem_objects is 0.

  • args_mem_loc[in] List of memory object locations.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL RetainMemObject (cl_mem memobj)

Increment the memory object references count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clRetainMemObject.html

Parameters

memobj[in] Memory object to increment reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL ReleaseMemObject (cl_mem memobj)

Decrement the memory objects reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clReleaseMemObject.html

Parameters

memobj[in] Memory object to decrement reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL SetMemObjectDestructorCallback (cl_mem memobj, cl::pfn_notify_mem_t pfn_notify, void *user_data)

Register a callback to notify when the memory object is destroyed.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clSetMemObjectDestructorCallback.html

Parameters
  • memobj[in] Memory object to register callback on.

  • pfn_notify[in] Callback function to invoke when the destructor is triggered.

  • user_data[in] User data to be passed to the callback function.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetMemObjectInfo (cl_mem memobj, cl_mem_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the memory object for information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetMemObjectInfo.html

Parameters
  • memobj[in] Memory object to query for information.

  • param_name[in] Type of information to query.

  • param_value_size[in] Size in bytes of param_value storage.

  • param_value[in] Pointer to value to store query in.

  • param_value_size_ret[out] Return size in bytes the query requires if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueUnmapMemObject (cl_command_queue command_queue, cl_mem memobj, void *mapped_ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a memory object unmap to the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueUnmapMemObject.html

Parameters
  • command_queue[in] Command queue to enqueue the unmap on.

  • memobj[in] Memory object to unmap.

  • mapped_ptr[in] Pointer to beginning of mapped memory.

  • num_events_in_wait_list[in] Number of events in list to wait for.

  • event_wait_list[in] List of events to wait for.

  • event[out] Return event if not null.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueMigrateMemObjects (cl_command_queue queue, cl_uint num_mem_objects, const cl_mem *mem_objects, cl_mem_migration_flags flags, cl_uint num_events, const cl_event *events, cl_event *event)

Enqueue a memory object migration on the queue.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clEnqueueMigrateMemObjects.html

Parameters
  • queue[in] Command queue to enqueue the migration on.

  • num_mem_objects[in] Number of memory objects in list to migrate.

  • mem_objects[in] List of memory objects to migrate.

  • flags[in] Type of migration, bit-field.

  • num_events[in] Number of events in list to wait for.

  • events[in] List of events to wait for.

  • event[out] Return event in not null.

Returns

Return error code.

CL_API_ENTRY cl_command_queue CL_API_CALL CreateCommandQueueWithProperties (cl_context context, cl_device_id device, const cl_queue_properties *properties, cl_int *errcode_ret)

Create an OpenCL command queue object.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clCreateBuffer.html

Parameters
  • context[in] Context the command queue belongs to.

  • device[in] Device the command queue will target.

  • properties[in] List of properties for the queue and their values.

  • errcode_ret[out] Return error code if not null.

Returns

New command queue object.

CL_API_ENTRY cl_mem CL_API_CALL CreatePipe (cl_context context, cl_mem_flags flags, cl_uint pipe_packet_size, cl_uint pipe_max_packets, const cl_pipe_properties *properties, cl_int *errcode_ret)

Create an OpenCL pipe memory object.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clCreatePipe.html

Parameters
  • context[in] Context the pipe queue belongs to.

  • flags[in] Memory allocation flags.

  • pipe_packet_size[in] Size in bytes of a pipe packet.

  • pipe_max_packets[in] Maximum number of packets the pipe can hold.

  • properties[in] List of properties for the pipe and their values.

  • errcode_ret[out] Return error code if not null.

Returns

New pipe memory object.

CL_API_ENTRY cl_int CL_API_CALL GetPipeInfo (cl_mem pipe, cl_pipe_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the pipe for information.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clGetPipeInfo.html

Parameters
  • pipe[in] Pipe to query for information.

  • param_name[in] The information to query.

  • param_value_size[in] Size in bytes of param_value.

  • param_value[out] Pointer to value to return information in.

  • param_value_size_ret[out] Return size in bytes of storage required for param_value.

Returns

Return error code.

CL_API_ENTRY void *CL_API_CALL SVMAlloc (cl_context context, cl_svm_mem_flags flags, size_t size, cl_uint alignment)

Allocate a shared virtual memory buffer.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clSVMAlloc.html

Parameters
  • context[in] Context the buffer belongs to.

  • flags[in] Memory allocation flags.

  • size[in] Size in bytes of the SVM buffer to be allocated.

  • alignment[in] Minimum alignment in bytes required for buffers memory region.

Returns

SVM pointer to allocated buffer.

CL_API_ENTRY void CL_API_CALL SVMFree (cl_context context, void *svm_pointer)

Free a shared virtual memory buffer.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clSVMFree.html

Parameters
  • context[in] Context the buffer belongs to.

  • svm_pointer[in] Pointer to the SVM buffer to free.

CL_API_ENTRY cl_sampler CL_API_CALL CreateSamplerWithProperties (cl_context context, const cl_sampler_properties *sampler_properties, cl_int *errcode_ret)

Create a sampler object.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clCreateSamplerWithProperties.html

Parameters
  • context[in] Context the sampler belongs to.

  • sampler_properties[in] List of properties for the sampler and their values.

  • errcode_ret[out] Return error code if not null.

Returns

New sampler object.

CL_API_ENTRY cl_int CL_API_CALL SetKernelArgSVMPointer (cl_kernel kernel, cl_uint arg_index, const void *arg_value)

Set an SVM argument on the kernel.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clSetKernelArgSVMPointer.html

Parameters
  • kernel[in] Kernel to set the argument on.

  • arg_index[in] Index of the argument to set.

  • arg_value[in] Pointer to SVM buffer to use as argument.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL SetKernelExecInfo (cl_kernel kernel, cl_kernel_exec_info param_name, size_t param_value_size, const void *param_value)

Pass additional information other than argument values to kernel.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clSetKernelExecInfo.html

Parameters
  • kernel[in] Kernel being queried.

  • param_name[in] Information to be passed to the kernel.

  • param_value_size[in] size in bytes of memory pointed to by param_value.

  • param_value[in] pointer to memory where values determined by param_name are specified.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueSVMFree (cl_command_queue command_queue, cl_uint num_svm_pointers, void *svm_pointers[], cl::pfn_free_func_t pfn_free_func, void *user_data, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue command to free SVM buffer.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clEnqueueSVMFree.html

Parameters
  • command_queue[in] Queue to enqueue command to.

  • num_svm_pointers[in] Number of svm buffers to free.

  • svm_pointers[in] List of pointers to svm buffers to free.

  • pfn_free_func[in] Callback to be called to free the SVM buffers.

  • user_data[in] Passed to pfn_free_func.

  • num_events_in_wait_list[in] Number of events in event_wait_list.

  • event_wait_list[in] List of events that are to be completed before the enqueued SVMFree command.

  • event[out] Event object identifying this particular command.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueSVMMemcpy (cl_command_queue command_queue, cl_bool blocking_copy, void *dst_ptr, const void *src_ptr, size_t size, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a command to perform a memcpy.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clEnqueueSVMMemcpy.html

Parameters
  • command_queue[in] Queue to enqueue command to.

  • blocking_copy[in] Indicates if copy operation is blocking.

  • dst_ptr[in] Pointer to host or SVM memory destination.

  • src_ptr[in] Pointer to host or SVM memory source.

  • size[in] Size in bytes of data being copied.

  • num_events_in_wait_list[in] Number of events in event_wait_list.

  • event_wait_list[in] List of events that are to be completed before the enqueued EnqueueSVMMemcpy command.

  • event[out] Event object identifying this particular command.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueSVMMemFill (cl_command_queue command_queue, void *svm_ptr, const void *pattern, size_t pattern_size, size_t size, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a command to perform a memfill.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clEnqueueSVMMemFill.html

Parameters
  • command_queue[in] Queue to enqueue command to.

  • svm_ptr[in] Pointer to memory region that will be filled with pattern.

  • pattern[in] Used to fill region in buffer starting at svm_ptr of size size bytes.

  • pattern_size[in] size of data pattern pointed to by pattern.

  • size[in] Size in bytes of region begin filled.

  • num_events_in_wait_list[in] Number of events in event_wait_list.

  • event_wait_list[in] List of events that are to be completed before the enqueued EnqueueSVMMemFill command.

  • event[out] Event object identifying this particular command.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueSVMMap (cl_command_queue command_queue, cl_bool blocking_map, cl_map_flags map_flags, void *svm_ptr, size_t size, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a command to map an SVM buffer.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clEnqueueSVMMap.html

Parameters
  • command_queue[in] Queue to enqueue command to.

  • blocking_map[in] indicates if map option is blocking.

  • map_flags[in] Bitfield of memory map flags.

  • svm_ptr[in] Pointer to memory region that will be updated by host.

  • size[in] Size of memory region starting at svm_ptr to be update by host.

  • num_events_in_wait_list[in] Number of events in event_wait_list.

  • event_wait_list[in] List of events that are to be completed before the enqueued EnqueueSVMMap command.

  • event[out] Event object identifying this particular command.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueSVMUnmap (cl_command_queue command_queue, void *svm_ptr, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue a command to unmap an SVM buffer.

See

http://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clEnqueueSVMUnmap.html

Parameters
  • command_queue[in] Queue to enqueue command to.

  • svm_ptr[in] SVM buffer to unmap.

  • num_events_in_wait_list[in] Number of events in event_wait_list.

  • event_wait_list[in] List of events that are to be completed before the enqueued EnqueueSVMMap command.

  • event[out] Event object identifying this particular command.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL SetDefaultDeviceCommandQueue (cl_context context, cl_device_id device, cl_command_queue command_queue)

Replace default command queue on device.

See

http://www.khronos.org/registry/cl/sdk/2.1/docs/man/xhtml/clSetDefaultDeviceCommandQueue.html

Parameters
  • context[in] Context used to create command_queue.

  • device[in] Device to replace default command queue on.

  • command_queue[in] Command queue to replace default command queue.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetDeviceAndHostTimer (cl_device_id device, cl_ulong *device_timestamp, cl_ulong *host_timestamp)

Query device and host timestamps.

See

http://www.khronos.org/registry/cl/sdk/2.1/docs/man/xhtml/clGetDeviceAndHostTimer.html

Parameters
  • device[in] Device to query timestamp on.

  • device_timestamp[out] Updated with value of device timer in nanoseconds.

  • host_timestamp[out] Updated with value of host timer in nanoseconds.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetHostTimer (cl_device_id device, cl_ulong *host_timestamp)

Query host clock.

See

http://www.khronos.org/registry/cl/sdk/2.1/docs/man/xhtml/clGetHostTimer.html

Parameters
  • device[in] Device to query timestamp on.

  • host_timestamp[out] Updated with value of host timer in nanoseconds.

Returns

Return error code.

CL_API_ENTRY cl_program CL_API_CALL CreateProgramWithIL (cl_context context, const void *il, size_t length, cl_int *errcode_ret)

Create program object with code in an IL.

See

http://www.khronos.org/registry/cl/sdk/2.1/docs/man/xhtml/clCreateProgramWithIL.html

Parameters
  • context[in] Context the program will belong to.

  • il[in] Pointer to length byte block of IL program.

  • length[in] Length in bytes of IL program pointed to by il.

  • errcode_ret[out] Return error code if not null.

Returns

Program object consisting of the IL.

CL_API_ENTRY cl_kernel CL_API_CALL CloneKernel (cl_kernel source_kernel, cl_int *errcode_ret)

Clone a kernel object.

See

http://www.khronos.org/registry/cl/sdk/2.1/docs/man/xhtml/clCloneKernel.html

Parameters
  • source_kernel[in] Kernel object that will be copied.

  • errcode_ret[out] Return error code if not null.

Returns

Clone of kernel.

CL_API_ENTRY cl_int CL_API_CALL GetKernelSubGroupInfo (cl_kernel kernel, cl_device_id device, cl_kernel_sub_group_info param_name, size_t input_value_size, const void *input_value, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query subgroup information about a kernel.

See

http://www.khronos.org/registry/cl/sdk/2.1/docs/man/xhtml/clGetKernelSubGroupInfo.html

Parameters
  • kernel[in] Kernel object being queried.

  • device[in] Identifies device in device list associated with kernel.

  • param_name[in] Information to query.

  • input_value_size[in] Size in bytes of memory pointed to by input_value.

  • input_value[in] Pointer to memory where parameterization of query is passed from.

  • param_value_size[in] Size in bytes of memory pointed to by param_value.

  • param_value[out] Pointer to memory where appropriate result being queried is returned.

  • param_value_size_ret[out] Returns actual size in bytes of data queried by param_name.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL EnqueueSVMMigrateMem (cl_command_queue command_queue, cl_uint num_svm_pointers, const void **svm_pointers, const size_t *sizes, cl_mem_migration_flags flags, cl_uint num_events_in_wait_list, const cl_event *event_wait_list, cl_event *event)

Enqueue command to indicate which device a set of ranges of SVM allocations should be associated with.

See

http://www.khronos.org/registry/cl/sdk/2.1/docs/man/xhtml/clEnqueueSVMMigrateMem.html

Parameters
  • command_queue[in] Queue to add command to. The set of allocation ranges will be migrated to the device associated with command_queue.

  • num_svm_pointers[in] Number of pointers in svm_pointers array and number of elements in the sizes array.

  • svm_pointers[in] Pointer to an array of pointers to SVM buffers.

  • sizes[in] Array of sizes. Together svm_pointers[i] and sizes[i] define the starting address and number of bytes in a range to be migrated.

  • flags[in] Bitfield used to specify migration options.

  • num_events_in_wait_list[in] Number of events in event_wait_list.

  • event_wait_list[in] List of events that are to be completed before the enqueued EnqueueSVMMigrateMem command.

  • event[out] Event object identifying this particular command.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL SetProgramReleaseCallback (cl_program program, pfn_notify_t pfn_notify, void *user_data)

Register user callback function with a program object.

See

http://www.khronos.org/registry/cl/sdk/2.2/docs/man/html/clSetProgramReleaseCallback.html

Parameters
  • program[in] Program to register callback to.

  • pfn_notify[in] Callback function registered by the application.

  • user_data[in] Pointer to user supplied data.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL SetProgramSpecializationConstant (cl_program program, cl_uint spec_id, size_t spec_size, const void *spec_value)

Set the value of a specialization constant.

See

http://www.khronos.org/registry/cl/sdk/2.2/docs/man/html/clSetProgramSpecializationConstant.html

Parameters
  • program[in] Program created from an intermediate language.

  • spec_id[in] Idendify the specialization constant who’s value will be

  • spec_size[in] Size in bytes of data pointed to by spec_value.

  • spec_value[in] Pointer to memory containing the value of the specialization constant. set.

Returns

Return error code.

CL_API_ENTRY cl_mem CL_API_CALL CreateBufferWithProperties (cl_context context, const cl_mem_properties *properties, cl_mem_flags flags, size_t size, void *host_ptr, cl_int *errcode_ret)

Create an OpenCL buffer memory object.

See

https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_API.html#clCreateBufferWithProperties

Parameters
  • context[in] Context the buffer will belong to.

  • properties[in] List of properties for the buffer and their corresponding values.

  • flags[in] Memory allocation flags.

  • size[in] Size in bytes of the requested device allocation.

  • host_ptr[in] Pointer to optionally provide user memory.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new buffer memory object.

CL_API_ENTRY cl_mem CL_API_CALL CreateImageWithProperties (cl_context context, const cl_mem_properties *properties, cl_mem_flags flags, const cl_image_format *image_format, const cl_image_desc *image_desc, void *host_ptr, cl_int *errcode_ret)

Create an OpenCL image memory object.

See

https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_API.html#clCreateImageWithProperties

Parameters
  • context[in] Context the image memory object belong to.

  • properties[in] List of properties for the image and their corresponding values.

  • flags[in] Memory allocation flags.

  • image_format[in] Description of the image format.

  • image_desc[in] Description of the image.

  • host_ptr[in] User provided host pointer, may be null.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new image memory object.

CL_API_ENTRY cl_int CL_API_CALL SetContextDestructorCallback (cl_context context, cl::pfn_notify_context_destructor_t pfn_notify, void *user_data)

Set context destructor callback.

See

TODO when the spec is ratified and public.

Parameters
  • context[in] Context to set the destructor callback on.

  • pfn_notify[in] Destructor callback to set.

  • user_data[in] User data for the destructor callback.

Returns

Return an error code.

CL_API_ENTRY cl_int CL_API_CALL GetPlatformIDs (const cl_uint num_entries, cl_platform_id *platforms, cl_uint *const num_platforms)

Query the OpenCL implementation for available platform obejcts.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetPlatformIDs.html

Parameters
  • num_entries – Number of entries in the platforms list.

  • platforms – Return list of available platforms.

  • num_platforms – Return number of available platforms.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetPlatformInfo (cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void *param_value, size_t *const param_value_size_ret)

Query the platform for information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetPlatformInfo.html

Parameters
  • platform – Platform to query for information.

  • param_name – Type of information to query.

  • param_value_size – Size in bytes of param_value storage, may be zero.

  • param_value – Return value of information if not null.

  • param_value_size_ret – Return size in bytes required for param_value storage if not null.

Returns

Return error code.

CL_API_ENTRY void *CL_API_CALL GetExtensionFunctionAddressForPlatform (cl_platform_id platform, const char *func_name)

Query the platform for address of extension function.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetExtensionFunctionAddressForPlatform.html

Parameters
  • platform – Platform to query for extension function.

  • func_name – Name of the function to return.

Returns

Return function pointer to extension function.

CL_API_ENTRY void *CL_API_CALL GetExtensionFunctionAddress (const char *func_name)

Query the platform for address of extension function, deprecated in OpenCL 1.2.

See

http://www.khronos.org/registry/cl/sdk/1.1/docs/man/xhtml/clGetExtensionFunctionAddress.html

Parameters

func_name – Name of the function to return.

Returns

Return function pointer to extension function.

CL_API_ENTRY cl_program CL_API_CALL CreateProgramWithSource (cl_context context, cl_uint count, const char *const *strings, const size_t *lengths, cl_int *errcode_ret)

Create an OpenCL program object from OpenCL C source.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateProgramWithSource.html

Parameters
  • context[in] Context the program object belongs to.

  • count[in] Number of strings in strings.

  • strings[in] List of strings.

  • lengths[in] List of lengths of each string in strings.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new program object.

CL_API_ENTRY cl_program CL_API_CALL CreateProgramWithBinary (cl_context context, cl_uint num_devices, const cl_device_id *device_list, const size_t *lengths, const unsigned char *const *binaries, cl_int *binary_status, cl_int *errcode_ret)

Create an OpenCL program object from a binary.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateProgramWithBinary.html

Parameters
  • context[in] Context the program object belongs to.

  • num_devices[in] Number of devices in device_list to target.

  • device_list[in] List of devices to target.

  • lengths[in] List of lengths of binary buffers in device_list.

  • binaries[out] Return list of binaries, must not be null.

  • binary_status[out] Return list of statuses if not null.

  • errcode_ret[out] Return error code if not null.

Returns

Return the new program object.

CL_API_ENTRY cl_program CL_API_CALL CreateProgramWithBuiltInKernels (cl_context context, cl_uint num_devices, const cl_device_id *device_list, const char *kernel_names, cl_int *errcode_ret)

Create an OpenCL program object with built-in kernels.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateProgramWithBuiltInKernels.html

Parameters
  • context – Context the program object belongs to.

  • num_devices – Number of devices in device_list to target.

  • device_list – List of devices to target.

  • kernel_names – Semi-colon separated string of kernel names.

  • errcode_ret – Return error code if not null.

Returns

Return the new program object.

CL_API_ENTRY cl_int CL_API_CALL RetainProgram (cl_program program)

Increment the program objects reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clRetainProgram.html

Parameters

program – Program to increment the reference count of.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL ReleaseProgram (cl_program program)

Decrement the program object reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clReleaseProgram.html

Parameters

program – Program to decrement the reference county of.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL CompileProgram (cl_program program, cl_uint num_devices, const cl_device_id *device_list, const char *options, cl_uint num_input_headers, const cl_program *input_headers, const char *const *header_include_names, cl::pfn_notify_program_t pfn_notify, void *user_data)

Compile the program object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCompileProgram.html

Parameters
  • program – Progrem to compile

  • num_devices – Number of devices in device_list to target.

  • device_list – List of devices to target.

  • options – String of compiler options.

  • num_input_headers – Number of headers in input_headers.

  • input_headers – List of input headers.

  • header_include_names – List of include header names.

  • pfn_notify – Build notification callback.

  • user_data – User data to be passed to pfn_notify.

Returns

Return error code.

CL_API_ENTRY cl_program CL_API_CALL LinkProgram (cl_context context, cl_uint num_devices, const cl_device_id *device_list, const char *options, cl_uint num_input_programs, const cl_program *input_programs, cl::pfn_notify_program_t pfn_notify, void *user_data, cl_int *errcode_ret)

Link the program object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clLinkProgram.html

Parameters
  • context – Context the linked program belongs to.

  • num_devices – Number of devices in device_list.

  • device_list – List of devices to target.

  • options – String of linker options.

  • num_input_programs – Number of input programs in input_programs.

  • input_programs – List of input programs to link.

  • pfn_notify – Link notification callback.

  • user_data – User data to be passed to pfn_notify.

  • errcode_ret – Return error code if not null.

Returns

Return the new linked program object.

CL_API_ENTRY cl_int CL_API_CALL BuildProgram (cl_program program, cl_uint num_devices, const cl_device_id *device_list, const char *options, cl::pfn_notify_program_t pfn_notify, void *user_data)

Build, or compile and link, the program object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clBuildProgram.html

Parameters
  • program – Program object to build.

  • num_devices – Number of devices in devices_list.

  • device_list – List of devices to target.

  • options – String of build options.

  • pfn_notify – Build notification callback.

  • user_data – User data to be passed to pfn_notify.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetProgramInfo (cl_program program, cl_program_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the program object form information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetProgramBuildInfo.html

Parameters
  • program – Program object to query for information.

  • param_name – Type of information to query.

  • param_value_size – Size in bytes of param_value storage.

  • param_value – Pointer to value to store information in.

  • param_value_size_ret – Return size in bytes required for param_value.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetProgramBuildInfo (cl_program program, cl_device_id device, cl_program_build_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the program for the latest build information.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetProgramBuildInfo.html

Parameters
  • program – Program object to query for build information.

  • device – Device the build information pertains to.

  • param_name – Type of information to query.

  • param_value_size – Size in bytes of param_value storage.

  • param_value – Pointer to value to store query in.

  • param_value_size_ret – Return size in bytes required for param_value.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL UnloadCompiler ()

Unload the compiler.

See

http://www.khronos.org/registry/cl/sdk/1.0/docs/man/xhtml/clUnloadCompiler.html

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL UnloadPlatformCompiler (cl_platform_id platform)

Unload the platform compiler.

The function allows the implementation to release the resources allocated by the OpenCL compiler for platform. This is a hint from the application and does not guarantee that the compiler will not be used in the future or that the compiler will actually be unloaded by the implementation. Calls to clBuildProgram, clCompileProgram or clLinkProgram after clUnloadPlatformCompiler will reload the compiler, if necessary, to build the appropriate program executable.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clUnloadPlatformCompiler.html

Parameters

platform – Platform to unload the compiler from.

Returns

Return error code.

CL_API_ENTRY cl_sampler CL_API_CALL CreateSampler (cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int *errcode_ret)

Create an OpenCL sampler object.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateSampler.html

Parameters
  • context[in] Context the sampler belong to.

  • normalized_coords[in] Enable or disable normalized coordinates.

  • addressing_mode[in] Specify out of range coordinate behavior.

  • filter_mode[in] Specify type of read image filter.

  • errcode_ret[out] Return error code.

Returns

Return the new sampler object.

CL_API_ENTRY cl_int CL_API_CALL RetainSampler (cl_sampler sampler)

Increment the samplers reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clRetainSampler.html

Parameters

sampler[in] Sampler to increment reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL ReleaseSampler (cl_sampler sampler)

Decrement the samplers reference count.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clReleaseSampler.html

Parameters

sampler – Sampler to decrement reference count on.

Returns

Return error code.

CL_API_ENTRY cl_int CL_API_CALL GetSamplerInfo (cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Query the sampler information from.

See

http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clGetSamplerInfo.html

Parameters
  • sampler – Sampler to query.

  • param_name – Type of information to query.

  • param_value_size – Size in bytes of param_value storage.

  • param_value – Pointer to value to store query in.

  • param_value_size_ret – Return size in bytes the query requires.

Returns

Return error code.

template<typename T>
class cl::base
#include <base.h>

Base class of all OpenCL API object definitions.

The cl::base class template makes use of CRTP (Curiously Recurring Template Pattern) to ensure that the icd_dispatch_table_ptr data member is located at the beginning of the objects storage.

struct _cl_context : public cl::base<_cl_context> {};

Note

Derived classes must not use virtual destructors, destruction of OpenCL API objects is performed when the internal and external reference counts are zero in the body of the cl::releaseInternal or cl::releaseExternal template functions, whichever is the last to reach zero.

Public Functions

inline cl_int retainExternal()

Increment the external reference count.

Note

This should only be invoked by cl::retainExternal.

Returns

Returns CL_SUCCESS, CL_OUT_OF_RESOURCES if an overflow occurs, or CL_INVALID_<OBJECT> if the external reference count is 0.

inline cl_int releaseExternal(bool &should_destroy)

Decrement external reference count.

Note

This should only be invoked by cl::releaseExternal.

Parameters

should_destroy[inout] Set to true if the object is not referenced anymore and should be destroyed, set to false if the object is still referenced. Returns true if the internal reference count reached 0 as a result of this invocation, false otherwise.

Returns

Returns CL_SUCCESS, CL_INVALID_<OBJECT> if the external reference count is 0.

inline cl_uint refCountExternal() const

Return external reference count.

Note

The returned value should be immediately considered as stale.

Returns

External reference count valid during the time of the call.

inline cl_int retainInternal()

Increment the internal reference count.

Note

This should only be invoked by cl::retainInternal or cl::base::retainExternal.

Returns

CL_SUCCESS on success, CL_OUT_OF_RESOURCES if retain results in an overflow.

inline void releaseInternal(bool &should_destroy)

Decrement the internal reference count.

Note

This should only be invoked by cl::releaseInternal or cl::base::releaseInternal.

Parameters

should_destroy[out] Returns true if the object can be destroyed, false otherwise.

inline cl_uint refCountInternal() const

Return internal reference count.

The returned value should be immediately considered as stale.

Returns

Returns the internal reference count.

template<class T>
class cl::release_guard
#include <base.h>

Guard object to release an object on scope exit.

tparam T

Type of the object to release.

Public Functions

inline release_guard(object_type object, const ref_count_type type)

Constructor.

Parameters
  • object – Object to be guarded.

  • type – Type of reference counter to release.

release_guard(release_guard&&) = delete

Deleted move constructor.

Also deletes the copy constructor and the assignment operators.

inline ~release_guard()

Destructor.

inline explicit operator bool() const

Determine if the object is valid.

Returns

Returns true if the object is valid, false otherwise.

inline object_type operator->() const

Access the guarded objects members.

Returns

Returns the object.

inline object_type &get()

Access the object.

Returns

Returns a reference to the object.

inline const object_type &get() const

Access the object.

Returns

Returns a const reference to the object.

inline object_type dismiss()

Dismiss the object from being released at scope exit.

Returns

Returns the object.

struct _cl_mem_buffer : public _cl_mem
#include <buffer.h>

Subclass of _cl_mem representing OpenCL buffer objects.

While this struct inherits from _cl_mem it cannot be destroyed via a pointer to _cl_mem. Query the _cl_mem::type to know if a _cl_mem pointer references a buffer or an image and cast to _cl_mem_buffer or _cl_mem_image accordingly before destroying the mem object. This is required to ensure that the ICD dispatch table field is the first one in an OpenCL memory object.

Public Functions

_cl_mem_buffer(cl_context context, const cl_mem_flags flags, const size_t size, void *host_ptr, cargo::dynamic_array<mux_memory_t> &&mux_memories, cargo::dynamic_array<mux_buffer_t> &&mux_buffers)

Buffer constructor with explicit reference count type.

Parameters
  • context[in] Context the buffer belongs to.

  • flags[in] Memory allocation flags.

  • size[in] Size in bytes of the buffer.

  • host_ptr[in] Pointer to optionally provided host memory.

  • mux_memories[in] List of mux memory objects.

  • mux_buffers[in] List of mux buffer objects.

_cl_mem_buffer(const cl_mem_flags flags, const size_t offset, const size_t size, cl_mem parent, cargo::dynamic_array<mux_memory_t> &&mux_memories, cargo::dynamic_array<mux_buffer_t> &&mux_buffers)

Sub buffer constructor.

Parameters
  • flags[in] Memory allocation flags.

  • offset[in] Offset in bytes into the sub buffer object.

  • size[in] Size in bytes of the buffer.

  • parent[in] Parent buffer object.

  • mux_memories[in] List of mux memory objects.

  • mux_buffers[in] List of mux buffer objects.

_cl_mem_buffer(_cl_mem_buffer&&) = delete

Deleted move constructor.

Also deletes the copy constructor and the assignment operators.

~_cl_mem_buffer()

Destructor.

cl_int synchronize(cl_command_queue command_queue)

Synchronize data when a buffer has multiple device in its context.

When the context which created this buffer contains multiple devices the memory backing the buffer on each device must be kept in sync. This is done by mapping the memory from both devices to host and performing a std::memcpy of the whole memory region. When there is only a single device in the context no synchronization is done.

Todo:

Currently pessimistic synchronization is performed, that is, the whole buffer is synchronized. For the sub-buffer case this should not be required, only the sub-buffer region of the core memory needs to be synchronized.

Parameters

command_queue[in] The queue containing the device which is required to be synchronized.

Returns

Returns CL_SUCCESS or CL_OUT_OF_RESOURCES in the event of a failure.

Public Members

size_t offset

Offset in bytes into the sub buffer object.

cargo::dynamic_array<mux_buffer_t> mux_buffers

Mux buffer objects, one per device in the parent cl_context.

Public Static Functions

static cargo::expected<std::unique_ptr<_cl_mem_buffer>, cl_int> create(cl_context context, cl_mem_flags flags, size_t size, void *host_ptr)

Create an OpenCL buffer memory object.

Parameters
  • context[in] Context the buffer belongs to.

  • flags[in] Memory allocation flags.

  • size[in] Size in bytes of the requested device allocation.

  • host_ptr[in] Pointer to optionally provide user memory.

Returns

Returns the buffer object on success.

Returns

  • `CL_OUT_OF_HOST_MEMORY` – if an allocation failure occurred.

  • `CL_INVALID_BUFFER_SIZE` – if the buffer size exceeds the maximum memory allocation size of any device.

  • `CL_MEM_OBJECT_ALLOCATION_FAILURE` – if there is an issue when binding, mapping or flushing mapped memory.

struct _cl_command_queue : public cl::base<_cl_command_queue>
#include <command_queue.h>

Definition of the OpenCL command queue object.

Public Functions

~_cl_command_queue()

Destructor.

cl_int flush()

Flush the command queue.

Note

This member function is not thread-safe, callers must hold a lock on _cl_command_queue->mutex when calling it.

Returns

Returns an OpenCL error code.

Returns

  • `CL_SUCCESS` – if there are no failures.

  • `CL_OUT_OF_RESOURCES` – if destroying a resource fails.

cl_int waitForEvents(const cl_uint num_events, const cl_event *const events)

Wait for a series of events previously pushed to this queue.

Parameters
  • num_events – The number of events in events.

  • events – An array of events to wait on.

Returns

Returns an OpenCL error code.

Returns

  • `CL_SUCCESS` – if there are no failures.

  • `CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST` – if an error occurred waiting for any event in the wait list.

cl_int getEventStatus(cl_event event)

Query an event’s status.

Parameters

event – An event associated with the queue.

Returns

The status of the event.

cl_int cleanupCompletedCommandBuffers()

Cleanup completed command buffers and signal semaphores.

Implements a cleanup algorithm which checks for command buffer dispatch completion, when a completed dispatch is found; the command buffer is destroyed; the dispatches signal semaphore is removed from pending dispatches; if the signal semaphore is not being waited upon by a running command buffer dispatch, it is destroyed; otherwise it is added to _cl_command_queue::completed_signal_semaphores for later cleanup.

Note

This member function is not thread-safe, callers must hold a lock on _cl_command_queue->mutex when calling it.

Returns

OpenCL error code.

cl_uint getDeviceIndex()

Get the device index of the command queue’s device in the context.

Returns

Returns index of the command queue’s device in the context.

cargo::expected<mux_command_buffer_t, cl_int> getCommandBuffer(cargo::array_view<const cl_event> event_wait_list, cl_event event)

Get a command buffer to push commands onto.

Calls to getCommandBuffer() are usually paired with calls to registerDispatchCallback() so that associated resources can be cleaned up when the command buffer dispatch is completed. These pairs of calls must be performed under the same mutex lock otherwise the command queue will be in an inconsistent state which may result in memory leaks or threading issues.

Note

This member function is not thread-safe, callers must hold a lock on _cl_command_queue->mutex when calling it.

Parameters
  • event_wait_list – List of events to wait on.

  • event – Return event the dispatch sets status of.

Returns

Returns the expected command buffer or CL_OUT_OF_RESOURCES.

cl_int registerDispatchCallback(mux_command_buffer_t command_buffer, cl_event event, std::function<void()> callback)

Register a command buffer dispatch completion callback.

Calls to registerDispatchCallback() are usually paired with calls to getCommandBuffer() so that associated resources can be cleaned up when the command buffer dispatch is completed. These pairs of calls must be performed under the same mutex lock otherwise the command queue will be in an inconsistent state which may result in memory leaks or threading issues.

Note

This member function is not thread-safe, callers must hold a lock on _cl_command_queue->mutex when calling it.

Parameters
  • command_buffer – Command buffer to dispatch.

  • event – Return event to use for profiling results, when enabled.

  • callback – Callback to be called on completion.

Returns

Returns CL_SUCCESS or CL_OUT_OF_RESOURCES.

cl_int finish()

Flush and wait for any outstanding events.

Returns

Returns CL_SUCCESS or CL_OUT_OF_RESOURCES.

Public Members

cl_context context

Context the command queue belongs to.

cl_device_id device

Device the command queue targets.

cl_command_queue_properties properties

Properties enabled when the command queue was created.

cl_ulong profiling_start

Command queue profiling epoch time.

mux_queue_t mux_queue

Mux queue to execute work on.

mux_query_pool_t counter_queries

Mux query pool for storing performance counter results.

Public Static Functions

static cargo::expected<std::unique_ptr<_cl_command_queue>, cl_int> create(cl_context context, cl_device_id device, cl_command_queue_properties properties)

Create command queue.

Parameters
  • context – Context the command queue will belong to.

  • device – Device the command queue will target.

  • properties – Properties bitfield encoding which properties to enable.

static cargo::expected<std::unique_ptr<_cl_command_queue>, cl_int> create(cl_context context, cl_device_id device, const cl_bitfield *properties)

Create command queue with properties list.

Parameters
  • context – Context the command queue will belong to.

  • device – Device the command queue will target.

  • properties – List of properties values denoting property information about the command queue to be created.

struct _cl_context : public cl::base<_cl_context>
#include <context.h>

Definition of the OpenCL context object.

Public Functions

_cl_context(_cl_context&&) = delete

Deleted move constructor.

Also deletes the copy constructor and the assignment operators.

~_cl_context()

Destructor.

bool hasDevice(const cl_device_id device) const

Query if the context targets a device.

Parameters

device – Device to query the context with.

Returns

Return true if the context targets the device, false otherwise.

cl_uint getDeviceIndex(const cl_device_id device) const

Get the index of the given device.

Parameters

device – The device whose index to find.

Returns

Returns the index of the device on success, -1 on failure.

inline mux_callback_info_t getMuxCallback()

Get a mux callback if one was supplied by the user.

Returns

Returns a valid mux_callback_info_t if the user supplied a context callback, nullptr otherwise.

compiler::Context *getCompilerContext()

Access the lazily allocated compiler context.

Returns

Returns a pointer to the compiler context.

compiler::Target *getCompilerTarget(const cl_device_id device)

Access the compiler target for a particular device.

Parameters

device – The device whose index to find.

Returns

Returns a pointer to the compiler target.

inline void notify(const char *errinfo, const void *private_info, size_t cb)

Notify the OpenCL user via the context callback, if provided.

If notify_callback is not provided, no action is taken.

Parameters
  • errinfo[in] Pointer to the error string.

  • private_info[in] Pointer to the implementation defined binary data, can be used to log additional information to help with debugging.

  • cb[in] Size of the binary data pointed to by private_info.

Public Members

cargo::dynamic_array<cl_device_id> devices

List of devices the context targets.

std::mutex mutex

Mutex to protect accesses for _cl_context::context with is not thread safe except for USM which has its own mutex. This must not be used above a command queue mutex, as it call program destructor during clean up.

std::mutex usm_mutex

Mutex to protect accesses USM allocations. Note due to the nature of usm allocations and queue related activities it is sometimes needed to stay around beyond just accessing the list. It must not be below the general context mutex or the queue mutex.

cargo::dynamic_array<cl_context_properties> properties

List of the context’s enabled properties.

Public Static Functions

static cargo::expected<cl_context, cl_int> create(cargo::array_view<const cl_device_id> devices, cargo::array_view<const cl_context_properties> properties, notify_callback_t notify)

Create a context object.

Parameters
  • devices – List of devices for context to target.

  • properties – List of properties to for context to enable.

  • notify – User provided notification callback.

struct notify_callback_t
#include <context.h>

Context notification callback state.

Public Functions

inline void operator()(const char *errinfo, const void *private_info, size_t cb)

Invoke the context notification callback.

Parameters
  • errinfo[in] Pointer to the error string.

  • private_info[in] Pointer to the implementation defined binary data, can be used to log additional information to help with debugging.

  • cb[in] Size of the binary data pointed to by private_info.

inline operator bool()

Conversion to bool.

Returns

Returns true if pfn_notify is not null, false otherwise.

Public Members

cl::pfn_notify_context_t pfn_notify

User callback function pointer, may be null.

void *user_data

User callback function state, may be null.

struct _cl_device_id : public cl::base<_cl_device_id>
#include <device.h>

Definition of the OpenCL device object.

Public Functions

_cl_device_id(cl_platform_id platform, mux_allocator_info_t mux_allocator, mux_device_t mux_device)

Device constructor.

Parameters
  • platform – Platform the device belongs to.

  • mux_allocator – Allocators be used for mux.

  • mux_device – Associated mux device.

_cl_device_id(_cl_device_id&&) = delete

Deleted move constructor.

Also deletes the copy constructor and the assignment operators.

~_cl_device_id()

Destructor.

Public Members

cl_platform_id platform

Platform the device belongs to.

mux_allocator_info_t mux_allocator

Mux allocator info.

mux_device_t mux_device

Associated mux device.

const compiler::Info *compiler_info

Associated compiler.

std::string version

Device version string.

cl_uint address_bits

Size of the default device’s address space, 32 or 64.

cl_bool available

CL_TRUE if the device is available and CL_FALSE otherwise.

cl_bool compiler_available

CL_TRUE if the implementation has a compiler available. CL_FALSE otherwise, can be false only for the embedded platform profile.

cl_device_fp_config double_fp_config

Describes the double precision floating point capabilities in a bit-field with the possibles values: CL_FP_{DENORM, INF_NAN, ROUND_TO_NEAREST, ROUND_TO_ZERO, ROUND_TO_INF, FMA, SOFT_FLOAT}. 0 if double precision is not supported, if it is, the minimum is: CL_FP_FMA | CL_FP_ROUND_TO_NEAREST | CL_FP_ROUND_TO_ZERO | CL_FP_ROUND_TO_INF | CL_FP_INF_NAN | CL_FP_DENORM.

cl_bool endian_little

CL_TRUE for a little endian device, CL_FALSE otherwise.

cl_bool error_correction_support

CL_TRUE if the device implements error correction for accesses to host memory. CL_FALSE otherwise.

cl_device_exec_capabilities execution_capabilities

CL_EXEC_KERNEL and optionally CL_EXEC_NATIVE_KERNEL if the device can execute native kernels.

cl_ulong global_mem_cache_size

Size of global memory cache in bytes.

cl_device_mem_cache_type global_mem_cache_type

Type of global memory (CL_NONE, CL_READ_ONLY_CACHE, CL_READ_WRITE_CACHE).

cl_uint global_mem_cacheline_size

Size of global memory cache line in bytes.

cl_ulong global_mem_size

Size of global device memory in bytes.

cl_device_fp_config half_fp_config

Describes the optional half precision floating-point capabilities in a bit-field with the possible values: CL_FP_{DENORM, INF_NAN, ROUND_TO_NEAREST, ROUND_TO_ZERO, ROUND_TO_INF, FMA, SOFT_FLOAT}. The minimum is CL_FP_ROUND_TO_ZERO or CL_FP_ROUND_TO_INF | CL_FP_INF_NAN.

cl_bool host_unified_memory

CL_TRUE if the device and the host have a unified memory subsystem, CL_FALSE otherwise.

cl_bool image_support

CL_TRUE if the device supports images, CL_FALSE otherwise.

cl_bool image3d_writes

CL_TRUE if the decice supports 3d image writes, CL_FALSE otherwise.

size_t image2d_max_height

Max height of 2D image in pixels, minimum 8192.

size_t image2d_max_width

Max width of 2D image or 1D not created from a buffer in pixels, minimum 8192.

size_t image3d_max_depth

Max depth of 3D image in pixels, minimum 2048.

size_t image3d_max_height

Max height of 3D image in pixels, minimum 2048.

size_t image3d_max_width

Max width of 3D image in pixels, minimum 2048.

size_t image_max_buffer_size

Max number of pixels for a 1D image created from a buffer object, minimum 65536.

size_t image_max_array_size

Max number of images in a 1D or 2D image array, minimum 2048.

cl_bool linker_available

CL_TRUE if the implementation has a linker available, CL_FALSE otherwise, can only be false for the embedded platform profile.

cl_ulong local_mem_size

Size of the local memory in bytes, minimum 32KB for non CL_DEVICE_TYPE_CUSTOM devices.

cl_device_local_mem_type local_mem_type

Type of local memory CL_LOCAL, CL_GLOBAL, and can be CL_NONE for custom devices without local memory support.

cl_uint max_clock_frequency

Maximum clock frequency in MHz.

cl_uint max_compute_units

Maximum number of parallel compute units, minimum 1.

cl_uint max_constant_args

Maximum number of __constant arguments in a kernel, minimum 8 for non CL_DEVICE_TYPE_CUSTOM devices.

cl_ulong max_constant_buffer_size

Maximum size of a constant buffer allocation in bytes, minimum 64KB for non CL_DEVICE_TYPE_CUSTOM devices.

cl_ulong max_mem_alloc_size

Maximum size of memory object allocation in bytes, minimum is max(1/4 * CL_DEVICE_GLOBAL_MEM_SIZE, 128*1024*1024), for non CL_DEVICE_TYPE_CUSTOM devices.

size_t max_parameter_size

Maximum size of the arguments that can be passed to a kernel in bytes, minimum 1024 for non CL_DEVICE_TYPE_CUSTOM devices. With the minimum value, only 128 arguments can be passed to a kernel.

cl_uint max_read_image_args

Maximum number of simultaneous image objects that can be read by a kernel, minimum 128.

cl_uint max_samplers

Maximum number of samplers that can be used in a kernel, minimum 16 (only if image support enabled).

size_t max_work_group_size

Maximum number of work-items in a work-group executing a kernel on a single compute unit using the data parallel execution model, minimum 1.

cl_uint max_work_item_dimensions

Maximum dimensions that specify the global and local work-item IDs used by the data parallel execution model. Minimum 3 for non CL_DEVICE_TYPE_CUSTOM devices.

size_t max_work_item_sizes[cl::max::WORK_ITEM_DIM]

Maximum number of work-items that can be specified in each dimension of the work-group. Returns n size_t entries where n is the maximum number of work-items dimensions. The minimum is [1, 1, 1] for non CL_DEVICE_TYPE_CUSTOM devices.

cl_uint max_write_image_args

Max number of simultaneous image objects that can be written to by a kernel, minimum 8.

cl_uint mem_base_addr_align

Minimum value in bits of the largest OpenCL built-in data type supported by the device (long16 in FULL profile, long16 or int16 in embedded profile), for non CL_DEVICE_TYPE_CUSTOM devices.

cl_uint min_data_type_align_size

Smallest alignment in bytes which can be used for any data type.

cl_uint native_vector_width_char

Native ISA vector width for char.

cl_uint native_vector_width_short

Native ISA vector width for short.

cl_uint native_vector_width_int

Native ISA vector width for int.

cl_uint native_vector_width_long

Native ISA vector width for long.

cl_uint native_vector_width_float

Native ISA vector width for float.

cl_uint native_vector_width_double

Native ISA vector width for double, 0 if double support is disabled.

cl_uint native_vector_width_half

Native ISA vector width for double, 0 if half support is disabled.

_cl_device_id *parent_device

cl_device_id of the parent device of this sub-device. A null pointer if the device is a root-level device.

cl_uint partition_max_sub_devices

Maximum number of sub-devices that can be created, maximum CL_DEVICE_MAX_COMPUTE_UNITS.

cl_device_partition_property partition_properties

List of partition types supported, possible values: CL_DEVICE_PARTITION_{EQUALLY, BY_COUNTS, BY_AFFINITY_DOMAIN}, or 0 if none of these are supported.

cl_device_affinity_domain partition_affinity_domain

List of supported affinity domains for partitioning the device. Bit field with possible values: CL_DEVICE_AFFINITY_DOMAIN_{NUMA, L4_CACHE, L3_CACHE, L2_CACHE, L1_CACHE, NEXT_PATITIONABLE}, or 0 if the device doesn’t support affinity domains.

cl_device_partition_property partition_type

Returns the properties argument specified in clCreateSubDevices if device is a subdevice. Otherwise the implementation may either return a param_value_size_ret of 0 i.e. there is no partition type associated with device or can return a property value of 0 (where 0 is used to terminate the partition property list) in the memory that param_value points to.

cl_uint preferred_vector_width_char

Preferred vector width size for char.

cl_uint preferred_vector_width_short

Preferred vector width size for short.

cl_uint preferred_vector_width_int

Preferred vector width size for int.

cl_uint preferred_vector_width_long

Preferred vector width size for long.

cl_uint preferred_vector_width_float

Preferred vector width size for float.

cl_uint preferred_vector_width_double

Preferred vector width size for doubles, 0 if double support is disabled.

cl_uint preferred_vector_width_half

Preferred vector width size for half, 0 if half support is disabled.

size_t printf_buffer_size

Maximum size of the internal buffer that holds the output of printf calls from a kernel, minimum 1MB for the FULL profile.

cl_bool preferred_interop_user_sync

CL_TRUE if the device’s preference is for the user to be responsible for synchronisation.

cargo::string_view profile

OpenCL profile string, the profile name supported by the devices.

size_t profiling_timer_resolution

Resolution of the device’s timer in nanoseconds.

cl_command_queue_properties queue_properties

Command-queue properties supported by the device. Bit-field with possible values: CL_QUEUE_{OUT_OF_ORDER_EXEC_MODE_ENABLE, PROFILING_ENABLE}, minimum capability: CL_QUEUE_PROFILING_ENABLE.

cl_uint reference_count

Device reference count, 1 if the device is a root-level device.

cl_device_fp_config single_fp_config

Describes the single precision floating-point capabilities of the device in a bit-field with the possible values: CL_FP_{DENORM, INF_NAN, ROUND_TO_NEAREST, ROUND_TO_ZERO, ROUND_TO_INF, FMA, CORRECTLY_ROUNDED_DIVIDE_SQRT, SOFT_FLOAT}. The minimum is CL_FP_ROUND_TO_NEAREST | CL_FP_INF_NAN for non CL_DEVICE_TYPE_CUSTOM devices.

cl_device_type type

OpenCL device type, possible values are a combination of: CL_DEVICE_TYPE_{CPU, GPU, ACCELERATOR, DEFAULT}, or CL_DEVICE_TYPE_CUSTOM.

cl_uint vendor_id

Unique device vendor identifier.

std::string builtin_kernel_names

Semi-colon seperated list of builtin kernels.

struct _cl_event : public cl::base<_cl_event>
#include <event.h>

Definition of OpenCL API event object.

Public Functions

~_cl_event()

Destructor.

bool addCallback(const cl_int type, cl::pfn_event_notify_t pfn_event_notify, void *user_data)

Register a notification callback function to the event.

Parameters
  • type[in] Type of command the event is tracking.

  • pfn_event_notify[in] Event notification callback function pointer.

  • user_data[in] User data to be passed to the callback function.

Returns

Return true on success, false otherwise.

void submitted()

Signal that the event’s command has been submitted for execution.

void running()

Signal that the event’s command is currently being executed.

void complete(const cl_int status = CL_COMPLETE)

Signal that the event’s command has completed execution.

Parameters

status[in] Execution status of the command.

void wait()

Wait for the event to complete execution.

Public Members

cl_context context

Context the event belongs to.

cl_command_queue queue

Command queue the event belongs to.

cl_command_type command_type

Type of command the event relates to.

std::atomic<cl_int> command_status

The current execution status of the event’s command.

profiling_state_t profiling

Profiling data container.

Public Static Functions

static cargo::expected<cl_event, cl_int> create(cl_command_queue queue, const cl_command_type type)

Create an command event.

Parameters
  • queue – The command queue the event belongs to.

  • type – The type of command the event represents.

Returns

Returns the event object on success.

Returns

  • `CL_OUT_OF_HOST_MEMORY` – if an allocation failed.

  • `CL_OUT_OF_RESOURCES` – if profiling could not be enabled due to an error in muxCreateQueryPool.

static cargo::expected<cl_event, cl_int> create(cl_context context)

Create a user event.

Parameters

context – The context the event belongs to.

Returns

Returns the event object on success.

Returns

`CL_OUT_OF_HOST_MEMORY` – if an allocation failed.

struct callback_state_t
#include <event.h>

Event callback container.

Public Members

cl_int type

Type of command the event relates to.

cl::pfn_event_notify_t pfn_event_notify

Callback function to invoke when execution status changes.

void *user_data

User data to be passed to the callback function.

struct profiling_state_t
#include <event.h>

Profiling data container.

Public Members

cl_ulong queued = 0

Time when the command was added to the queue.

cl_ulong submit = 0

Time when the command was submitted for execution.

mux_query_pool_t duration_queries = nullptr

Mux query pool for storing command duration query results.

mux_queue_t mux_queue = nullptr

associated queue against which profiling queries are made

mux_allocator_info_t mux_allocator = {}

the mux allocator that handles the queue

bool enabled = false

Is profiling enabled or not.

struct _cl_mem_image : public _cl_mem
#include <image.h>

OpenCL image.

While this struct inherits from _cl_mem it cannot be destroyed via a pointer to _cl_mem. Query the _cl_mem::type to know if a _cl_mem pointer references a buffer or an image and cast to _cl_mem_buffer or _cl_mem_image accordingly before destroying the mem object. This is required to ensure that the ICD dispatch table field is the first one in an OpenCL memory object.

Public Functions

_cl_mem_image(cl_context context, cl_mem_flags flags, const cl_image_format *image_format, const cl_image_desc *image_desc, void *host_ptr, cl_mem optional_parent, cargo::dynamic_array<mux_memory_t> &&mux_memories, cargo::dynamic_array<mux_image_t> &&mux_images)

Image constructor.

Parameters
  • context – Context the image object belongs to.

  • flags – Memory allocation flags.

  • image_format – Image format descriptor.

  • image_desc – Image descriptor.

  • host_ptr – User provided host pointer, may be null.

  • optional_parent – Parent cl_mem for 1D image buffers.

  • mux_memories – Mux memory objects.

  • mux_images – Mux image objects.

_cl_mem_image(const _cl_mem_image&&) = delete

Deleted move constructor.

By deleting the move constructor the implicit move assignment operator is also deleted along with the copy variants of both.

Public Members

cl_image_format image_format

Description of the image format.

cl_image_desc image_desc

Description of the image dimensions and memory ownership.

cargo::dynamic_array<mux_image_t> mux_images

Mux image object.

class MuxKernelWrapper
#include <kernel.h>

A wrapper over either a deferred compiled kernel or a pre-compiled Mux kernel, depending on whether deferred compilation is supported.

Public Functions

MuxKernelWrapper(cl_device_id device, mux_kernel_t mux_kernel)

Constructs an MuxKernelWrapper from a pre-compiled kernel.

Parameters
  • device – OpenCL device.

  • mux_kernel – Pre-compiled Mux kernel to wrap.

MuxKernelWrapper(cl_device_id device, compiler::Kernel *deferred_kernel)

Constructs an MuxKernelWrapper from a deferred kernel.

Parameters
  • device – OpenCL device.

  • deferred_kernel – Deferred compiled kernel to wrap.

bool supportsDeferredCompilation() const

Queries whether this kernel’s compilation is being deferred using a runtime compiler.

compiler::Result precacheLocalSize(size_t local_size_x, size_t local_size_y, size_t local_size_z)

If this kernel supports specialization, this function causes the compiler to pre-cache a specific local size configuration.

Parameters
  • local_size_x – Local size in the x dimension.

  • local_size_y – Local size in the y dimension.

  • local_size_z – Local size in the z dimension.

Returns

Returns a compiler status code.

Returns

  • `Result::SUCCESS` – when precaching the local size was successful.

  • `Result::OUT_OF_MEMORY` – if an allocation failed.

  • `Result::INVALID_VALUE` – if the requested local size is invalid.

uint32_t getDynamicWorkWidth(size_t local_size_x, size_t local_size_y, size_t local_size_z)

Returns the dynamic work width for a given local size. If this kernel does not support specialization, this simply returns 1.

Parameters
  • local_size_x – Local size in the x dimension.

  • local_size_y – Local size in the y dimension.

  • local_size_z – Local size in the z dimension.

Returns

The dynamic work width for the given local size.

cargo::expected<SpecializedKernel, compiler::Result> createSpecializedKernel(const mux_ndrange_options_t &specialization_options)

If this kernel supports specialization, this function performs deferred compilation and returns a Mux executable-kernel pair that contains a kernel optimized for the specific Mux execution parameters.

Parameters

specialization_options – Mux execution options to specialize for.

Returns

A valid SpecializedKernel object if specialization was successful, or a status code otherwise.

Returns

  • `Result::OUT_OF_MEMORY` – if an allocation failed.

  • `Result::INVALID_VALUE` – if any of the specialization options are invalid.

  • `Result::FAILURE` – if this kernel is not specializable.

mux_kernel_t getPrecompiledKernel() const

If this kernel does not support specialization, this returns the generic Mux kernel that is not specialized for any particular config.

cargo::expected<size_t, cl_int> getSubGroupSizeForLocalSize(size_t local_size_x, size_t local_size_y, size_t local_size_z) const

Return the sub-group size for this kernel.

In general this is a function of the kernel, the device it will execute on and the local size.

This is used to implement the CL_KERNEL_MAX_SUB_GROUP_SIZE_FOR_NDRANGE query of clGetKernelSubGroupInfo.

Returns

The maximum sub-group size that would result from the given local size. May return CL_INVALID_OPERATION if sub-groups are not supported, or an error code if it was unsuccessful.

cargo::expected<size_t, cl_int> getSubGroupCountForLocalSize(size_t local_size_x, size_t local_size_y, size_t local_size_z) const

Return the number of sub-groups that will be present when the kernel is enqueued with the given local size.

This is used to implement the CL_KERNEL_SUB_GROUP_COUNT_FOR_NDRANGE query of clGetKernelSubGroupInfo.

Parameters
  • local_size_x[in] local size in x dimension to query the sub-group count for.

  • local_size_y[in] local size in y dimension to query the sub-group count for.

  • local_size_z[in] local size in z dimension to query the sub-group count for.

Returns

The number of sub-groups that would be present if the kernel was enqueued with the given local size. May return CL_INVALID_OPERATION if sub-groups are not supported, or an error code if it was unsuccessful.

cargo::expected<std::array<size_t, 3>, cl_int> getLocalSizeForSubGroupCount(size_t sub_group_count) const

Return the local size that would result in the given number of sub-groups.

This is used to implement the CL_KERNEL_LOCAL_SIZE_FOR_SUB_GROUP_COUNT query of clGetKernelSubGroupInfo.

Parameters

sub_group_count[in] The required number of sub-groups.

Returns

The local size that would result in this number of sub-groups. May return CL_INVALID_OPERATION if sub-groups are not supported, or an error code if it was unsuccessful.

cargo::expected<size_t, cl_int> getMaxNumSubGroups() const

Return the maximum number of sub-groups that can be supported by the kernel.

This is used to implement the CL_KERNEL_MAX_NUM_SUB_GROUPS query of clGetKernelSubGroupInfo.

Returns

The maximum number of sub-groups supported by the kernel. May return CL_INVALID_OPERATION if sub-groups are not supported, or an error code if it was unsuccessful.

Public Members

const size_t preferred_local_size_x

The preferred local size in the x dimension for this kernel.

const size_t preferred_local_size_y

The preferred local size in the y dimension for this kernel.

const size_t preferred_local_size_z

The preferred local size in the z dimension for this kernel.

const size_t local_memory_size

The amount of local memory used by this kernel.

struct SpecializedKernel
#include <kernel.h>

A Mux executable that contains a single kernel that has been optimized with specific runtime parameters.

Public Members

mux::unique_ptr<mux_executable_t> mux_executable

The Mux executable that contains the specialized machine code.

mux::unique_ptr<mux_kernel_t> mux_kernel

A Mux kernel that points to the specialized kernel inside the Mux executable.

struct _cl_kernel : public cl::base<_cl_kernel>
#include <kernel.h>

Definition of the OpenCL kernel object.

Public Functions

_cl_kernel(const _cl_kernel&) = delete

Deleted copy constructor.

The copy constructor is explicitly deleted to avoid accidentally using the compiler-generated one and the resulting dynamic memory issues.

~_cl_kernel()

Destructor.

cargo::expected<cl_kernel, cl_int> clone() const

Clone this kernel.

Creates a shallow copy of this kernel object.

Returns

A new kernel object.

bool GetArgInfo()

Query the kernel meta data for argument information.

Returns

Return true if the kernel was compiled to a program and the kernel argument info could be retrieved, false otherwise.

cargo::expected<const compiler::ArgumentType&, cl_int> GetArgType(const cl_uint arg_index) const

Query the kernel for the arguments type.

Parameters

arg_index[in] Index of the argument to get type of.

Returns

Return the argument type on success, CL_INVALID_ARG_INDEX otherwise.

mux_ndrange_options_t createKernelExecutionOptions(cl_device_id device, cl_uint device_index, size_t work_dim, const std::array<size_t, cl::max::WORK_ITEM_DIM> &local_size, const std::array<size_t, cl::max::WORK_ITEM_DIM> &global_offset, const std::array<size_t, cl::max::WORK_ITEM_DIM> &global_size, mux_buffer_t printf_buffer, std::unique_ptr<mux_descriptor_info_t[]> &descriptors)

Set up the mux kernel execution options.

Parameters
  • device[in] OpenCL device to target.

  • device_index[in] Index of the device in OpenCL context device list.

  • work_dim[in] Number of dimensions of work to do.

  • local_size[in] Local size of work to do.

  • global_offset[in] Global index offset to begin work at.

  • global_size[in] Global size of work to do.

  • printf_buffer[in] Buffer to write printf output into.

  • descriptors[out] A unique_ptr that can be used to store the allocated array of mux_descriptor_info_t used in the resulting mux_execution_options_t.

Returns

Returns the relevant kernel execution options.

cl_int retainMems(cl_command_queue command_queue, std::function<bool(cl_mem)> retain)

Retain cl_mem objects that are the arguments to a kernel.

Retain cl_mem objects via a callback through which the meaning of “retain” can be customized. For example; some callers may need to store the cl_mem reference in a specific buffer so it can be released later.

Parameters
  • command_queue[in] Queue on which kernel will be executed.

  • retain[in] Callback which does the retaining.

Returns

CL_SUCCESS or appropriate OpenCL error code.

cl_int checkReqdWorkGroupSize(cl_uint work_dim, const size_t *&local_work_size)

Verify reqd_work_group_size attribute.

Verifies that the reqd_work_group_size attribute matches the local_work_size if it is non-null. If local_work_size is null (this is the use case that the OpenCL user doesn’t pass a local size) then set local_work_size to the value of reqd_work_group_size attribute.

Parameters
  • work_dim[in] The work dimensions.

  • local_work_size[inout] If null is set to value of reqd_work_group_size attribute (if it exists), otherwise functions checks that this parameter matches reqd_work_group_size.

Returns

CL_SUCCESS or appropriate OpenCL error code.

cl_int checkWorkSizes(cl_device_id device, cl_uint work_dim, const size_t *global_work_offset, const size_t *global_work_size, const size_t *local_work_size)

Verify global and local sizes.

Parameters
  • device[in] Device on which the kernel will be enqueued.

  • work_dim[in] Dimensions of the kernel enqueue.

  • global_work_offset[in] (x,y,z) global offset.

  • global_work_size[in] (x,y,z) global size.

  • local_work_size[in] Local workgroup size (may be NULL).

Returns

CL_SUCCESS or appropriate OpenCL error code.

cl_int checkKernelArgs()

Validate kernel arguments.

Checks that all kernel arguments are valid.

Returns

CL_SUCCESS if all arguments valid, otherwise CL_INVALID_KERNEL_ARGS.

std::array<size_t, cl::max::WORK_ITEM_DIM> getDefaultLocalSize(cl_device_id device, const size_t *global_size, cl_uint work_dim)

Choose an appropriate local work group size.

Should be called in the case the user doesn’t request a local size and kernel does not have a reqd_work_group_size attribute.

Parameters
  • device[in] Device on which to execute this kernel.

  • global_size[in] Global work size.

  • work_dim[in] Work dimensions.

Returns

local work group dimensions.

Public Members

cl_program program

Program the kernel was constructed from.

std::string name

Name of the kernel.

const compiler::KernelInfo *info

Pointer to kernel information.

cargo::dynamic_array<argument> saved_args

Array of arguments.

cargo::optional<cargo::dynamic_array<argument::info>> arg_info

Array of argument information.

std::unordered_map<cl_device_id, std::unique_ptr<MuxKernelWrapper>> device_kernel_map

OpenCL device to kernels map.

Public Static Functions

static cargo::expected<cl_kernel, cl_int> create(cl_program program, std::string name, const compiler::KernelInfo *info)

Create a kernel object.

Parameters
  • program[in] Program containing the kernel to create.

  • name[in] Name of the kernel in the program to create.

  • info[in] Information from the compiler about the kernel.

Returns

Returns a kernel object on success or an error code otherwise.

Returns

`CL_OUT_OF_HOST_MEMORY` – if an allocation failure occured.

struct argument
#include <kernel.h>

Struct that represents a kernel argument.

Public Types

enum storage_type

Enum representing the possible storage types that can be used by the kernel argument. Each of these storage type match a single field of the union used internally, except for the special storage type uninitialized which can come up either if the kernel argument object has been invalidated or if it has been constructed with the default no parameters constructor.

Values:

enumerator local_memory
enumerator memory_buffer
enumerator sampler
enumerator value
enumerator uninitialized

Public Functions

argument()

Default constructor used to initialize arrays of arguments.

Arguments initialized with this constructor will have a type.kind of compiler::ArgumentKind::UNKNOWN, and a storage type of storage_type::uninitialized.

argument(compiler::ArgumentType arg_type, size_t local_memory_size)

Constructor to create a local memory buffer argument.

Parameters
  • arg_type – Type of the kernel argument, must have kind of compiler::ArgumentKind::POINTER and address_space of cl::binary::AddressSpace::LOCAL.

  • local_memory_size – Size of the local memory buffer argument.

argument(compiler::ArgumentType arg_type, const cl_sampler sampler)

Constructor to create a sampler argument.

Parameters
  • arg_type – Type of the kernel argument, must have kind of compiler::ArgumentKind::SAMPLER.

  • sampler – Sampler object.

argument(compiler::ArgumentType type, cl_mem mem)

Constructor to create a memory buffer argument.

This object does not internally retain the memory objects because the kernel isn’t allowed to retain memory objects set as its arguments.

Parameters
  • type – Type of the kernel argument, must be a valid type to use with a memory buffer.

  • mem – Memory buffer object.

argument(compiler::ArgumentType type, const void *value, size_t value_size)

Constructor to create an argument passed by value.

This constructor copies the value it’s given internally.

Parameters
  • type – Type of the argument, it should be a struct argument type, a numerical argument type, or a pointer to a custom buffer.

  • value – Value of the parameter.

  • value_size – Size of the data.

argument(const argument &other)

Copy constructor.

Parameters

other – Argument to copy from.

argument(argument &&other)

Move constructor.

Parameters

other – Argument to move from.

argument &operator=(const argument &other)

Copy assignment operator.

Parameters

other – Kernel argument to copy.

Returns

Kernel argument assigned to.

argument &operator=(argument &&other)

Move assignment operator.

After a call to this operator, the right operand object is invalidated so its type and storage type are the same as if it has been constructed with the default constructor.

Parameters

other – Kernel argument to move.

Returns

Kernel argument assigned to.

~argument()

Destructor.

struct value_t
#include <kernel.h>
struct _cl_mem : public cl::base<_cl_mem>
#include <mem.h>

Definitions of OpenCL memory object API.

The cl_mem type is a handle to a “Memory Object” (as described in (Section 3.5 of the OpenCL 1.1 Spec). cl_mem is a number (like a file handler for Linux) that is reserved for the use as a “memory identifier” (the API/driver stores information about your memory under this number so that it knows what it holds/how big it is etc). Essentially are inputs and outputs for OpenCL kernels, and are returned from OpenCL API calls in host code such as clCreateBuffer.

Subclassed by _cl_mem_buffer, _cl_mem_image

Public Functions

_cl_mem(const cl_context context, const cl_mem_flags flags, const size_t size, const cl_mem_object_type type, cl_mem optional_parent, void *host_ptr, const cl::ref_count_type ref_count_init_type, cargo::dynamic_array<mux_memory_t> &&mux_memories)

Memory object constructor.

Parameters
  • context[in] Context the memory object belongs to.

  • flags[in] Memory allocation flags.

  • size[in] Size in bytes of the requested device allocation.

  • type[in] Type of the memory object.

  • optional_parent[in] Optional parent memory object of this sub buffer.

  • host_ptr[in] Pointer to optionally user provided host memory.

  • ref_count_init_type[in] Reference counting type, internal/external.

  • mux_memories[in] Mux device memory objects.

~_cl_mem()

Destructor.

bool registerCallback(cl::pfn_notify_mem_t pfn_notify, void *user_data)

Register a destructor callback function to the memory object.

Parameters
  • pfn_notify[in] Destructor callback function pointer.

  • user_data[in] User data to be passed to the callback function.

Returns

Return true on success, false otherwise.

cl_int allocateMemory(mux_device_t mux_device, uint32_t supported_heaps, mux_allocator_info_t mux_allocator, mux_memory_t *out_memory)

Allocate device memory is required.

Before calling this function the _cl_mem object will not have any physical device memory associated with it. After this function succeeds there will physical device memory but inherited _cl_mem_buffer or _cl_mem_image will not be bound to this memory.

Parameters
  • mux_device[in] Mux device to allocate memory on.

  • supported_heaps[in] Supported heaps to allocate from.

  • mux_allocator[in] Allocator used for memory management.

  • out_memory[out] The allocated device memory.

Returns

Returns CL_SUCCESS on success, or CL_MEM_OBJECT_ALLOCATION_FAILURE on failure.

cl_int pushMapMemory(cl_command_queue command_queue, void **mappedPointer, size_t offset, size_t size, bool read, bool write, bool invalidate, cargo::array_view<const cl_event> event_wait_list, cl_event return_event)

Push a map command to the queue.

Parameters
  • command_queue[in] OpenCL command queue to enqueue on.

  • mappedPointer[out] Pointer that must be filled with a pointer to the mapped region when this function returns. returned to the user. Can be a nullptr if an event is not necessary or requested for this command.

  • offset[in] Offset in bytes into the memory to map.

  • size[in] Size in bytes of the memory to map.

  • read[in] Perform a read during mapping.

  • write[in] Perform a write during mapping.

  • invalidate[in] Perform a invalidating write during mapping.

  • event_wait_list[in] List of events to wait for.

  • return_event[out] Event associated with this command that will be

bool overlaps(size_t offset, size_t size)

Checks whether a mapping will overlap any already existing mapping.

Public Members

const cl_context context

Context the memory object belongs to.

const cl_mem_flags flags

Memory allocation flags.

size_t size

Size in bytes of the requested device allocation.

const cl_mem_object_type type

Type of the memory object.

const cl_mem optional_parent

Optional parent memory object of this sub buffer.

cargo::dynamic_array<mux_memory_t> mux_memories

List of mux memory objects, the physical device memory allocation.

cargo::small_vector<cl::pfn_notify_mem_t, 4> callbacks

Buffer of registered memory object destructor callbacks.

cargo::small_vector<void*, 4> callback_datas

Buffer of user data pointers for callbacks.

std::mutex mutex

Mutex to lock access to the map count, the mapped base pointer, and the active write mappings.

cl_uint mapCount

Count of the times this memory object has been mapped this count includes mapping on sub-buffers, and will be 0 for sub-buffers.

void *map_base_pointer

Base pointer for mappings associated with this cl_mem, for sub-buffers this will always be a nullptr, the map_base_pointer of the parent should be used.

std::unordered_map<void*, mapping> write_mappings

Map storing all the active write mappings on this cl_mem, this includes write mappings on sub-buffers and will be empty on sub-buffers.

cl_device_id device_owner

Device which owns the most up to date version of the data.

struct mapping
#include <mem.h>

Struct representing a mapping.

Public Members

cl_uint offset

Absolute offset of the mapping in the buffer.

cl_uint size

Size of the mapping.

bool is_active = true

Flag indicating whether this mapping is currently “active”.

Active mappings have yet to be unmapped via clEnqueueUnmapMemObject, meaning that subsequent calls to clEnqueueMapBuffer need to check for overlap.

This flag is required because in the sequence of commands write_map->unmap->write_map, overlapping regions may be valid, but since we don’t actually dispatch any mux commands until there is a flush, we need to keep track of whether a write region will be mapped or unmapped in order to do error checking.

Because we currently only support in order queues we can toggle this flag in the clEnqueueMapBuffer/clEnqueueUnmapMemObject entry points, rather than in the callbacks passed to muxCommandUserCallback and the ordering of maps/unmaps will be correct.

struct _cl_platform_id : public cl::base<_cl_platform_id>
#include <platform.h>

Definition of the OpenCL platform object.

Public Functions

compiler::Library *getCompilerLibrary()

Get a pointer to the compiler library handle.

Returns

Returns a pointer to the library handle when the compiler library is loaded, nullptr otherwise.

cargo::optional<std::string> getCompilerLibraryLoaderError()

Get compiler library loader error message.

Returns

Returns a string containing the compiler library loader error message if library loading failed, an empty optional otherwise.

Public Members

cargo::dynamic_array<cl_device_id> devices

List of devices owned by the platform.

Public Static Functions

static cargo::expected<cl_platform_id, cl_int> getInstance()

The only way to access the single cl_platform_id instance.

There are multiple entry points which require the platform to be initialize such as cl::GetPlatformIDs and cl::GetExtensionFunctionAddress but we only want to initialize the platform once. The cl_platform_id is a local static variable of the getPlatform() function and initialization is performed in a lambda passed to std::call_once.

If there are any allocation failures abort() is called as this is a critical failure which can not be recovered from.

Returns

Returns the only cl_platform_id instance on success.

Returns

`CL_OUT_OF_HOST_MEMORY` – if platform initialization failed.

struct _cl_program : public cl::base<_cl_program>
#include <program.h>

Public Functions

~_cl_program()

Destructor.

cl_int compile(cargo::array_view<const cl_device_id> devices, cargo::array_view<compiler::InputHeader> input_headers)

Compile the program for each device.

Parameters
  • devices[in] List of devices to compile the program for.

  • input_headers[in] List of input headers to be included.

Returns

Return an OpenCL error code.

Returns

  • `CL_SUCCESS` – when compilation was successful.

  • `CL_OUT_OF_HOST_MEMORY` – if an allocation failed.

  • `CL_INVALID_COMPILER_OPTIONS` – when invalid options were set.

  • `CL_COMPILE_PROGRAM_FAILURE` – when compilation failed.

cl_int link(cargo::array_view<const cl_device_id> devices, cargo::array_view<const cl_program> input_programs)

Link the program for each device.

Parameters
  • devices[in] Devices to link the program for.

  • input_programs[in] List of compiled binaries or libraries to link.

Returns

Returns an OpenCL error code.

Returns

  • `CL_SUCCESS` – when linking was successful.

  • `CL_OUT_OF_HOST_MEMORY` – if an allocation failed.

  • `CL_INVALID_LINKER_OPTIONS` – when invalid options were set.

  • `CL_LINK_PROGRAM_FAILURE` – when linking failed.

bool finalize(cargo::array_view<const cl_device_id> devices)

Finalize the program and create an executable for each device.

Parameters

devices[in] List of device to finalize the program for.

Returns

Return true on success, false on failure.

cargo::optional<const compiler::KernelInfo*> getKernelInfo(cargo::string_view name) const

Query the program for a named kernel.

Parameters

name[in] Name of the kernel to query.

Returns

Returns the kernel description if there is one.

size_t getNumKernels() const

Query the program for the number of kernels it contains.

Returns

Return the number of kernels in the program.

const char *getKernelNameByOffset(const size_t kernel_index) const

Query the program for the kernel name at index.

Parameters

kernel_index[in] Index of the kernel to get the name of.

Returns

Return string containing the name of the kernel.

bool hasDevice(const cl_device_id device) const

Query the program to determine if it targets the device.

Parameters

device[in] Device to query the program with.

Returns

Return true if the program contains the device, false otherwise.

bool hasOption(cl_device_id device, const char *option)

Query the program to determine if an option was set.

Parameters
  • device[in] Device to query if an option was set.

  • option[in] Option to query the program with.

Returns

Return true if the option was set, false otherwise.

cl_int setOptions(cargo::array_view<const cl_device_id> devices, cargo::string_view options, const compiler::Options::Mode mode)

Sets build flags on the compiler binary based on options string.

Parameters
  • devices[in] List of device to set options for.

  • options[in] String of options to set on the program.

  • mode[in] Option parsing mode, either _cl_program::option_mode::COMPILE when invoked from clBuildProgram and clCompileProgram or _cl_program::option_mode::LINK when invoked from clLinkProgram.

Returns

Return an OpenCL error code.

Returns

  • `CL_SUCCESS` – when options are set.

  • `CL_INVALID_COMPILER_OPTIONS` – when invoked with mode = _cl_program::option_mode::COMPILE and an invalid option was set.

  • `CL_INVALID_LINKER_OPTIONS` – when invoked with mode = _cl_program::option_mode::LINK and an invalid option was set.

  • `CL_OUT_OF_HOST_MEMORY` – if an allocation failure occurs.

Public Members

cl_context context

Context which the program belongs to.

std::unordered_map<cl_device_id, cl::device_program> programs

Map OpenCL devices to program binaries.

union _cl_program

Program state retained for use in OpenCL entry points.

Access of these union members must always occur after checking _cl_program::type is set to the associated value:

  • To access _cl_program::openclc, _cl_program::type must be cl::program_type::OPENCLC.

  • To access _cl_program::builtInKernel, _cl_program::type must be cl::program_type::BUILTIN.

  • To access _cl_program::spirv, _cl_program::type must be cl::program_type::SPIRV.

std::atomic<int> num_external_kernels

Atomic count of the number of retained kernel objects.

If a single kernel is retained multiple times then this counter gets incremented multiple times (and decremented when the kernels are released). This counter only exists so that if clBuildProgram() or clCompileProgram() are called on a cl_program that has already been built/compiled and still has attached kernels then an error code can be returned (as expected by the OpenCL specification).

Note

This number only relates to externally retained kernels, not internally retained ones. Thus the count may reach zero while some kernels still exist internally in the runtime.

cl::program_type type

The type of the program.

std::unordered_map<cl_device_id, cl::program_work_item_order> work_item_order

The work-item ordering of the program.

Public Static Functions

static cargo::expected<std::unique_ptr<_cl_program>, cl_int> create(cl_context context, cl_uint count, const char *const *strings, const size_t *lengths)

Create program with source.

Parameters
  • context[in] OpenCL context to create the program within.

  • count[in] Number of items in the strings and lengths arrays.

  • strings[in] Array of source code strings.

  • lengths[in] Array of string size in bytes of each string in strings.

Returns

Returns a program object on success, an OpenCL error on failure.

Returns

`CL_OUT_OF_HOST_MEMORY` – if an allocation failure occurred.

static cargo::expected<std::unique_ptr<_cl_program>, cl_int> create(cl_context context, const void *il, size_t length)

Create program with intermediate language.

Parameters
  • context[in] OpenCL context to create the program within.

  • il[in] Intermediate language binary data.

  • length[in] Length in bytes of il.

Returns

Returns a program object on success, an OpenCL error on failure.

Returns

  • `CL_OUT_OF_HOST_MEMORY` – if an allocation failure occurred.

  • `CL_INVALID_VALUE` – if the SPIR-V module is invalid.

static cargo::expected<std::unique_ptr<_cl_program>, cl_int> create(cl_context context, cl_uint num_devices, const cl_device_id *device_list, const size_t *lengths, const unsigned char *const *binaries, cl_int *binary_status)

Create program with binary.

Parameters
  • context[in] OpenCL context to create the program within.

  • num_devices[in] Number of items in the device_list, lengths, binaries, and binary_status arrays.

  • device_list[in] Array of devices to create the program for.

  • lengths[in] Array of binary size in bytes of each binary in binaries.

  • binaries[in] Array of program binaries.

  • binary_status[out] Array of binary status to be set for each binary in binaries.

Returns

Returns a program object on success, an OpenCL error on failure.

Returns

`CL_OUT_OF_HOST_MEMORY` – if an allocation failure occurred.

static cargo::expected<std::unique_ptr<_cl_program>, cl_int> create(cl_context context, cl_uint num_devices, const cl_device_id *device_list, const char *kernel_names)

Create program with built-in kernels.

Parameters
  • context[in] OpenCL context to create the program within.

  • num_devices[in] Number of devices in device_list.

  • device_list[in] Array of devices to create the program for.

  • kernel_names[in] Semi-colon separated list of kernel names.

Returns

Returns a program object on success, an OpenCL error on failure.

Returns

  • `CL_OUT_OF_HOST_MEMORY` – if an allocation failure occurred.

  • `CL_INVALID_VALUE` – if a kernel name is not valid.

static cargo::expected<std::unique_ptr<_cl_program>, cl_int> create(cl_context context, cargo::array_view<const cl_device_id> devices, cargo::string_view options, cargo::array_view<const cl_program> input_programs)

Create program by linking multiple existing programs.

Parameters
  • context[in] OpenCL context to create the program within.

  • devices[in] List of devices to create the program for.

  • options[in] Linker options to use when creating the program.

  • input_programs[in] List of programs to be linked together.

Returns

Returns a program object on success, an OpenCL error on failure.

Returns

  • `CL_INVALID_OPERATION` – 1.) If the compilation or build of a program executable for any of the devices listed in device_list by a previous call to clCompileProgram() or clBuildProgram() for program has not completed. 2.) If the rules for devices containing compiled binaries or libraries as described in input_programs argument above are not followed.

  • `CL_LINKER_NOT_AVAILABLE` – if a linker is not available i.e. CL_DEVICE_LINKER_AVAILABLE specified in the table of allowed values for param_name for clGetDeviceInfo() is set to CL_FALSE.

  • `CL_LINK_PROGRAM_FAILURE` – if there is a failure to link the compiled binaries and/or libraries.

struct BuiltInKernel
#include <program.h>

Built in kernel program state.

Public Members

std::string names

A string of the builtin kernels within the program.

struct callback
#include <program.h>

RAII type for handling program callbacks.

Public Functions

inline callback(cl_program program, cl::pfn_notify_program_t pfn_notify, void *user_data)

Constructor, store the callback to be invoked later.

Parameters
  • program[in] _cl_program object pointer.

  • pfn_notify[in] Register callback function for notification.

  • user_data[in] Client’s user data (pass through).

inline ~callback()

Destructor, invokes the callback function.

struct OpenCLC
#include <program.h>

OpenCL C program state.

Public Members

std::string source

OpenCL C source code string.

struct SPIRV
#include <program.h>

SPIR-V program state.

Public Functions

cargo::optional<const compiler::spirv::SpecializationInfo&> getSpecInfo()

Get information to specialize a SPIR-V module’s constants.

Returns

Optionally returns the specialization information if present.

Public Members

cargo::dynamic_array<uint32_t> code

IL program input (probably SPIR-V) binary.

struct _cl_sampler : public cl::base<_cl_sampler>
#include <sampler.h>

Definition of OpenCL API object _cl_sampler.

Public Functions

_cl_sampler(cl_context context, cl_bool normalised_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode)

Sampler constructor.

Parameters
  • context[in] Context the sampler belongs to.

  • normalised_coords[in] Enable or disable normalized coordinates.

  • addressing_mode[in] Specify out of range coordinate behaviour.

  • filter_mode[in] Specify type of read image filter.

Public Members

cl_context context

Context the sampler belongs to.

cl_bool normalized_coords

Enable or disable normalized coordinates.

cl_addressing_mode addressing_mode

Specify out of range coordinate behavior.

cl_filter_mode filter_mode

Specify type of read image filter.

cl_uint sampler_value

Combined sampler bit field value passed to kernels.

namespace cl::max

Enums

enum limits

Define the limits of the work item, work group.

Values:

enumerator WORK_ITEM_DIM

Maximum supported work item dimensions.

namespace cl::validate

Functions

inline cl_int EventWaitList(cl_uint num_events, const cl_event *events, cl_context context, cl_event *event, cl_bool blocking = CL_FALSE)

Validate an event wait list.

Parameters
  • num_events – Number of events in the wait list.

  • events – Event wait list.

  • context – The context to which the event in the wait list should belong.

  • event – Return event of the command, can be a nullptr

  • blocking – Indicate if the event wait list is for a blocking command, defaults to false.

Returns

Returns

  • `CL_SUCCESS` – if the event wait list is valid.

  • `CL_INVALID_EVENT_WAIT_LIST` – is returned in the following cases:

    • The number of events in the wait list is 0 and the wait list is not a nullptr.

    • The number of events in the wait list is more than 0 and the wait list is a nullptr.

    • One of the event in the wait list is a nullptr.

    • One of the event in the wait list is the same as the event returned to the user.

    • If an event has a negative status (failed), whilst this is not specified it will prevent deadlocks.

  • `CL_INVALID_CONTEXT` – is returned if one of the event in the wait list is not in the provided context.

  • `CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST` – is returned if the call is blocking and one of the event in the wait list is in a failed status, that is to say its status is a negative integer.

inline cl_int ImageSupportForAnyDevice(const _cl_context *context)

Validate that at least one device of the given context supports images.

Parameters

context – OpenCL context whose devices are checked for image support.

Returns

cl_int CL_SUCCESS if at least one device of context supports images. CL_INVALID_OPERATION if no device of context supports images.

template<typename T>
inline bool IsInBitSet(const T bitset, const int32_t value)

Check if a given value is set in the given bit set.

Template Parameters

T – set type.

Parameters
  • bitset – Bit set.

  • value – Value to check.

Returns

True if the value is in the bit set, false otherwise.

inline bool BinaryType(const cl_program_binary_type type)

Check if the given binary type is valid and supported.

Parameters

type[in] Binary type to check.

Returns

True if the binary type is valid and supported, false otherwise.

inline cl_int MemFlags(cl_mem_flags flags, void *host_ptr)

Validate cl_mem_flags for creating buffers and images.

Below is a table of the valid combinations of cl_mem_flags, the numbered columns match the flag names in the left hand column.

flag

1

2

3

4

5

6

7

8

9

read write (1)

/

x

x

x

x

x

x

write only (2)

/

x

x

x

x

x

x

read only (3)

/

x

x

x

x

x

x

use host ptr (4)

x

x

x

/

x

x

x

alloc host ptr (5)

x

x

x

/

x

x

x

x

copy host ptr (6)

x

x

x

x

/

x

x

x

host write only (7)

x

x

x

x

x

x

/

host read only (8)

x

x

x

x

x

x

/

host no access (9)

x

x

x

x

x

x

/

Parameters
  • flags – Bit field to validate.

  • host_ptr – Host pointer referenced by some flags.

Returns

Returns CL_SUCCESS if the flags are valid, CL_INVALID_VALUE or CL_INVALID_HOST_PTR otherwise.

cl_int CopyBufferArguments(cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, size_t src_offset, size_t dst_offset, size_t size)

Validate the user inputs passed to a copy buffer command.

Used by both clEnqueueCopyBuffer and clCommandCopyBufferKHR.

Parameters
  • command_queue[in] Command queue to enqueue the copy on.

  • src_buffer[in] Source buffer to copy from.

  • dst_buffer[in] Destination buffer to copy to.

  • src_origin[in] Offset in bytes into the source buffer to begin copying from.

  • dst_origin[in] Offset in bytes into the destination buffer to begin copying into.

  • region[in] Rectangular region to copy.

  • src_row_pitch[in] Size in bytes of a source buffer row, may be 0.

  • src_slice_pitch[in] Size in bytes of a source buffer slice, may be 0.

  • dst_row_pitch[in] Size in bytes of a destination buffer row, may be 0.

  • dst_slice_pitch[in] Size in bytes of a destination buffer slice, may be 0.

Returns

CL_SUCCESS if arguments are valid or an appropriate OpenCL error code as defined by the specification.

cl_int FillBufferArguments(cl_command_queue command_queue, cl_mem buffer, const void *pattern, size_t pattern_size, size_t offset, size_t size)

Validate the user inputs passed to a fill buffer command.

Used by both clEnqueueFillBuffer and clCommandFillBufferKHR.

Parameters
  • command_queue[in] Command queue to enqueue fill on.

  • buffer[in] Buffer to fill.

  • pattern[in] Pattern to fill buffer with.

  • pattern_size[in] Size in bytes of the pattern to fill with.

  • offset[in] Offset in bytes to begin the fill.

  • size[in] Size in bytes of the region to fill.

Returns

CL_SUCCESS if arguments are valid or an appropriate OpenCL error code as defined by the specification.

cl_int CopyBufferRectArguments(cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, const size_t *src_origin, const size_t *dst_origin, const size_t *region, size_t src_row_pitch, size_t src_slice_pitch, size_t dst_row_pitch, size_t dst_slice_pitch)

Validate the user inputs passed to a copy buffer rect command.

Used by both clEnqueueCopyBufferRect and clCommandCopyBufferRectKHR.

Parameters
  • command_queue[in] Command queue to enqueue the copy on.

  • src_buffer[in] Source buffer to copy from.

  • dst_buffer[in] Destination buffer to copy to.

  • src_origin[in] Offset in bytes into the source buffer to begin copying from.

  • dst_origin[in] Offset in bytes into the destination buffer to begin copying into.

  • region[in] Rectangular region to copy.

  • src_row_pitch[in] Size in bytes of a source buffer row, may be 0.

  • src_slice_pitch[in] Size in bytes of a source buffer slice, may be 0.

  • dst_row_pitch[in] Size in bytes of a destination buffer row, may be 0.

  • dst_slice_pitch[in] Size in bytes of a destination buffer slice, may be 0.

Returns

CL_SUCCESS if arguments are valid or an appropriate OpenCL error code as defined by the specification.

cl_int FillImageArguments(cl_command_queue command_queue, cl_mem image_, const void *fill_color, const size_t *origin, const size_t *region)

Validate the user inputs passed to a fill image command.

Used by both clEnqueueFillImage and clCommandFillImageKHR.

Parameters
  • command_queue[in] Command queue to enqueue the image fill on.

  • image_[in] Image memory object to fill.

  • fill_color[in] Four element fill color value array.

  • origin[in] Origin offset in pixels to begin filling at.

  • region[in] Region size in pixels to fill.

Returns

CL_SUCCESS if arguments are valid or an appropriate OpenCL error code as defined by the specification.

cl_int CopyImageArguments(cl_command_queue command_queue, cl_mem src_image_, cl_mem dst_image_, const size_t *src_origin, const size_t *dst_origin, const size_t *region)

Validate the user inputs passed to a copy image command.

Used by both clEnqueueCopyImage and clCommandCopyImageKHR.

Parameters
  • command_queue[in] Command queue to enqueue the image copy on.

  • src_image_[in] Source image memory object to copy from.

  • dst_image_[in] Destination image memory object to copy to.

  • src_origin[in] Source origin offset in pixels to begin copy from.

  • dst_origin[in] Destination origin offset in pixels to begin copy to.

  • region[in] Region size in pixels to copy.

Returns

CL_SUCCESS if arguments are valid or an appropriate OpenCL error code as defined by the specification.

cl_int CopyImageToBufferArguments(cl_command_queue command_queue, cl_mem src_image_, cl_mem dst_buffer_, const size_t *src_origin, const size_t *region, size_t dst_offset)

Validate the user inputs passed to a copy image to buffer command.

Used by both clEnqueueCopyImageToBuffer and clCommandCopyImageToBufferKHR.

Parameters
  • command_queue[in] Command queue to enqueue the copy on.

  • src_image_[in] Source image memory object to copy from.

  • dst_buffer_[in] Destination buffer memory object to copy to.

  • src_origin[in] Source image origin offset in pixel to copy from.

  • region[in] Region size in pixels to copy from.

  • dst_offset[in] Destination buffer offset in bytes to copy to.

Returns

CL_SUCCESS if arguments are valid or an appropriate OpenCL error code as defined by the specification.

cl_int CopyBufferToImageArguments(cl_command_queue command_queue, cl_mem src_buffer_, cl_mem dst_image_, size_t src_offset, const size_t *dst_origin, const size_t *region)

Validate the user inputs passed to a copy buffer to image command.

Used by both clEnqueueCopyBufferToImage and clCommandCopyBufferToImageKHR.

Parameters
  • command_queue[in] Command queue to enqueue the copy on.

  • src_buffer_[in] Source buffer memory object to copy from.

  • dst_image_[in] Destination image memory object to copy to.

  • src_offset[in] Source buffer origin offset in bytes to copy from.

  • dst_origin[in] Destination image origin offset in pixels to copy to.

  • region[in] Region size in pixels to copy.

Returns

CL_SUCCESS if arguments are valid or an appropriate OpenCL error code as defined by the specification.

compiler module

The OpenCL C frontend compiler and a set of LLVM passes to transform the generated LLVM IR before hand off to mux are contained in the compiler module.

group cl_compiler

Functions

Result moduleToProgramInfo(ProgramInfo &program_info, llvm::Module *const module, bool store_argument_metadata)

Initialize information for all kernels by scanning a LLVM module.

Parameters
  • program_info[in] ProgramInfo instance to populate.

  • module[in] The module to extract information from.

  • store_argument_metadata[in] Whether to store additional argument metadata as required by -cl-kernel-arg-info.

Returns

Return a status code.

Returns

  • `Result::SUCCESS` – if program info extraction was successful.

  • `Result::OUT_OF_MEMORY` – if an allocation failed.

  • `Result::FINALIZE_PROGRAM_FAILURE` – when there was a problem with the LLVM IR.

struct compiler::BitShiftFixupPass : public llvm::PassInfoMixin<BitShiftFixupPass>
#include <bit_shift_fixup_pass.h>

Update shift instructions to add a modulo when required.

Public Functions

llvm::PreservedAnalyses run(llvm::Function &F, llvm::FunctionAnalysisManager &FAM)

The entry point to the pass.

Parameters
  • F[inout] The function provided to the pass.

  • FAM[inout] The analysis manager provided to the pass.

Returns

Return analyses preserved by the pass

struct compiler::BuiltinSimplificationPass : public llvm::PassInfoMixin<BuiltinSimplificationPass>
#include <builtin_simplification_pass.h>

Post parsing pass to make a module work for fast math.

Public Functions

llvm::PreservedAnalyses run(llvm::Module &module, llvm::ModuleAnalysisManager &am)

The entry point to the BuiltinSimplificationPass.

Parameters
  • module[inout] The module to run the pass on.

  • am[inout] Analysis manager providing analyses.

Returns

Whether or not the pass changed anything in the module.

struct compiler::CheckForExtFuncsPass : public llvm::PassInfoMixin<CheckForExtFuncsPass>
#include <check_for_ext_funcs_pass.h>

Pass to check for unavailable external functions.

All unavailable external functions are raised as DiagnosticInfoExternalFunc diagnostics with error-level severity. The currently installed diagnostic handler is responsible for handling them. It may abort, it may log an error and continue, or it may ignore them completely; there are no requirements imposed by ComputeMux.

Note that the compilation pipeline will continue after this pass unless the diagnostic stops it.

Public Functions

llvm::PreservedAnalyses run(llvm::Module &M, llvm::ModuleAnalysisManager &AM)

The entry point to the pass.

Parameters
  • M – The Module provided to the pass.

  • AM – Manager providing analyses.

Returns

Return whether or not the pass changed anything (always false for this pass).

struct compiler::CheckForUnsupportedTypesPass : public llvm::PassInfoMixin<CheckForUnsupportedTypesPass>
#include <check_for_unsupported_types_pass.h>

Pass to check for unsupported floating point types.

This pass is used to check for the presence of floating-point doubles and halfs. Both are optional in OpenCL (cl_khr_fp64 and cl_khr_fp16), and if we don’t have them, we need to check that we aren’t using them. All basic blocks containing any instruction with ‘double’- or ‘half’-typed operands or return type are raised as external functions are raised as DiagnosticInfoDoubleNoDouble or DiagnosticInfoHalfNoHalf diagnostics with error-level severity. The currently installed diagnostic handler is responsible for handling them. It may abort, it may log an error and continue, or it may ignore them completely; there are no requirements imposed by ComputeMux.

Note that the compilation pipeline will continue after this pass unless the diagnostic stops it.

Public Functions

llvm::PreservedAnalyses run(llvm::Function &F, llvm::FunctionAnalysisManager &AM)

The entry point to the pass.

Parameters
  • F – The Function provided to the pass.

  • AM – Manager providing analyses.

Returns

Return whether or not the pass changed anything (always false for this pass).

struct compiler::CombineFPExtFPTruncPass : public llvm::PassInfoMixin<CombineFPExtFPTruncPass>
#include <combine_fpext_fptrunc_pass.h>

Pass to combine FPExt and FPTrunc instructions that cancel each other.

This is used after the printf replacement pass, because var-args printf arguments may be expanded to double by clang even if the device doesn’t support doubles, so if the device doesn’t support doubles, the printf pass will fptrunc the parameters back to float. And this pass will find and remove the matching fpext (added by clang) and fptrunc (added by the printf pass) to get rid of the doubles.

Public Functions

llvm::PreservedAnalyses run(llvm::Function &F, llvm::FunctionAnalysisManager &AM)

The entry point to the pass.

Parameters
  • F[inout] The function provided to the pass.

  • AM[inout] Manager providing analyses.

Returns

Return whether or not the pass changed anything.

class compiler::BaseContext : public compiler::Context
#include <context.h>

Compiler context implementation.

Public Functions

BaseContext(BaseContext&&) = delete

Deleted move constructor.

Also deletes the copy constructor and the assignment operators.

virtual bool isValidSPIRV(cargo::array_view<const uint32_t> code) override

Checks if a binary stream is valid SPIR-V.

Parameters

code – View of the SPIR-V binary stream.

Returns

Returns true if the stream is valid, false otherwise.

virtual cargo::expected<spirv::SpecializableConstantsMap, std::string> getSpecializableConstants(cargo::array_view<const uint32_t> code) override

Get a description of all of a SPIR-V modules specializable constants.

Parameters

code – View of the SPIR-V binary stream.

Returns

Returns a map of the modules specializable constants on success, otherwise returns an error string.

struct compiler::FastMathPass : public llvm::PassInfoMixin<FastMathPass>
#include <fast_math_pass.h>

Post parsing pass to make a module work for fast math.

Public Functions

llvm::PreservedAnalyses run(llvm::Module &M, llvm::ModuleAnalysisManager &MAM)

The entry point to the FastMathPass.

Parameters

module[inout] The module to run the pass on.

Returns

Whether or not the pass changed anything in the module.

struct compiler::ImageArgumentSubstitutionPass : public llvm::PassInfoMixin<ImageArgumentSubstitutionPass>
#include <image_argument_substitution_pass.h>

Replace OpenCL image calls with those coming from image library.

Public Functions

llvm::PreservedAnalyses run(llvm::Module &module, llvm::ModuleAnalysisManager &am)

Replace OpenCL opaque image types with those from image library.

Overrides llvm::ModulePass::runOnModule().

Parameters
  • module[inout] The module to run the pass on.

  • am[inout] The analysis manager providing module analyses.

Returns

Return the set of preserved analyses.

struct compiler::MemToRegPass : public llvm::PassInfoMixin<MemToRegPass>
#include <mem_to_reg_pass.h>

Codeplay’s mem to reg pass.

Public Functions

llvm::PreservedAnalyses run(llvm::Function &function, llvm::FunctionAnalysisManager &am)

The entry point to the MemToRegPass.

Parameters
  • function[inout] The function to run the pass on.

  • am[inout] Analysis manager providing analyses.

Returns

Whether or not the pass changed anything in the function.

struct compiler::PrintfReplacementPass : public llvm::PassInfoMixin<PrintfReplacementPass>
#include <printf_replacement_pass.h>

Pass replacing the printf calls by code that loads the printf arguments in a buffer. The buffer is also added as an argument to functions and kernels, see DESIGN.md for more details.

Public Functions

PrintfReplacementPass(PrintfDescriptorVecTy *descriptors = nullptr, size_t buffer_size = PRINTF_BUFFER_SIZE)

Constructor.

Parameters
  • descriptors[out] An optional vector to be filled with descriptors of the printf calls that have been replaced by this pass.

  • buffer_size[in] The required size of the printf buffer.

llvm::PreservedAnalyses run(llvm::Module &module, llvm::ModuleAnalysisManager &am)

The entry point to the PrintfReplacementPass.

This function finds all calls to the OpenCL printf function, and attempts to scalarized them. If a call to printf contains an illegal OpenCL printf format string, then the call is removed, and all of its uses are replaced by the error code -1. Else, the call will be replaced with a scalarized version.

Parameters
  • module[inout] The module to run the pass on.

  • am[inout] The analysis manager providing analyses.

Returns

Whether or not the pass changed anything in the module.

struct compiler::SetConvergentAttrPass : public llvm::PassInfoMixin<SetConvergentAttrPass>
#include <set_convergent_attr_pass.h>

Set the convergent attribute on convergent functions.

Public Functions

llvm::PreservedAnalyses run(llvm::Module &M, llvm::ModuleAnalysisManager&)

The entry point to the pass.

Parameters

M[inout] The module provided to the pass.

Returns

Return whether or not the pass changed anything.

class compiler::SoftwareDivisionPass : public llvm::PassInfoMixin<SoftwareDivisionPass>
#include <software_division_pass.h>

Public Functions

llvm::PreservedAnalyses run(llvm::Function &F, llvm::FunctionAnalysisManager &AM)

The entry point to the pass.

Parameters
  • F[inout] The function provided to the pass.

  • AM[inout] The manager providing function analyses to the pass.

Returns

The set of preserved analyses.

extension module

group cl_extension

Defines

OCL_EXTENSION_cl_codeplay_extra_build_options
OCL_EXTENSION_cl_codeplay_kernel_debug
OCL_EXTENSION_cl_codeplay_kernel_exec_info
OCL_EXTENSION_cl_codeplay_performance_counters
OCL_EXTENSION_cl_codeplay_set_threads
OCL_EXTENSION_cl_codeplay_soft_math
OCL_EXTENSION_cl_codeplay_wfv
OCL_EXTENSION_cl_intel_required_subgroup_size
OCL_EXTENSION_cl_intel_unified_shared_memory
OCL_EXTENSION_cl_khr_create_command_queue
OCL_EXTENSION_cl_khr_extended_async_copies
OCL_EXTENSION_cl_khr_fp16
OCL_EXTENSION_cl_khr_icd
OCL_EXTENSION_cl_khr_opencl_c_1_2
CA_CL_RUNTIME_EXTENSION_COUNT
CA_CL_COMPILER_EXTENSION_COUNT
CA_CL_EXTENSION_COUNT

Functions

cl_int GetPlatformInfo(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended platform information.

Parameters
  • platform – Platform to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended device information.

Parameters
  • device – Device to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetContextInfo(cl_context context, cl_context_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended context information.

Parameters
  • context – Context to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int ApplyPropertyToCommandQueue(cl_command_queue command_queue, cl_queue_properties_khr property, cl_queue_properties_khr value)

Apply a property to a command queue.

Extension hook for a single extended property passed to clCreateCommandQueueWithPropertiesKHR.

Parameters
  • command_queue[in] OpenCL command queue to apply property to.

  • property[in] Property to enable.

  • value[in] Value of the property to enable.

Returns

Returns an OpenCL error code.

Returns

  • `CL_SUCCESS` – if the property was successfully applied to the command_queue.

  • `CL_INVALID_QUEUE_PROPERTIES` – if property is invalid.

  • `CL_INVALID_VALUE` – if value is invalid.

cl_int GetCommandQueueInfo(cl_command_queue command_queue, cl_command_queue_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended command queue information.

Parameters
  • command_queue – Command queue to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetImageInfo(cl_mem image, cl_image_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended image information.

Parameters
  • image – Image to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Requred size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetMemObjectInfo(cl_mem memobj, cl_mem_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended memory object information.

Parameters
  • memobj – Memory object to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetSamplerInfo(cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended sampler information.

Parameters
  • sampler – Sampler to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetProgramInfo(cl_program program, cl_program_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended program information.

Parameters
  • program – Program to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetProgramBuildInfo(cl_program program, cl_device_id device, cl_program_build_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)
cl_int GetKernelInfo(cl_kernel kernel, cl_kernel_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended kernel information.

Parameters
  • kernel – Kernel to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetKernelWorkGroupInfo(cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all kernel work group information.

Parameters
  • kernel – Kernel to query.

  • device – Device being targeted.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int SetKernelArg(cl_kernel kernel, cl_uint arg_index, size_t arg_size, const void *arg_value)

Set the argument value for a specific argument of a kernel.

Parameters
  • kernel – A valid kernel object.

  • arg_index – The argument index.

  • arg_size – Specifies the size of the argument value, in bytes.

  • arg_value – Pointer to data that should be used as the argument value.

Returns

Returns any code which can be returned from clSetKernelArg.

Returns

`CL_INVALID_KERNEL` – if the extension failed to set the argument.

cl_int GetKernelArgInfo(cl_kernel kernel, cl_uint arg_indx, cl_kernel_arg_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended kernel argument information.

Parameters
  • kernel – Kernel to query.

  • arg_indx – Argument index to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int SetKernelExecInfo(cl_kernel kernel, cl_kernel_exec_info_codeplay param_name, size_t param_value_size, const void *param_value)

Passes additional information other than argument values to a kernel.

Parameters
  • kernel – A valid kernel object.

  • param_name – Information to be passed to kernel.

  • param_value_size – Size in bytes of the memory pointed to by param_value.

  • param_value – Pointer to memory where the appropriate values determined by param_name are specified

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetEventInfo(cl_event event, cl_event_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended event information.

Parameters
  • event – Event to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

cl_int GetEventProfilingInfo(cl_event event, cl_profiling_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret)

Aggregate all extended event profiling information.

Parameters
  • event – Event to query.

  • param_name – Parameter name to query.

  • param_value_size – Size of param_value storage.

  • param_value – Storage for returned value.

  • param_value_size_ret – Required size of param_value.

Returns

Returns CL_SUCCESS or CL_INVALID_VALUE.

void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name)

Access extension function address.

Parameters
  • platform – Platform extension exists on.

  • func_name – Name of extension function.

Returns

Returns a void pointer to the extension function.

cl_int GetRuntimeExtensionsForDevice(cl_device_id device, cargo::string_view &extensions_ret)

Get list of runtime extensions supported by the device.

Parameters
  • device[in] Device to check.

  • extensions_ret[out] Space-separated view of extensions.

Returns

CL_SUCCESS for success or an error code otherwise.

cl_int GetCompilerExtensionsForDevice(cl_device_id device, cargo::string_view &extensions_ret)

Get list of compiler extensions supported by the device.

Parameters
  • device[in] Device to check.

  • extensions_ret[out] Space-separated view of extensions.

Returns

CL_SUCCESS for success or an error code otherwise.

class extension::codeplay_extra_build_options : public extension::extension
#include <codeplay_extra_build_options.h>

Definition of cl_codeplay_extra_build_options extension.

Public Functions

codeplay_extra_build_options()

Default constructor.

struct extension::codeplay_kernel_debug : public extension::extension
#include <codeplay_kernel_debug.h>

Definition of cl_codeplay_kernel_debug extension.

Public Functions

codeplay_kernel_debug()

Default constructor.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Query for device info.

If name usage is kClDeviceExtensions then the extension name is used as the value for param_name CL_DEVICE_EXTENSIONS queries.

See

clGetDeviceInfo.

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

struct extension::codeplay_kernel_exec_info : public extension::extension
#include <codeplay_kernel_exec_info.h>

Definition of cl_codeplay_kernel_exec_info extension.

Public Functions

codeplay_kernel_exec_info()

Default constructor.

virtual void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name) const override

Queries for the extension function associated with func_name.

If extension is enabled, then makes the following extension function query-able:

  • ”clSetKernelExecInfoCODEPLAY”

See

clGetExtensionFunctionAddressForPlatform.

Parameters
  • platform[in] OpenCL platform func_name belongs to.

  • func_name[in] name of the extension function to query for.

Returns

Returns a pointer to the extension function or nullptr if no function with the name func_name exists.

class extension::codeplay_soft_math : public extension::extension
#include <codeplay_soft_math.h>

Definition of cl_codeplay_soft_math extension.

Public Functions

codeplay_soft_math()

Default constructor.

class extension::codeplay_wfv : public extension::extension
#include <codeplay_wfv.h>

Definition of cl_codeplay_wfv extension.

Public Functions

codeplay_wfv()

Default constructor.

virtual void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name) const override

Queries for the extension function associated with func_name.

If extension is enabled, then makes an extensions function query-able:

  • clGetKernelWFVInfoCODEPLAY

See

clGetExtensionFunctionAddressForPlatform.

Parameters
  • platform[inout] OpenCL platform func_name belongs to.

  • func_name[in] name of the extension function to query for. Supported function name if extension is enabled:

    • ”clGetKernelWFVInfoCODEPLAY”

Returns

Returns a pointer to the extension function or nullptr if no function with the name func_name exists.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Query for device info.

If name usage is kClDeviceExtensions then the extension name is used as the value for param_name CL_DEVICE_EXTENSIONS queries.

See

clGetDeviceInfo.

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

class extension::extension
#include <extension.h>

Base class for extensions.

Subclassed by extension::codeplay_extra_build_options, extension::codeplay_host_builtins, extension::codeplay_kernel_debug, extension::codeplay_kernel_exec_info, extension::codeplay_performance_counters, extension::codeplay_set_threads, extension::codeplay_soft_math, extension::codeplay_wfv, extension::intel_required_subgroup_size, extension::intel_unified_shared_memory, extension::khr_command_buffer, extension::khr_command_buffer_mutable_dispatch, extension::khr_create_command_queue, extension::khr_extended_async_copies, extension::khr_fp16, extension::khr_icd, extension::khr_il_program, extension::khr_opencl_c_1_2

Public Types

enum usage_category

Extension usage category.

Values:

enumerator DISABLED

Do not expose the extension string.

enumerator PLATFORM

Exposed in CL_PLATFORM_EXTENSIONS string.

enumerator DEVICE

Exposed in CL_DEVICE_EXTENSIONS string.

Public Functions

extension(extension&&) = delete

Deleted move constructor.

Also deletes the copy constructor and the assignment operators.

virtual ~extension() = 0

Pure virtual destructor to enforce sub-classes to create instances.

Implemented internally to be callable by sub-class destructors.

virtual cl_int GetPlatformInfo(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for platform info.

If name usage is kClPlatformExtensions then the extension name is used as the value for param_name CL_PLATFORM_EXTENSIONS queries.

See

clGetPlatformInfo.

Parameters
  • platform[in] OpenCL platform to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for device info.

If name usage is kClDeviceExtensions then the extension name is used as the value for param_name CL_DEVICE_EXTENSIONS queries.

See

clGetDeviceInfo.

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetContextInfo(cl_context context, cl_context_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for device info.

See

clGetContextInfo.

Parameters
  • context[in] OpenCL context to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cargo::optional<cl_int> ApplyPropertyToCommandQueue(cl_command_queue command_queue, cl_queue_properties_khr property, cl_queue_properties_khr value) const

Apply a property to a command queue.

Extension hook for a single extended property passed to clCreateCommandQueueWithPropertiesKHR.

Parameters
  • command_queue[in] OpenCL command queue to apply property to.

  • property[in] Property to enable.

  • value[in] Value of the property to enable.

Returns

Returns an optional OpenCL error code.

Returns

  • `CL_SUCCESS` – if the property was successfully applied to the command_queue.

  • `CL_INVALID_QUEUE_PROPERTIES` – if property is invalid.

  • `CL_INVALID_VALUE` – if value is invalid.

  • `cargo::nullopt` – if the entry point is not supported.

virtual cl_int GetCommandQueueInfo(cl_command_queue command_queue, cl_command_queue_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for command queue info.

See

clGetCommandQueueInfo.

Parameters
  • command_queue[in] OpenCL command queue to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetImageInfo(cl_mem image, cl_image_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for image info.

See

clGetImageInfo.

Parameters
  • image[in] OpenCL image to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetMemObjectInfo(cl_mem memobj, cl_mem_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for memory object info.

See

clGetMemObjectInfo.

Parameters
  • memobj[in] OpenCL memory object to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetSamplerInfo(cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for sampler info.

See

clGetSamplerInfo.

Parameters
  • sampler[in] OpenCL sampler to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetProgramInfo(cl_program program, cl_program_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for program info.

See

clGetProgramInfo.

Parameters
  • program[in] OpenCL program to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetProgramBuildInfo(cl_program program, cl_device_id device, cl_program_build_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for program build info.

See

clGetProgramBuildInfo.

Parameters
  • program[in] OpenCL program to query.

  • device[in] Specific device build info stored in program to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetKernelInfo(cl_kernel kernel, cl_kernel_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for kernel info.

See

clGetKernelInfo.

Parameters
  • kernel[in] OpenCL kernel to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetKernelWorkGroupInfo(cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for kernel work group info.

See

clGetKernelWorkGroupInfo.

Parameters
  • kernel[in] OpenCL kernel to query.

  • device[in] Specific device to take into account for kernel work group information.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int SetKernelArg(cl_kernel kernel, cl_uint arg_index, size_t arg_size, const void *arg_value) const

Set the argument value for a specific argument of a kernel.

Parameters
  • kernel – A valid kernel object.

  • arg_index – The argument index.

  • arg_size – Specifies the size of the argument value, in bytes.

  • arg_value – Pointer to data that should be used as the argument value.

Returns

Returns any code which can be returned from clSetKernelArg.

Returns

`CL_INVALID_KERNEL` – if the extension failed to set the argument.

virtual cl_int GetKernelArgInfo(cl_kernel kernel, cl_uint arg_indx, cl_kernel_arg_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for kernel argument info.

See

clGetKernelArgInfo.

Parameters
  • kernel[in] OpenCL kernel to query.

  • arg_indx[in] Specific argument index of the kernel to query for information.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int SetKernelExecInfo(cl_kernel kernel, cl_kernel_exec_info_codeplay param_name, size_t param_value_size, const void *param_value) const

Passes additional information other than argument values to a kernel.

See

clSetKernelExecInfo

Parameters
  • kernel – A valid kernel object.

  • param_name – Information to be passed to kernel.

  • param_value_size – Size in bytes of the memory pointed to by param_value.

  • param_value – Pointer to memory where the appropriate values determined by param_name are specified

Returns

Returns any code which can be returned from clSetKernelExecInfo.

Returns

`CL_INVALID_KERNEL` – if the extension failed to set the argument.

virtual cl_int GetEventInfo(cl_event event, cl_event_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for event info.

See

clGetEventInfo.

Parameters
  • event[in] OpenCL event to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual cl_int GetEventProfilingInfo(cl_event event, cl_profiling_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const

Query for event profiling info.

See

clGetEventProfilingInfo.

Parameters
  • event[in] OpenCL event to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

virtual void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name) const

Queries for the extension function associated with func_name.

See

clGetExtensionFunctionAddressForPlatform.

Parameters
  • platform[inout] OpenCL platform func_name belongs to.

  • func_name[in] Name of the extension function to query for.

Returns

Returns a pointer to the extension function or nullptr if no function with the name func_name exists.

class extension::intel_required_subgroup_size : public extension::extension
#include <intel_required_subgroup_size.h>

Definition of the cl_intel_required_subgroup_size extension.

Public Functions

intel_required_subgroup_size()

Default constructor.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Queries for extension provided device info.

If enabled, then GetDeviceInfo queries for CL_DEVICE_EXTENSIONS return "cl_intel_required_subgroup_size" as the query value. Queries for CL_DEVICE_SUB_GROUP_SIZES_INTEL return an array of size_t values with the supported sub-group sizes.

See

extension::extension::GetDeviceInfo for more detailed explanations.

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Information to query for, e.g.:

    • CL_DEVICE_EXTENSIONS

    • CL_DEVICE_SUB_GROUP_SIZES_INTEL

  • param_value_size[in] Size in bytes of the memory area param_value points to.

  • param_value[in] Memory area to copy the queried info in or nullptr to not receive the info value.

  • param_value_size_ret[out] References variable where to store the size of the info value or nullptr to not receive the info value.

Returns

Returns an OpenCL error code.

Returns

  • `CL_SUCCESS` – if the extension accepts the param_name query and the supplied argument values.

  • `CL_INVALID_VALUE` – if the extension does not accept the param_name query.

virtual cl_int GetKernelWorkGroupInfo(cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Query for extension provided kernel work group info.

See

extension::extension::GetKernelWorkGroupInfo for more detailed explanations.

Parameters
  • kernel[in] OpenCL kernel to query.

  • device[in] Specific device to take into account for kernel work group information.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

class extension::intel_unified_shared_memory : public extension::extension
#include <intel_unified_shared_memory.h>

Public Functions

intel_unified_shared_memory()

Default constructor.

virtual void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name) const override

Queries for the extension function associated with func_name.

See

clGetExtensionFunctionAddressForPlatform.

Parameters
  • platform[inout] OpenCL platform func_name belongs to.

  • func_name[in] Name of the extension function to query for.

Returns

Returns a pointer to the extension function or nullptr if no function with the name func_name exists.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Query for device info.

If name usage is kClDeviceExtensions then the extension name is used as the value for param_name CL_DEVICE_EXTENSIONS queries.

See

clGetDeviceInfo.

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

class extension::khr_command_buffer : public extension::extension
#include <khr_command_buffer.h>

Public Functions

virtual void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name) const override

Queries for the extension function associated with func_name.

See

https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_Ext.html#cl_khr_command_buffer

Parameters
  • platform[in] OpenCL platform func_name belongs to.

  • func_name[in] Name of the extension function to query for.

Returns

Returns a pointer to the extension function with func_name or nullptr if it does not exist.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Query for device info.

If name usage is kClDeviceExtensions then the extension name is used as the value for param_name CL_DEVICE_EXTENSIONS queries.

See

clGetDeviceInfo.

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

class extension::khr_command_buffer_mutable_dispatch : public extension::extension
#include <khr_command_buffer_mutable_dispatch.h>

Public Functions

virtual void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name) const override

Queries for the extension function associated with func_name.

New procedures and functions: clUpdateMutableCommandsKHR, clRetainMutableCommandKHR, clReleaseMutableCommandKHR, clGetMutableCommandInfoKHR.

See

https://www.khronos.org/registry/OpenCL/specs/3.0-unified/html/OpenCL_Ext.html

Parameters
  • platform[in] OpenCL platform func_name belongs to.

  • func_name[in] Name of the extension function to query for.

Returns

Returns a pointer to the extension function with func_name or nullptr if it does not exist.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Query for device info.

If name usage is kClDeviceExtensions then the extension name is used as the value for param_name CL_DEVICE_EXTENSIONS queries.

See

clGetDeviceInfo.

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

class extension::khr_create_command_queue : public extension::extension
#include <khr_create_command_queue.h>

Public Functions

khr_create_command_queue()

Default constructor.

virtual void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name) const override

Queries for the extension function associated with func_name.

If extension is enabled, then makes an extensions function query-able:

  • clCreateCommandQueueWithPropertiesKHR

See

cl::GetExtensionFunctionAddressForPlatform.

Parameters
  • platform[inout] OpenCL platform func_name belongs to.

  • func_name[in] name of the extension function to query for. Supported function name if extension is enabled:

    • clCreateCommandQueueWithPropertiesKHR

Returns

Returns a pointer to the extension function or nullptr if no function with the name func_name exists.

class extension::khr_extended_async_copies : public extension::extension
#include <khr_extended_async_copies.h>

Definition of cl_khr_extended_async_copies extension.

Public Functions

khr_extended_async_copies()

Default constructor.

class extension::khr_fp16 : public extension::extension
#include <khr_fp16.h>

Definition of the cl_khr_fp16 extension.

Public Functions

khr_fp16()

Default constructor.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Queries for extension provided device info.

If enabled, then GetDeviceInfo queries for CL_DEVICE_EXTENSIONS return "cl_khr_fp16" as the query value. Queries for CL_DEVICE_HALF_FP_CONFIG return a cl_device_fp_config value with the half precision capabilities.

See

extension::extension::GetDeviceInfo for more detailed explanations.

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Information to query for, e.g.:

    • CL_DEVICE_EXTENSIONS

    • CL_DEVICE_HALF_FP_CONFIG

  • param_value_size[in] Size in bytes of the memory area param_value points to.

  • param_value[in] Memory area to copy the queried info in or nullptr to not receive the info value.

  • param_value_size_ret[out] References variable where to store the size of the info value or nullptr to not receive the info value.

Returns

Returns an OpenCL error code.

Returns

  • `CL_SUCCESS` – if the extension accepts the param_name query and the supplied argument values.

  • `CL_INVALID_VALUE` – if the extension does not accept the param_name query.

class extension::khr_icd : public extension::extension
#include <khr_icd.h>

cl_khr_icd extension.

If enabled, then GetPlatformInfo queries for CL_PLATFORM_EXTENSIONS return "cl_khr_icd" as the query value.

If enabled makes an extensions function query-able via clGetExtensionFunctionAddressForPlatform: * clIcdGetPlatformIDsKHR

Public Functions

khr_icd()

Default constructor.

virtual cl_int GetPlatformInfo(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Queries for extension provided platform info.

If extension is enabled, then GetPlatformInfo queries for CL_PLATFORM_EXTENSIONS return "cl_khr_icd" as the query value.

See

extension::extension::GetPlatformInfo for more detailed explanations.

Parameters
  • platform[in] OpenCL platform to query.

  • param_name[in] Information to query for. If extension is enabled, then ClGetPlatformInfo queries for CL_PLATFORM_EXTENSIONS return “cl_khr_icd” as the query value.

  • param_value_size[in] Size in bytes of the memory area param_value points to.

  • param_value[in] Memory area to copy the queried info in or nullptr to not receive the info value.

  • param_value_size_ret[out] References variable where to store the size of the info value or nullptr to not receive the info value.

Returns

Returns an OpenCL error code.

Returns

  • `CL_SUCCESS` – if the extension accepts the param_name query and the supplied argument values.

  • `CL_INVALID_VALUE` – if the extension does not accept the param_name query.

virtual void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name) const override

Queries for the extension function associated with func_name.

If extension is enabled, then makes an extensions function query-able:

  • clIcdGetPlatformIDsKHR

See

cl::GetExtensionFunctionAddressForPlatform.

Parameters
  • platform[inout] OpenCL platform func_name belongs to.

  • func_name[in] name of the extension function to query for. Supported function name if extension is enabled:

    • clIcdGetPlatformIDsKHR

Returns

Returns a pointer to the extension function or nullptr if no function with the name func_name exists.

Public Static Functions

static const void *GetIcdDispatchTable()

Returns a pointer to the ICD function pointer dispatch table.

Returns

Pointer to the dispatch table

class extension::khr_il_program : public extension::extension
#include <khr_il_program.h>

Public Functions

virtual void *GetExtensionFunctionAddressForPlatform(cl_platform_id platform, const char *func_name) const override

Queries for the extension function associated with func_name.

New procedures and functions: clCreateProgramWithILKHR.

See

Section 9.21.2 of https://www.khronos.org/registry/OpenCL/specs/opencl-1.2-extensions.pdf

Parameters
  • platform[in] OpenCL platform func_name belongs to.

  • func_name[in] Name of the extension function to query for.

Returns

Returns a pointer to the extension function with func_name or nullptr if it not exist.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Queries for extension provided device info.

Add new device property: CL_DEVICE_IL_VERSION_KHR

The intermediate languages that can be supported by clCreateProgramWithILKHR for this device.

Set to a space separated list of IL version strings of the form <IL_Prefix>_<Major_version>.<Minor_version> “SPIR-V” is a required IL prefix when the cl_khr_il_program extension is reported.

See

Section 9.21.5 of https://www.khronos.org/registry/OpenCL/specs/opencl-1.2-extensions.pdf

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Information to query for.

  • param_value_size[in] Size in bytes of the memory area param_value points to.

  • param_value[in] Memory area to copy the queried info in or nullptr to not receive the info value.

  • param_value_size_ret[out] References variable where to store the size of the info value or nullptr to not receive the info value.

Returns

Returns an OpenCL error code.

Returns

  • CL_SUCCESS – when the requested property was returned.

  • CL_INVALID_VALUE – when 1.) param_value_size is 0 and param_value is not nullptr, or 2.) param_value_size is too small.

virtual cl_int GetProgramInfo(cl_program program, cl_program_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Query for program info.

Add new program property: CL_PROGRAM_IL_KHR

Returns the program IL for programs created with clCreateProgramWithILKHR.

If program is created with clCreateProgramWithSource, clCreateProgramWithBinary, or clCreateProgramWithBuiltinKernels, the memory pointed to by param_value will be unchanged and param_value_size_ret will be set to zero.

See

Section 9.21.10 of https://www.khronos.org/registry/OpenCL/specs/opencl-1.2-extensions.pdf

Parameters
  • program[in] OpenCL program to query.

  • param_name[in] Specific information to query for.

  • param_value_size[in] Size of memory area pointed to by param_value. Can be 0 if param_value is nullptr.

  • param_value[out] Memory area to store the query result in.

  • param_value_size_ret[out] Points to memory area to store the minimally required param_value size in. Can be nullptr.

Returns

Returns an OpenCL error code.

Returns

  • CL_SUCCESS – when the requested property was returned.

  • CL_INVALID_VALUE – when 1.) param_value_size is 0 and param_value is not nullptr, or 2.) param_value_size is too small.

class extension::khr_opencl_c_1_2 : public extension::extension
#include <khr_opencl_c_1_2.h>

Default extensions associated with OpenCL 1.2.

If enabled, then ClGetPlatformInfo queries for CL_PLATFORM_EXTENSIONS return the following names as the query value:

  • cl_khr_global_int32_base_atomics

  • cl_khr_global_int32_extended_atomics

  • cl_khr_local_int32_base_atomics

  • cl_khr_local_int32_extended_atomics

  • cl_khr_byte_addressable_store

  • cl_khr_fp64 is only included if the queried device supports double precision floating point types.

Public Functions

khr_opencl_c_1_2()

Default constructor.

virtual cl_int GetDeviceInfo(cl_device_id device, cl_device_info param_name, size_t param_value_size, void *param_value, size_t *param_value_size_ret) const override

Queries for extension provided device info.

If extension is enabled, then ClGetDeviceInfo queries for CL_DEVICE_EXTENSIONS return the following query value:

  • cl_khr_global_int32_base_atomics

  • cl_khr_global_int32_extended_atomics

  • cl_khr_local_int32_base_atomics

  • cl_khr_local_int32_extended_atomics

  • cl_khr_byte_addressable_store

  • cl_khr_fp64 is only included if the queried device supports double precision floating point types.

See

ocl::extension::Extension::ClGetDeviceInfo for more detailed explanations.

Parameters
  • device[in] OpenCL device to query.

  • param_name[in] Information to query for. If extension is enabled, then ClGetDeviceInfo queries for CL_DEVICE_EXTENSIONS return the names listed above.

  • param_value_size[in] Size in bytes of the memory area param_value points to.

  • param_value[in] Memory area to copy the queried info in or nullptr to not receive the info value.

  • param_value_size_ret[out] References variable where to store the size of the info value or nullptr to not receive the info value.

Returns

Returns CL_SUCCESS if the extension accepts the param_name query and the supplied argument values. CL_INVALID_VALUE if the extension does not accept the param_name query. Other OpenCL error return code if the extension accepts param_name but the supplied argument values are wrong.

cargo module

group cargo

Defines

CARGO_ASSERT(CONDITION, MESSAGE)

Typedefs

using argument_parser_option_bitset = uint8_t

Type to store the bitset of parser options.

template<class F, class ...Us>
using invoke_result = detail::invoke_result_impl<F, void, Us...>

Get the return type of calling cargo::invoke with the given arguments.

template<class F, class ...Us>
using invoke_result_t = typename invoke_result<F, Us...>::type

Alias for cargo::invoke_result to reduce noise.

template<class R, class F, class ...Args>
using is_invocable_r = detail::is_invocable_r_impl<std::true_type, R, F, Args...>

Determines whether F can be invoked using cargo::invoke with the given arguments and yields a result that is convertible to R.

template<class T>
using wrap_reference_t = std::conditional_t<std::is_reference_v<T>, std::reference_wrapper<std::remove_reference_t<T>>, T>

Conditionally wrap a reference.

Template Parameters

T – Type to wrap if it is a reference.

template<template<class...> class Op, class ...Args>
using is_detected = typename detail::detector<void, Op, Args...>

Detect if an operation results in a valid expression.

Example usage:

template <class T>
struct my_wrapper {
  // Alias template describing the operation to be detected.
  template <class U>
  using data_member_fn = decltype(std::declval<U>().data());

  // Enable this constuctor if U.data() is detected, disabled otherwise.
  template <class U,
            enable_if_t<is_detected<data_member_fn, U>::value> * = nullptr>
  my_wrapper(const U &value) : data(value.data()) {}

  T *data;
};

std::vector<int> values;
my_wrapper<int> wrapper(values);

Template Parameters
  • Op – Template or alias template of the operation to be detected.

  • Args – Type parameter pack describing arguments to the expression.

Enums

enum argument_parser_option

Enumeration of argument parser options.

Values:

enumerator NONE

No optional behavior enabled.

enumerator KEEP_UNRECOGNIZED

Keep unrecognized arguments instead of erroring.

enumerator ACCEPT_POSITIONAL

Accept positonal arguments (e.g. filenames) and support “–” to stop parsing other arguments

enum result

Enumeration of cargo result codes.

Values:

enumerator success
enumerator bad_alloc
enumerator bad_argument
enumerator out_of_bounds
enumerator overflow
enumerator unknown_error
enumerator unsupported

Functions

void *alloc(size_t size, size_t alignment)

Allocate aligned memory in a cross-platform way.

Note

To free memory allocated with this function use cargo::free.

Parameters
  • size – Size in bytes to allocate.

  • alignment – Alignment in bytes of the allocation.

Returns

A void pointer to the newly allocated memory on success, or nullptr otherwise.

void free(void *pointer)

Free allocated memory in a cross-platform way.

Note

Should only be used to free memory allocated with cargo::alloc.

Parameters

pointer – Pointer to allocated memory.

template<class E>
constexpr bool operator==(const unexpected<E> &lhs, const unexpected<E> &rhs)

Determine if an unexpected value is equal to another.

Template Parameters

E – The unexpected value type.

Parameters
  • lhs – Left hand unexpected to compare.

  • rhs – Right hand unexpected to compare.

Returns

Returns true if values are equal, false otherwise.

template<class E>
constexpr bool operator!=(const unexpected<E> &lhs, const unexpected<E> &rhs)

Determine if an unexpected value is not equal to another.

Template Parameters

E – The unexpected value type.

Parameters
  • lhs – Left hand unexpected to compare.

  • rhs – Right hand unexpected to compare.

Returns

Returns true if values are not equal, false otherwise.

template<class E>
constexpr bool operator<(const unexpected<E> &lhs, const unexpected<E> &rhs)

Determine if an unexpected value is less than another.

Template Parameters

E – The unexpected value type.

Parameters
  • lhs – Left hand unexpected to compare.

  • rhs – Right hand unexpected to compare.

Returns

Returns true if lhs is less than rhs, false otherwise.

template<class E>
constexpr bool operator<=(const unexpected<E> &lhs, const unexpected<E> &rhs)

Determine if an unexpected value is less than or equal to another.

Template Parameters

E – The unexpected value type.

Parameters
  • lhs – Left hand unexpected to compare.

  • rhs – Right hand unexpected to compare.

Returns

Returns true if lhs is less than or equal torhs, false otherwise.

template<class E>
constexpr bool operator>(const unexpected<E> &lhs, const unexpected<E> &rhs)

Determine if an unexpected value is greater than another.

Template Parameters

E – The unexpected value type.

Parameters
  • lhs – Left hand unexpected to compare.

  • rhs – Right hand unexpected to compare.

Returns

Returns true if lhs is greater than rhs, false otherwise.

template<class E>
constexpr bool operator>=(const unexpected<E> &lhs, const unexpected<E> &rhs)

Determine if an unexpected value is greater than or equal to another.

Template Parameters

E – The unexpected value type.

Parameters
  • lhs – Left hand unexpected to compare.

  • rhs – Right hand unexpected to compare.

Returns

Returns true if lhs is greater than or equal torhs, false otherwise.

template<class E>
unexpected<std::decay_t<E>> make_unexpected(E &&e)

Create an unexpected from e, deducing the return type.

The following two lines of code have the same semantics.

auto e1 = make_unexpected(42);
unexpected<int> e2(42);

Parameters

e[in] Unexpected value to wrap.

template<class T, class E, class U, class F>
constexpr bool operator==(const expected<T, E> &lhs, const expected<U, F> &rhs)

Determine if an expected is equal to another.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

  • U – Type of rhs expected value.

  • F – Type of rhs unexpected value.

Parameters
  • lhs – Left hand side expected to compare.

  • rhs – Right hand side expected to compare.

Returns

Returns true if the objects are equal, false otherwise.

template<class T, class E, class U, class F>
constexpr bool operator!=(const expected<T, E> &lhs, const expected<U, F> &rhs)

Determine if an expected is not equal to another.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

  • U – Type of rhs expected value.

  • F – Type of rhs unexpected value.

Parameters
  • lhs – Left hand side expected to compare.

  • rhs – Right hand side expected to compare.

Returns

Returns true if the objects are not equal, false otherwise.

template<class T, class E, class U>
constexpr bool operator==(const expected<T, E> &x, const U &v)

Determine if an expected is equal to a value.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

  • U – Type of value to compare.

Parameters
  • x – The expected to compare.

  • v – The value to compare.

Returns

Returns true if the values are equal, false otherwise.

template<class T, class E, class U>
constexpr bool operator==(const U &v, const expected<T, E> &x)

Determine if an expected is equal to a value.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

  • U – Type of value to compare.

Parameters
  • v – The value to compare.

  • x – The expected to compare.

Returns

Returns true if the values are equal, false otherwise.

template<class T, class E, class U>
constexpr bool operator!=(const expected<T, E> &x, const U &v)

Determine if an expected is not equal to a value.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

  • U – Type of value to compare.

Parameters
  • x – The expected to compare.

  • v – The value to compare.

Returns

Returns true if the values are not equal, false otherwise.

template<class T, class E, class U>
constexpr bool operator!=(const U &v, const expected<T, E> &x)

Determine if an expected is not equal to a value.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

  • U – Type of value to compare.

Parameters
  • v – The value to compare.

  • x – The expected to compare.

Returns

Returns true if the values are not equal, false otherwise.

template<class T, class E>
constexpr bool operator==(const expected<T, E> &x, const unexpected<E> &e)

Determine if an expected is equal to an unexpected value.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

Parameters
  • x – The expected to compare.

  • e – The value to compare.

Returns

Returns true if the unexpected values are equal, false otherwise.

template<class T, class E>
constexpr bool operator==(const unexpected<E> &e, const expected<T, E> &x)

Determine if an expected is equal to an unexpected value.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

Parameters
  • e – The value to compare.

  • x – The expected to compare.

Returns

Returns true if the unexpected values are equal, false otherwise.

template<class T, class E>
constexpr bool operator!=(const expected<T, E> &x, const unexpected<E> &e)

Determine if an expected is not equal to an unexpected value.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

Parameters
  • x – The expected to compare.

  • e – The value to compare.

Returns

Returns true if the unexpected values are not equal, false otherwise.

template<class T, class E>
constexpr bool operator!=(const unexpected<E> &e, const expected<T, E> &x)

Determine if an expected is not equal to an unexpected value.

Template Parameters
  • T – Type of lhs expected value.

  • E – Type of lhs unexpected value.

Parameters
  • e – The value to compare.

  • x – The expected to compare.

Returns

Returns true if the unexpected values are not equal, false otherwise.

template<class T, class E, std::enable_if_t<std::is_move_constructible_v<T> && std::is_move_constructible_v<E>>* = nullptr>
void swap(expected<T, E> &lhs, expected<T, E> &rhs) noexcept(noexcept(lhs.swap(rhs)))

Swap an expected with another.

Template Parameters
  • T – Type of the expected value.

  • E – Type of the unexpected value.

Parameters
  • lhs – Left hand expected to swap.

  • rhs – Right hand expected to swap.

template<typename Fn, typename ...Args, std::enable_if_t<std::is_member_pointer_v<std::decay_t<Fn>>>* = nullptr>
constexpr auto invoke(Fn &&f, Args&&... args) noexcept(noexcept(std::mem_fn(f)(std::forward<Args>(args)...))) -> decltype(std::mem_fn(f)(std::forward<Args>(args)...))

Invoke the Callable object f with the parameters args. Supports pointers to members and member functions as well as functions and types with overloaded call operator.

Parameters
  • f – A Callable object (e.g. function pointer, function object, member function pointer)

  • args – Arguments to call the function with

Returns

The result of calling f with the given arguments.

struct CARGO_TS_CAPABILITY ("mutex") mutex

A mutual exclusion synchronization primitive.

cargo::mutex is a wrapper around std::mutex with the addition of Clang’s Thread Safety Analysis attributes to provide static analysis of multi-threaded code.

template<class T, class U>
constexpr bool operator==(const optional<T> &lhs, const optional<U> &rhs)

Compares two optional objects.

Returns

If both optionals contain a value, they are compared with T’s relational operators. Otherwise lhs and rhs are equal only if they are both empty.

template<class T, class U>
constexpr bool operator!=(const optional<T> &lhs, const optional<U> &rhs)

Compares two optional objects.

Returns

If both optionals contain a value, they are compared with T’s relational operators. Otherwise lhs and rhs are equal only if they are both empty.

template<class T, class U>
constexpr bool operator<(const optional<T> &lhs, const optional<U> &rhs)

Compares two optional objects.

Returns

If both optionals contain a value, they are compared with T’s relational operators. Otherwise lhs is less than rhs only if rhs is empty and lhs is not.

template<class T, class U>
constexpr bool operator>(const optional<T> &lhs, const optional<U> &rhs)

Compares two optional objects.

Returns

If both optionals contain a value, they are compared with T’s relational operators. Otherwise lhs is less than rhs only if rhs is empty and lhs is not.

template<class T, class U>
constexpr bool operator<=(const optional<T> &lhs, const optional<U> &rhs)

Compares two optional objects.

Returns

If both optionals contain a value, they are compared with T’s relational operators. Otherwise lhs is less than rhs only if rhs is empty and lhs is not.

template<class T, class U>
constexpr bool operator>=(const optional<T> &lhs, const optional<U> &rhs)

Compares two optional objects.

Returns

If both optionals contain a value, they are compared with T’s relational operators. Otherwise lhs is less than rhs only if rhs is empty and lhs is not.

template<class T>
constexpr bool operator==(const optional<T> &lhs, nullopt_t)

Compares the optional with a nullopt.

Returns

The optional is equal to nullopt only if it has no value.

template<class T>
constexpr bool operator==(nullopt_t, const optional<T> &rhs)

Compares the optional with a nullopt.

Returns

The optional is equal to nullopt only if it has no value.

template<class T>
constexpr bool operator!=(const optional<T> &lhs, nullopt_t)

Compares the optional with a nullopt.

Returns

The optional is equal to nullopt only if it has no value.

template<class T>
constexpr bool operator!=(nullopt_t, const optional<T> &rhs)

Compares the optional with a nullopt.

Returns

The optional is equal to nullopt only if it has no value.

template<class T>
constexpr bool operator<(const optional<T>&, nullopt_t)

Compares the optional with a nullopt.

Returns

The optional is less than nullopt only if it has no value.

template<class T>
constexpr bool operator<(nullopt_t, const optional<T> &rhs)

Compares the optional with a nullopt.

Returns

The optional is less than nullopt only if it has no value.

template<class T>
constexpr bool operator<=(const optional<T> &lhs, nullopt_t)

Compares the optional with a nullopt.

Returns

The optional is less than nullopt only if it has no value.

template<class T>
constexpr bool operator<=(nullopt_t, const optional<T>&)

Compares the optional with a nullopt.

Returns

The optional is less than nullopt only if it has no value.

template<class T>
constexpr bool operator>(const optional<T> &lhs, nullopt_t)

Compares the optional with a nullopt.

Returns

The optional is less than nullopt only if it has no value.

template<class T>
constexpr bool operator>(nullopt_t, const optional<T>&)

Compares the optional with a nullopt.

Returns

The optional is less than nullopt only if it has no value.

template<class T>
constexpr bool operator>=(const optional<T>&, nullopt_t)

Compares the optional with a nullopt.

Returns

The optional is less than nullopt only if it has no value.

template<class T>
constexpr bool operator>=(nullopt_t, const optional<T> &rhs)

Compares the optional with a nullopt.

Returns

The optional is less than nullopt only if it has no value.

template<class T, class U>
constexpr bool operator==(const optional<T> &lhs, const U &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered not equal to the value.

template<class T, class U>
constexpr bool operator==(const U &lhs, const optional<T> &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered not equal to the value.

template<class T, class U>
constexpr bool operator!=(const optional<T> &lhs, const U &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered not equal to the value.

template<class T, class U>
constexpr bool operator!=(const U &lhs, const optional<T> &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered not equal to the value.

template<class T, class U>
constexpr bool operator<(const optional<T> &lhs, const U &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered less than the value.

template<class T, class U>
constexpr bool operator<(const U &lhs, const optional<T> &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered less than the value.

template<class T, class U>
constexpr bool operator<=(const optional<T> &lhs, const U &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered less than the value.

template<class T, class U>
constexpr bool operator<=(const U &lhs, const optional<T> &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered less than the value.

template<class T, class U>
constexpr bool operator>(const optional<T> &lhs, const U &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered less than the value.

template<class T, class U>
constexpr bool operator>(const U &lhs, const optional<T> &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered less than the value.

template<class T, class U>
constexpr bool operator>=(const optional<T> &lhs, const U &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered less than the value.

template<class T, class U>
constexpr bool operator>=(const U &lhs, const optional<T> &rhs)

Compares the optional with a value.

Returns

If the optional has a value, it is compared with the other value using Ts relational operators. Otherwise, the optional is considered less than the value.

template<class T, std::enable_if_t<std::is_move_constructible_v<T>>* = nullptr>
void swap(optional<T> &lhs, optional<T> &rhs)

Swaps two optionals.

Equivalent to lhs.swap(rhs).

template<class T>
constexpr optional<std::decay_t<T>> make_optional(T &&v)

Creates an optional from v.

template<class T, class ...Args>
constexpr optional<T> make_optional(Args&&... args)

Creates an optional from args.

template<class T, class U, class ...Args>
constexpr optional<T> make_optional(std::initializer_list<U> il, Args&&... args)

Creates an optional from il and args.

template<class T>
optional(T) -> optional<T>
inline std::vector<cargo::string_view> split(cargo::string_view string, cargo::string_view delimiter)

Split the given string at any of the given string delimiter.

When string contains consecutive occurances of delimiter these will be merged together so the resulting list will not contain empty strings, if this behaviour is undesirable see cargo::split_all.

Parameters
  • string – View of string to be split based on delimiter.

  • delimiter – View of string to split the string on.

Returns

Returns a vector of split string views.

inline std::vector<cargo::string_view> split_all(cargo::string_view string, cargo::string_view delimiter)

Split the given string at any of the given string delimiter.

When string contains consecutive occurances of delimiter the resulting list will contain empty strings, if this behaviour is undesirable see cargo::split.

Parameters
  • string – View of string to be split based on delimiter.

  • delimiter – View of string to split the string on.

Returns

Returns a vector of split string views.

inline std::vector<cargo::string_view> split_of(cargo::string_view string, cargo::string_view delimiters = " \t\n\v\f\r")

Split the given string at any of the given character delimiters.

When string contains consecutive occurances of one of delimiters these will be merged together so the resulting list will not contain empty strings, if this behaviour is undesirable see cargo::split_all_of.

Parameters
  • string – View of string to be split based on delimiters.

  • delimiters – View of set of character delimiters to split the string on.

Returns

Returns a vector of split string views.

inline std::vector<cargo::string_view> split_all_of(cargo::string_view string, cargo::string_view delimiters = " \t\n\v\f\r")

Split the given string at any of the given delimiter characters.

When string contains consecutive occurances of one of delimiters the resulting list will contain empty strings, if this behaviour is undesirable see cargo::split_of.

Parameters
  • string – View of string to be split based on delimiters.

  • delimiters – View of set of character delimiters to split the string on.

Returns

Returns a vector of split string views.

inline std::vector<cargo::string_view> split_with_quotes(cargo::string_view string, cargo::string_view delimiters = " \t\n\v\f\r", cargo::string_view quotes = "'\"")

Split the given string at any of the given character delimiters, allowing quoted arguments with embedded delimiters.

When string contains consecutive occurances of one of delimiters these will be merged together so the resulting list will not contain empty strings, unless explicitly forced by quoting an empty string.

Parameters
  • string – View of string to be split based on delimiters.

  • delimiters – View of set of character delimiters to split the string on.

  • quotes – View of the set of quoting characters - note that a quoted string must be delimited by the same quoting character from both sides.

Returns

Returns a vector of split string views.

template<class Iterator>
inline std::string join(Iterator first, Iterator last, cargo::string_view delimiter)

Join a range of strings with a delimiter.

Template Parameters

Iterator – Type of the range iterator.

Parameters
  • first – Iterator pointing to the first string to join.

  • last – Iterator pointing to one past the last string to join.

  • delimiter – View of the delimiter string to join.

Returns

Returns the joined range of strings.

inline cargo::string_view trim_left(cargo::string_view string, cargo::string_view delimiters = " \t\n\v\f\r")

Remove white space from the left of a string.

Parameters
  • string – String to trim white space on the left.

  • delimiters – Set of character delimiters to trim from the string.

Returns

Returns a new string trimmed on the left.

inline cargo::string_view trim_right(cargo::string_view string, cargo::string_view delimiters = " \t\n\v\f\r")

Remove white space from the right of a string.

Parameters
  • string – String to trim white space on the right.

  • delimiters – Set of character delimiters to trim from the string.

Returns

Returns a new string trimmed on the right.

inline cargo::string_view trim(cargo::string_view string, cargo::string_view delimiters = " \t\n\v\f\r")

Remove white space from the left and right of a string.

Parameters
  • string – String to trim white space on the left and right.

  • delimiters – Set of character delimiters to trim from the string.

Returns

Returns a new string trimmed on the left and right.

inline bool operator==(string_view lhs, string_view rhs)

Test left and right had views are equal.

Parameters
  • lhs – Left hand view to compare.

  • rhs – Right hand view to compare.

Returns

Returns true is views are equal, false otherwise.

inline bool operator!=(string_view lhs, string_view rhs)

Test left and right had views are not equal.

Parameters
  • lhs – Left hand view to compare.

  • rhs – Right hand view to compare.

Returns

Returns true is views are not equal, false otherwise.

inline bool operator<(string_view lhs, string_view rhs)

Test left view is less than the right.

Parameters
  • lhs – Left hand view to compare.

  • rhs – Right hand view to compare.

Returns

Returns true if the left hand view is less than the right hand view, false otherwise.

inline bool operator<=(string_view lhs, string_view rhs)

Test left view is less or equal to the right.

Parameters
  • lhs – Left hand view to compare.

  • rhs – Right hand view to compare.

Returns

Returns true if the left hand view is less than or equal to the right hand view, false otherwise.

inline bool operator>(string_view lhs, string_view rhs)

Test left view is greater than the right.

Parameters
  • lhs – Left hand view to compare.

  • rhs – Right hand view to compare.

Returns

Returns true if the left hand view is greater than the right hand view, false otherwise.

inline bool operator>=(string_view lhs, string_view rhs)

Test left view is greater than or equal than the right.

Parameters
  • lhs – Left hand view to compare.

  • rhs – Right hand view to compare.

Returns

Returns true if the left hand view is greater than or equal to the right hand view, false otherwise.

inline std::ostream &operator<<(std::ostream &stream, const cargo::string_view &view)

Stream the content of the string view to the output stream.

Parameters
  • stream – The stream to output the string view into.

  • view – The string view to output.

Returns

Returns a reference to the output stream.

template<class T, class U = T>
T exchange(T &object, U &&new_value)

Implementation of C++14’s std::exchange.

struct foo {
  foo(foo &&other) : data(cargo::exchange(other.data, nullptr)) {}

  void *data;
};

See

http://en.cppreference.com/w/cpp/utility/exchange

Note

T must be move constructable and objects of type T must be move constructable from objects of type U.

Template Parameters
  • T – Type of the object to exchange.

  • U – Type of the new value to exchange.

Parameters
  • object – Object to exchange.

  • new_value – New value of to exchange.

Returns

Returns the object value of object.

template<typename Dest, typename Source>
inline Dest bit_cast(const Source &source)

Well formed casting of the bits in one type to bits in another type.

The implementation uses std::memcpy to perform the bit cast in a manner which is well defined according to the C++ specification and avoids undefined behaviour. cargo::bit_cast also asserts that the size of Source and Dest types are the same, that Source is trivially copyable using std::is_trivially_copyable, and that Dest is trivial using std::is_trivial (i.e. it is trivially default constructible and trivially copyable).

Template Parameters
  • Dest – Type of the bits being cast to.

  • Source – Type of the bits being cast from.

Parameters

source – A const reference to the source of the bits to cast.

Returns

Returns a value of type Dest containing the bits contained in source.

template<class Dest, class Src, std::enable_if_t<is_detected<detail::data_member_fn, Src>::value && is_detected<detail::size_member_fn, Src>::value && is_detected<detail::subscript_member_fn, Src>::value && is_detected<detail::subscript_member_fn, Dest>::value && is_detected<detail::ptr_len_constructor, Dest, typename Src::const_pointer>::value && has_value_type_convertible_to<typename Src::value_type, Dest>::value>* = nullptr>
Dest as(const Src &source)

Construct a std::string-like object from a cargo container.

Construct a std::vector-like object from a cargo container.

The source pointer and length constructor of Dest is used.

The existence of an iterator constructor is not checked. Even if Dest has an iterator constructor, this specialization is preferred, because construction with iterators may require const iterators, or may not support them.

Note that even though source is const, if Dest does not contain storage (e.g., LLVM::StringRef, cargo::string_view), then the returned object can be used to modify source. source is const to allow it to be a temporary.

The source type is included in the template parameters so that type deduction can ensure that the value type of the source can be converted to the value type of Dest. In normal usage, Src can be inferred.

The iterator constructor of Dest is used.

The iterator constructor check uses Src::value_type, because Dest is constructed with Src iterators.

The source type is included in the template parameters so that type deduction can ensure that the value type of the source can be converted to the value type of Dest. In normal usage, Src can be inferred.

Template Parameters
  • Dest – The type of the std::string-like object.

  • Src – The source type.

  • Dest – The type of the std::vector-like object.

  • Src – The source type.

Parameters
  • source[in] Cargo container to construct from.

  • source[in] Cargo container to construct from.

Returns

Returns the contents of source copied into a Dest object.

Returns

Returns the contents of source copied into a Dest object.

template<class Dest, class Src, std::enable_if_t<!is_detected<detail::iterator_constructor, Dest, typename Src::value_type*>::value && !is_detected<detail::ptr_len_constructor, Dest, typename Src::const_pointer>::value>* = nullptr>
Dest as(const Src)

Catch-all specialization that produces a compiler error.

Variables

static constexpr unexpect_t unexpect = {}

A tag type to tell expected to construct the unexpected value.

static constexpr nullopt_t nullopt{nullopt_t::do_not_use{}, nullopt_t::do_not_use{}}

Represents an empty optional.

Examples:

cargo::optional<int> a = cargo::nullopt;
void foo (cargo::optional<int>);
foo(cargo::nullopt); //pass an empty optional

static constexpr in_place_t in_place = {}

A tag to tell expected to construct its value in-place.

template<class T>
class cargo::mallocator
#include <allocator.h>

A simple free store allocator.

Used by default for classes which require dynamic memory allocations such as cargo::small_vector and cargo::dynamic_array supplied as a template parameter. If cargo::mallocator does not fullfil allocation requirements if can be replaced using a custom implementation of the interface it defined.

tparam T

Type of object to allocate.

Public Functions

inline value_type *alloc(size_type count = 1)

Allocate an uninitialized contiguous array of value_type.

Parameters

count – Number of value_type to allocate.

Returns

A value_type pointer to first element of the array on success, or nullptr otherwise.

inline void free(value_type *pointer)

Free allocated memory.

Parameters

pointer – Pointer to allocated memory.

template<class ...Args>
inline value_type *create(Args&&... args)

Allocate and construct an object.

Template Parameters

Args – Constructor argument parameter type pack.

Parameters

args – Constructor argument parameter pack.

Returns

A constructed value_type pointer on success, or nullptr otherwise.

inline void destroy(value_type *object)

Destroy and free a constructed object.

Parameters

object – Pointer to object to be destroyed and freed.

template<class T>
class cargo::nullacator
#include <allocator.h>

An allocator which always fails to allocate.

An allocator which fails to allocate does not seem useful, however when used in combination with cargo::small_vector it can ensure that an allocation never occurs when an attempt to grow the vector beyond the small buffer optimization storage. This enables std::array like storage guarentees combined with cargo::small_vector’s ability to track the number of contained elements.

tparam T

Type of the object to allocate.

Public Functions

inline value_type *alloc(size_type = 1)

Allocate an uninitialized contiguous array of value_type.

Returns

Returns a nullptr, always.

inline void free(value_type*)

Free allocated memory.

template<class ...Args>
inline value_type *create(Args&&...)

Allocate and construct an object.

Template Parameters

Args – Constructor argument parameter type pack.

Returns

Returns a nullptr, always.

inline void destroy(value_type*)

Destroy and free a constructed object.

template<class T>
class cargo::deleter
#include <allocator.h>

Delete objects that were constructed in memory from cargo::alloc.

The primary purpose of this deleter is to allow std::unique_ptr to manage objects in memory allocated by cargo::alloc. I.e. ensure that cargo::free is used during deletion.

Example use:

Note

Should only be used to delete objects that were constructed in memory allocated by cargo::alloc.

void *raw = cargo::alloc(sizeof(T), alignof(T));
T* object = new (raw) T(...);
std::unique_ptr<T, cargo::deleter<T>) ptr(object);

tparam T

Type of the object to delete.

Public Functions

inline void operator()(T *ptr)

Destroy and deallocate object.

Parameters

ptr – Pointer to object to be destroyed.

class cargo::argument
#include <argument_parser.h>

Description of an argument used with cargo::argument_parser.

Public Types

enum parse

Parse result, used in cargo::argument_parser::parse_args.

Values:

enumerator NOT_FOUND

Given argument was not found.

enumerator INVALID

Given argument is invalid.

enumerator INCOMPLETE

Given argument requires further parsing.

enumerator COMPLETE

Given argument parsing completed.

enum option

Enumeration of argument parsing options.

Values:

enumerator NONE

No optional behavior enabled.

enumerator STORE_TRUE

Store bool argument as true.

enumerator STORE_FALSE

Store bool argument as false.

using option_bitset = uint8_t

Type to store the bitset of parsing options.

using custom_handler_function = std::function<cargo::argument::parse(cargo::string_view)>

Function type for custom handlers.

Public Functions

inline argument(cargo::string_view name, bool &storage, cargo::argument::option_bitset options = STORE_TRUE)

Construct a boolean argument.

Parameters
  • name – Name of the argument.

  • storage – Boolean storage for the parse result.

  • options – Bitset of cargo::argument::option values.

inline argument(cargo::string_view name, cargo::string_view &storage, cargo::argument::option_bitset options = NONE)

Construct a value argument.

Parameters
  • name – Name of the argument.

  • storagecargo::string_view storage for the argument value.

  • options – Bitset of cargo::argument::option values.

inline argument(cargo::string_view name, cargo::array_view<cargo::string_view> choices, cargo::string_view &storage, cargo::argument::option_bitset options = NONE)

Construct a choices value argument.

Parameters
  • name – Name of the argument.

  • choices – A list of possible accepted argument values.

  • storagecargo::string_view storage for the argument value.

  • options – Bitset of cargo::argument::option values.

inline argument(cargo::string_view name, cargo::small_vector<cargo::string_view, 4> &storage, cargo::argument::option_bitset options = NONE)

Construct an append value argument.

Parameters
  • name – Name of the argument.

  • storage – Vector storage for values to be appended to.

  • options – Bitset of cargo::argument::option values.

inline argument(cargo::string_view name, custom_handler_function &&parse_argument, custom_handler_function &&parse_value, cargo::argument::option_bitset options = NONE)

Construct a custom handler value argument.

Parameters
  • name – Name of the argument.

  • parse_argument – Called when the argument is encountered, should return parse::INCOMPLETE if it expects a value after the argument.

  • parse_value – Called once the value of the argument is encountered, should return parse::INVALID if it was not supposed to have a value.

  • options – Bitset of cargo::argument::option values.

inline cargo::error_or<cargo::argument::parse> parse_arg(cargo::string_view arg)

Parse a given argument, used by cargo::argument_parser.

Parameters

arg – Given argument to parse.

Returns

Returns an error from cargo::small_vector or the parse result.

Returns

  • `COMPLETE` – argument was found with no further action required.

  • `INCOMPLETE` – argument was found, requires a value.

  • `NOT_FOUND` – argument was not found.

  • `INVALID` – invalid argument, value not found.

inline cargo::error_or<cargo::argument::parse> parse_value(cargo::string_view value)

Parse an arguments value, used by cargo::argument_parser.

Parameters

value – Given value to parse.

Returns

Returns an error from cargo::small_vector or the parse result.

Returns

  • `COMPLETE` – argument was found with no further action required.

  • `INVALID` – invalid argument, value not found.

template<size_t N, size_t NP = 1, size_t NU = 1>
class cargo::argument_parser
#include <argument_parser.h>

Command line argument parser.

Example usage:

tparam N

Expected number of arguments, specifies SBO storage.

tparam NP

Expected number of positional arguments, specifies SBO storage.

tparam NU

Expected number of unrecognised arguments, specifies SBO storage.

cargo::argument_parser parser;

bool enable_opts = true;
parser.add_argument({"-enable-opts", enable_opts});
parser.add_argument({"-disable-opts", enable_opts,
                     cargo::argument::STORE_FALSE});

std::array<cargo::array_view, 3> choices = {{
    "always", "on-demand", "never"
}};
cargo::string_view choice;
parser.add_argument({"-cache=", choices, choice}});

cargo::small_vector<cargo::string_view, 4> includes;
parser.add_argument({"-I", includes});

if (auto error = parser.parse_args(arguments)) {
  return error;
}

Public Functions

inline argument_parser(argument_parser_option_bitset options = NONE)

Construct the argument parser.

Parameters

options – Bitset of cargo::argument_parser_option values.

inline cargo::result add_argument(cargo::argument arg)

Add an argument to the parser.

Parameters

arg – Argument to be added to the parser.

Returns

Returns result from cargo::small_vector.

inline cargo::result parse_args(cargo::array_view<cargo::string_view> args)

Parses the given array of arguments.

Parameters

args – Array of arguments to parse.

Returns

Returns result for cargo::small_vector or the parse result.

Returns

  • `cargo::success` – parsing was successful.

  • `cargo::bad_argument` – an invalid argument was found.

  • `cargo::bad_alloc` – allocation failure.

inline cargo::result parse_args(cargo::string_view arg_string)

Parse the given string of arguments. Arguments can be wrapped in single or double quotes to enclose spaces.

Parameters

arg_string – String of arguments to parse.

Returns

Returns result for cargo::small_vector or the parse result.

Returns

  • `cargo::success` – parsing was successful.

  • `cargo::bad_argument` – when an invalid argument was found.

  • `cargo::bad_alloc` – when an allocation failed.

inline cargo::result parse_args(const int argc, const char *const *argv)

Parse arguments provided by main.

The first argument in the array, representing the executable name, is ignored.

Parameters
  • argc – Number of arguments.

  • argv – Pointer to array of C strings.

Returns

Returns result for cargo::small_vector or the parse result.

Returns

  • `cargo::success` – parsing was successful.

  • `cargo::bad_argument` – when an invalid argument was found.

  • `cargo::bad_alloc` – when an allocation failed.

inline cargo::array_view<cargo::string_view> get_positional_args()

Returns the positional arguments that were stored if the ACCEPT_POSITIONAL option was set.

Returns

View into the array of positional arguments.

inline cargo::array_view<cargo::string_view> get_unrecognized_args()

Returns the unrecognized arguments that were stored if the KEEP_UNRECOGNIZED option was set.

Returns

View into the array of unrecognized arguments.

template<class T>
class cargo::array_view
#include <array_view.h>

A mutable view into an array like object.

Example usage of an array view, all calls to foo are equivalent.

void foo(cargo::array_view<int> view) {
  for (auto &item : view) {
    // do stuff with item
  }
}

std::vector<int> v(16, 5);
foo(v);
foo({v.begin(), v.end()});
foo({v.begin(), v.size()});

tparam T

Contained element type.

Public Functions

inline array_view()

Construct default.

inline array_view(pointer first, size_type count)

Construct from a pointer and a count.

Parameters
  • first – Pointer to the first element.

  • count – Number of elements in the array.

template<class Iterator>
inline array_view(Iterator first, Iterator last)

Construct for an iterator pair.

Template Parameters

Iterator – Type of the iterator.

Parameters
  • first – Iterator at the beginning of the array.

  • last – Iterator at the end of the array.

template<class Container, std::enable_if_t<is_detected<begin_member_fn, Container>::value && is_detected<end_member_fn, Container>::value && has_value_type_convertible_to<value_type, Container>::value>* = nullptr>
inline array_view(Container &container)

Construct from a container with begin and end member functions.

Template Parameters

Container – Type of the array like container.

Parameters

container – Reference to the container to view.

inline error_or<reference> at(size_type pos)

Access element at given position with bounds checking.

Parameters

pos – Position of the element to access.

Returns

Returns a reference to the accessed element, or a cargo::out_of_range.

inline error_or<const_reference> at(size_type pos) const

Access element at given position with bounds checking.

Parameters

pos – Position of the element to access.

Returns

Returns a const reference to the accessed element.

inline reference operator[](size_type pos)

Access element at given position.

Parameters

pos – Position of the element to access.

Returns

Returns a reference to the accessed element.

inline const_reference operator[](size_type pos) const

Access element at given position.

Parameters

pos – Position of the element to access.

Returns

Returns a const reference to the accessed element.

inline reference front()

Access first element.

Returns

Returns a reference to the first element.

inline const_reference front() const

Access first element.

Returns

Returns a const reference to the first element.

inline reference back()

Access last element.

Returns

Returns a reference to the last element.

inline const_reference back() const

Access last element.

Returns

Returns a const reference to the last element.

inline pointer data()

Access data.

Returns

Returns a pointer to the array view’s data.

inline const_pointer data() const

Access data.

Returns

Returns a const pointer to the array view’s data.

inline iterator begin()

Return iterator to beginning.

Returns

Returns an iterator pointing to the first element.

inline const_iterator begin() const

Return iterator to beginning.

Returns

Returns a const iterator pointing to the first element.

inline const_iterator cbegin() const

Return iterator to beginning.

Returns

Returns a const iterator pointing to the first element.

inline iterator end()

Return iterator to end.

Returns

Returns an iterator referring to one past the end element.

inline const_iterator end() const

Return const iterator to end.

Returns

Returns a const iterator referring to one past the end element.

inline const_iterator cend() const

Return const iterator to end.

Returns

Returns a const iterator referring to one past the end element.

inline reverse_iterator rbegin()

Return reverse iterator to end.

Returns

Returns a reverse iterator pointing to the last element.

inline const_reverse_iterator rbegin() const

Return reverse iterator to end.

Returns

Returns a const reverse iterator pointing to the last element.

inline const_reverse_iterator crbegin() const

Return reverse iterator to end.

Returns

Returns a const reverse iterator pointing to the last element.

inline reverse_iterator rend()

Return reverse iterator to the beginning.

Returns

Returns a reverse iterator referring to one before the first element.

inline const_reverse_iterator rend() const

Return const reverse iterator to the beginning.

Returns

Returns a const reverse iterator referring to one before the first element.

inline const_reverse_iterator crend() const

Return const reverse iterator to the beginning.

Returns

Returns a const reverse iterator referring to one before the first element.

inline bool empty() const

Determine if the array view is empty.

Returns

Returns true when empty, false otherwise.

inline size_type size() const

Get the size of the array view.

Returns

Returns size of the array view.

inline void fill(const_reference value)

Fill the container with the specified value.

Parameters

value – Value to fill the container with.

inline void pop_front()

Moves the beginning of the array view one element forwards.

inline void pop_back()

Moves the end of the array view one element backwards.

template<class T, class A = cargo::mallocator<T>>
class cargo::dynamic_array
#include <dynamic_array.h>

Dynamically allocated fixed size array container.

Dynamic array objects can not be copied only moved. Storage for the contained elements of the head array are allocated from the free store.

tparam T

Element type of the dynamic array.

tparam A

The allocator class to use.

Public Functions

inline dynamic_array(allocator_type allocator = allocator_type())

Default constructor.

inline dynamic_array(dynamic_array &&other)

Move constructor.

Parameters

other – Other dynamic array to steal the guts of.

inline cargo::result alloc(size_type size)

Allocate the dynamic array storage and default construct all elements.

Parameters

size – Number of elements the dynamic array will contain.

Returns

Returns cargo::bad_alloc on allocation failure, cargo::success otherwise.

inline ~dynamic_array()

Destructor.

inline dynamic_array &operator=(dynamic_array &&other)

Move assignment operator.

Parameters

other – Dynamic array object to be moved.

Returns

Return reference to this dynamic array.

inline error_or<reference> at(size_type index)

Access the element at index.

Parameters

index – Index of the element to access.

Returns

Return reference to the element at the index.

inline error_or<const_reference> at(size_type index) const

Access the element at index.

Parameters

index – Index of the element to access.

Returns

Return reference to the element at the index.

inline reference operator[](size_t index)

Index operator to access the element at index.

Parameters

index – Index of the element to access.

Returns

Return reference to the element at index.

inline const_reference operator[](size_t index) const

Index operator to access the element at index.

Parameters

index – Index of the element to access.

Returns

Return const reference to the element at index.

inline reference front()

Access the first element.

Returns

Return reference to the first element.

inline const_reference front() const

Access the first element.

Returns

Return const reference to the first element.

inline reference back()

Access the last element.

Returns

Return reference to the last element.

inline const_reference back() const

Access the last element.

Returns

Return const reference to the last element.

inline pointer data()

Access the dynamic arrays data.

Returns

Return pointer to the beginning of the array.

inline const_pointer data() const

Access the dynamic arrays data.

Returns

Return const pointer to the beginning of the array.

inline iterator begin()

Access iterator at the beginning.

Returns

Return an iterator pointing to the beginning.

inline const_iterator begin() const

Access iterator at the beginning.

Returns

Return an iterator pointing to the beginning.

inline const_iterator cbegin() const

Access iterator at the beginning.

Returns

Return an iterator pointing to the beginning.

inline reverse_iterator rbegin()

Access reverse iterator at the end.

Returns

Returns a reverse iterator pointing at the last element.

inline const_reverse_iterator rbegin() const

Access reverse iterator at the end.

Returns

Returns a const reverse iterator pointing at the last element.

inline const_reverse_iterator crbegin()

Access reverse iterator at the end.

Returns

Returns a const reverse iterator pointing at the last element.

inline iterator end()

Access iterator at the end.

Returns

Returns an iterator referring to one past the last element.

inline const_iterator end() const

Access iterator at the end.

Returns

Returns an iterator referring to one past the last element.

inline const_iterator cend() const

Access iterator at the end.

Returns

Returns an iterator referring to one past the last element.

inline reverse_iterator rend()

Access reverse iterator at the beginning.

Returns

Returns a reverse iterator pointing to the beginning.

inline const_reverse_iterator rend() const

Access reverse iterator at the beginning.

Returns

Returns a const reverse iterator pointing to the beginning.

inline const_reverse_iterator crend()

Access reverse iterator at the beginning.

Returns

Returns a const reverse iterator pointing to the beginning.

inline bool empty() const

Determine if the array is empty.

Returns

Return true if the dynamic array has been initialised, false otherwise.

inline size_type size() const

Get the number of elements in the dynamic array.

Returns

Return number of elements.

inline CARGO_REINITIALIZES void clear ()

Clear the array.

template<class T>
class cargo::error_or
#include <error.h>

Error or value container.

The cargo::error_or<T> type should be used as the return type for functions which may fail. The returned type can then be checked to see if it contains an error or a valid value before continuing.

Example code:

#include <cargo/dynamic_array.h>
#include <cargo/error.h>

cargo::error_or<cargo::dynamic_array<int>> getDynArray() {
  cargo::dynamic_array<int> dynArray;
  if (auto error = dynArray.alloc(10)) {
    return error;
  }
  return dynArray;
}

tparam T

Type of the contained value.

Public Functions

inline error_or(cargo::result error)

Error constructor.

Parameters

error – Type of error.

inline error_or()

Default value constructor.

template<class First, class ...Args, class = std::enable_if_t<!(sizeof...(Args) == 0 && std::is_same_v<error_or, std::remove_reference_t<First>>)>>
inline error_or(First &&first, Args&&... args)

Argument value constructor.

Template Parameters
  • First – Type of the first argument, the constructor will be disabled if sizeof...(Args) is zero and this type is cargo::error_or &. It is required to do this so that cargo::error_or &’s will be copy constructed as expected instead of being consumed by this constructor.

  • Args – Variadic argument types.

Parameters
  • first – First argument.

  • args – Variadic arguments.

inline error_or(const error_or &other)

Copy constructor.

Parameters

other – Other instance to copy.

inline error_or(error_or &&other)

Move constructor.

Parameters

other – Other instance to move.

inline ~error_or()

Destructor.

inline error_or &operator=(const error_or &other)

Copy assignment operator.

Parameters

other – Other instance to copy.

Returns

Returns a reference to this object.

inline error_or &operator=(error_or &&other)

Move assignment operator.

Parameters

other – Other instance to move.

Returns

Returns a reference to this object.

inline operator bool() const

Determine if a value or error is held.

Returns

Returns true is a value is held, false otherwise.

inline cargo::result error() const

Access the error if no value is held.

Returns

Returns the error if there is one, cargo::success otherwise.

inline reference operator*()

Access a reference to the value.

If an error is held this results in undefined behaviour.

Returns

Returns a reference to the value.

inline const_reference operator*() const

Access a const reference to the value.

If an error is held this results in undefined behaviour.

Returns

Returns a const reference to the value.

inline pointer operator->()

Access a pointer to the value.

If an error is held this results in undefined behaviour.

Returns

Returns a pointer to the value.

inline const_pointer operator->() const

Access a const pointer to the value.

If an error is held this results in undefined behaviour.

Returns

Returns a const pointer to the value.

template<class T, class E>
class cargo::expected : private cargo::detail::expected_move_assign_base<wrap_reference_t<T>, E>, private cargo::detail::delete_ctor_base<detail::is_copy_constructible_or_void_v<wrap_reference_t<T>> && detail::is_copy_constructible_or_void_v<E>, std::is_move_constructible_v<wrap_reference_t<T>> && std::is_move_constructible_v<E>>, private cargo::detail::delete_assign_base<std::is_copy_assignable_v<wrap_reference_t<T>> && std::is_copy_assignable_v<E>, std::is_move_constructible_v<wrap_reference_t<T>> && std::is_move_constructible_v<E>>, private cargo::detail::expected_default_ctor_base<wrap_reference_t<T>, E>
#include <expected.h>

A type which may contain an expected or unexpected value.

An expected<T,E> object is an object that contains the storage for another object and manages the lifetime of this contained object T. Alternatively it could contain the storage for another unexpected object E. The contained object may not be initialized after the expected object has been initialized, and may not be destroyed before the expected object has been destroyed. The initialization state of the contained object is tracked by the expected object.

Example usage:

enum class error_t {
  failure,
  permission_denied,
  not_a_directory,
  insufficient_storage,
};

auto open_file =
    [](const char *filename) -> cargo::expected<FILE *, error_t> {
  FILE *file = std::fopen(filename, "w");
  if (nullptr == file) {
    switch (errno) {
      case EACCES:
        return cargo::make_unexpected(error_t::permission_denied);
      case ENOTDIR:
        return cargo::make_unexpected(error_t::not_a_directory);
      default:
        return cargo::make_unexpected(error_t::failure);
    }
  }
  return file;
};

auto write_message = [](FILE *file) -> cargo::expected<FILE *, error_t> {
  const char *message = "hello, expected!\n";
  std::fwrite(message, 1, std::strlen(message), file);
  if (errno == ENOMEM) {
    return cargo::make_unexpected(error_t::insufficient_storage);
  }
  return file;
};

auto close_file = [](FILE *file) {
  std::fclose(file);
};

auto result = open_file("hello_expected.txt")
                  .and_then(write_message)
                  .map(close_file);
if (!result) {
  switch (result.error()) {
    case error_t::failure:
      printf("failed to open file\n");
      break;
    case error_t::permission_denied:
      printf("permission denied\n");
      break;
    case error_t::not_a_directory:
      printf("not a directory\n");
      break;
    case error_t::insufficient_storage:
      printf("insufficient storage\n");
      break;
  }
}

tparam T

Type of the expected value.

tparam E

Type of the unexpected value.

Public Functions

constexpr expected() = default

Default constructor.

constexpr expected(const expected &rhs) = default

Default copy constructor.

Parameters

rhs – Object to copy.

constexpr expected(expected &&rhs) = default

Default move constructor.

Parameters

rhs – Object to move.

template<class ...Args, std::enable_if_t<std::is_constructible_v<T, Args&&...>>* = nullptr>
inline constexpr expected(in_place_t, Args&&... args)

In place value constructor.

Template Parameters

Args – Types of T’s constructor arguments.

Parameters

args – Forwarded constructor arguments for T.

template<class U, class ...Args, std::enable_if_t<std::is_constructible_v<T, std::initializer_list<U>&, Args&&...>>* = nullptr>
inline constexpr expected(in_place_t, std::initializer_list<U> il, Args&&... args)

In place value initializer list value constructor.

Template Parameters
  • U – Type of initializer list elements.

  • Args – Types of T’s constructor arguments.

Parameters
  • il – Forwarded constructor initializer list for T.

  • args – Forwarded constructor arguments for T.

template<class G = E, std::enable_if_t<std::is_constructible_v<E, const G&>>* = nullptr, std::enable_if_t<!std::is_convertible_v<const G&, E>>* = nullptr>
inline explicit constexpr expected(const unexpected<G> &e)

Unexpected copy constructor.

Template Parameters

G – Type of the unexpected value.

Parameters

e – Unexpected value to copy.

template<class G = E, std::enable_if_t<std::is_constructible_v<E, const G&>>* = nullptr, std::enable_if_t<std::is_convertible_v<const G&, E>>* = nullptr>
inline constexpr expected(const unexpected<G> &e)

Unexpected copy constructor.

Template Parameters

G – Type of the unexpected value.

Parameters

e – Unexpected value to copy.

template<class G = E, std::enable_if_t<std::is_constructible_v<E, G&&>>* = nullptr, std::enable_if_t<!std::is_convertible_v<G&&, E>>* = nullptr>
inline explicit constexpr expected(unexpected<G> &&e) noexcept(std::is_nothrow_constructible_v<E, G&&>)

Unexpected move constructor.

Template Parameters

G – Type of the unexpected value.

Parameters

e – Unexpected value to copy.

template<class G = E, std::enable_if_t<std::is_constructible_v<E, G&&>>* = nullptr, std::enable_if_t<std::is_convertible_v<G&&, E>>* = nullptr>
inline constexpr expected(unexpected<G> &&e) noexcept(std::is_nothrow_constructible_v<E, G&&>)

Unexpected move constructor.

Template Parameters

G – Type of the unexpected value.

Parameters

e – Unexpected value to copy.

template<class ...Args, std::enable_if_t<std::is_constructible_v<E, Args&&...>>* = nullptr>
inline explicit constexpr expected(unexpect_t, Args&&... args)

In place unexpected constructor.

Template Parameters

Args – Types of E’s constructor arguments.

Parameters

args – Forwarded constructor arguments for E.

template<class U, class ...Args, std::enable_if_t<std::is_constructible_v<E, std::initializer_list<U>&, Args&&...>>* = nullptr>
inline explicit constexpr expected(unexpect_t, std::initializer_list<U> il, Args&&... args)

In place value initializer list unexpected constructor.

Template Parameters
  • U – Type of initializer list elements.

  • Args – Types of E’s constructor arguments.

Parameters
  • il – Forwarded constructor initializer list for E.

  • args – Forwarded constructor arguments for E.

template<class U, class G, std::enable_if_t<!(std::is_convertible_v<const U&, T> && std::is_convertible_v<const G&, E>)>* = nullptr, detail::expected_enable_from_other<T, E, U, G, const U&, const G&>* = nullptr>
inline explicit constexpr expected(const expected<U, G> &rhs)

Copy constructor.

Template Parameters
  • U – Type of rhs’s expected value.

  • G – Type of rhs`s unexpected value.

Parameters

rhs – Expected object to copy.

template<class U, class G, std::enable_if_t<(std::is_convertible_v<const U&, T> && std::is_convertible_v<const G&, E>)>* = nullptr, detail::expected_enable_from_other<T, E, U, G, const U&, const G&>* = nullptr>
inline constexpr expected(const expected<U, G> &rhs)

Copy constructor.

Template Parameters
  • U – Type of rhs’s expected value.

  • G – Type of rhs`s unexpected value.

Parameters

rhs – Expected object to copy.

template<class U, class G, std::enable_if_t<!(std::is_convertible_v<U&&, T> && std::is_convertible_v<G&&, E>)>* = nullptr, detail::expected_enable_from_other<T, E, U, G, U&&, G&&>* = nullptr>
inline explicit constexpr expected(expected<U, G> &&rhs)

Move constructor.

Template Parameters
  • U – Type of rhs’s expected value.

  • G – Type of rhs`s unexpected value.

Parameters

rhs – Expected object to move.

template<class U, class G, std::enable_if_t<(std::is_convertible_v<U&&, T> && std::is_convertible_v<G&&, E>)>* = nullptr, detail::expected_enable_from_other<T, E, U, G, U&&, G&&>* = nullptr>
inline constexpr expected(expected<U, G> &&rhs)

Move constructor.

Template Parameters
  • U – Type of rhs’s expected value.

  • G – Type of rhs`s unexpected value.

Parameters

rhs – Expected object to move.

template<class U = T, std::enable_if_t<!std::is_convertible_v<U&&, T>>* = nullptr, detail::expected_enable_forward_value<T, E, U>* = nullptr>
inline explicit constexpr expected(U &&v)

Expected value move constructor.

Template Parameters

U – Type of expected value.

Parameters

v – Expected value to move.

template<class U = T, std::enable_if_t<std::is_convertible_v<U&&, T>>* = nullptr, detail::expected_enable_forward_value<T, E, U>* = nullptr>
inline constexpr expected(U &&v)

Expected value move constructor.

Template Parameters

U – Type of expected value.

Parameters

v – Expected value to move.

expected &operator=(const expected &rhs) = default

Default copy assignment operator.

Parameters

rhs – Object to copy.

expected &operator=(expected &&rhs) = default

Default move assignment operator.

Parameters

rhs – Object to move.

template<class U = T, class G = T, std::enable_if_t<std::is_nothrow_constructible_v<T, U&&>>* = nullptr, std::enable_if_t<!std::is_void_v<G>>* = nullptr, std::enable_if_t<(!std::is_same_v<expected<T, E>, std::decay_t<U>> && !(std::is_scalar_v<T> && std::is_same_v<T, std::decay_t<U>>) && std::is_constructible_v<T, U> && std::is_assignable_v<G&, U> && std::is_nothrow_move_constructible_v<E>)>* = nullptr>
inline expected &operator=(U &&v)

Expected value move assignment operator.

Template Parameters

U – Type of expected value.

Parameters

v – Expected value to move.

template<class U = T, class G = T, std::enable_if_t<!std::is_nothrow_constructible_v<T, U&&>>* = nullptr, std::enable_if_t<!std::is_void_v<U>>* = nullptr, std::enable_if_t<(!std::is_same_v<expected<T, E>, std::decay_t<U>> && !(std::is_scalar_v<T> && std::is_same_v<T, std::decay_t<U>>) && std::is_constructible_v<T, U> && std::is_assignable_v<G&, U> && std::is_nothrow_move_constructible_v<E>)>* = nullptr>
inline expected &operator=(U &&v)

Expected value move assignment operator.

Template Parameters

U – Type of expected value.

Parameters

v – Expected value to move.

template<class G = E, std::enable_if_t<std::is_nothrow_copy_constructible_v<G> && std::is_assignable_v<G&, G>>* = nullptr>
inline expected &operator=(const unexpected<G> &rhs)

Unexpected value copy assignment operator.

Template Parameters

G – Type of unexpected value.

Parameters

rhs – Expected value to copy.

template<class G = E, std::enable_if_t<std::is_nothrow_move_constructible_v<G> && std::is_move_assignable_v<G>>* = nullptr>
inline expected &operator=(unexpected<G> &&rhs) noexcept

Unexpected value move assignment operator.

Template Parameters

G – Type of unexpected value.

Parameters

rhs – Expected value to move.

template<class F>
inline constexpr auto and_then(F &&f) &

Invoke a callable returning an expected on the stored object, if there is one.

Note

Requires that invoke(std::forward<F>(f), value()) returns a expected<U,E> for some type U.

Template Parameters

F – Type of the callable object.

Parameters

f[in] Callable to invoke on the stored object.

Returns

Returns the result of the callable.

Returns

  • Ifhas_value() is true, the value returned from invoke(std::forward<F>(f), value()) is returned.

  • Ifhas_value() is false, the returned value is empty.

template<class F>
inline constexpr auto and_then(F &&f) &&

Invoke a callable returning an expected on the stored object, if there is one.

Note

Requires that invoke(std::forward<F>(f), value()) returns a expected<U,E> for some type U.

Template Parameters

F – Type of the callable object.

Parameters

f[in] Callable to invoke on the stored object.

Returns

Returns the result of the callable.

Returns

  • Ifhas_value() is true, the value returned from invoke(std::forward<F>(f), value()) is returned.

  • Ifhas_value() is false, the returned value is empty.

template<class F>
inline constexpr auto and_then(F &&f) const &

Invoke a callable returning an expected on the stored object, if there is one.

Note

Requires that invoke(std::forward<F>(f), value()) returns a expected<U,E> for some type U.

Template Parameters

F – Type of the callable object.

Parameters

f[in] Callable to invoke on the stored object.

Returns

Returns the result of the callable.

Returns

  • Ifhas_value() is true, the value returned from invoke(std::forward<F>(f), value()) is returned.

  • Ifhas_value() is false, the returned value is empty.

template<class F>
inline constexpr auto and_then(F &&f) const &&

Invoke a callable returning an expected on the stored object, if there is one.

Note

Requires that invoke(std::forward<F>(f), value()) returns a expected<U,E> for some type U.

Template Parameters

F – Type of the callable object.

Parameters

f[in] Callable to invoke on the stored object.

Returns

Returns the result of the callable.

Returns

  • Ifhas_value() is true, the value returned from invoke(std::forward<F>(f), value()) is returned.

  • Ifhas_value() is false, the returned value is empty.

template<class F>
inline constexpr auto map(F &&f) &

Invoke a callable on the stored object, if there is one.

Template Parameters

F – Type of the callable object.

Parameters

f[in] Callable to invoke on the value.

Returns

Returns the result of the callable wrapped in a expected<U,E> where U is the type returned from the callable.

Returns

  • IfU is not void, returns an expected<U,E>.

  • IfU is void, returns an expected<monostate,E>.

  • Ifhas_value() is true, an expected<U,E> is constructed from the return value of invoke(std::forward<F>(f), value()) and returned.

  • Ifhas_value() is false, the result is *this.

template<class F>
inline constexpr auto map(F &&f) &&

Invoke a callable on the stored object, if there is one.

Template Parameters

F – Type of the callable object.

Parameters

f[in] Callable to invoke on the value.

Returns

Returns the result of the callable wrapped in a expected<U,E> where U is the type returned from the callable.

Returns

  • IfU is not void, returns an expected<U,E>.

  • IfU is void, returns an expected<monostate,E>.

  • Ifhas_value() is true, an expected<U,E> is constructed from the return value of invoke(std::forward<F>(f), value()) and returned.

  • Ifhas_value() is false, the result is *this.

template<class F>
inline constexpr auto map(F &&f) const &

Invoke a callable on the stored object, if there is one.

Template Parameters

F – Type of the callable object.

Parameters

f[in] Callable to invoke on the value.

Returns

Returns the result of the callable wrapped in a expected<U,E> where U is the type returned from the callable.

Returns

  • IfU is not void, returns an expected<U,E>.

  • IfU is void, returns an expected<monostate,E>.

  • Ifhas_value() is true, an expected<U,E> is constructed from the return value of invoke(std::forward<F>(f), value()) and returned.

  • Ifhas_value() is false, the result is *this.

template<class F>
inline constexpr auto map(F &&f) const &&

Invoke a callable on the stored object, if there is one.

Template Parameters

F – Type of the callable object.

Parameters

f[in] Callable to invoke on the value.

Returns

Returns the result of the callable wrapped in a expected<U,E> where U is the type returned from the callable.

Returns

  • IfU is not void, returns an expected<U,E>.

  • IfU is void, returns an expected<monostate,E>.

  • Ifhas_value() is false, the result is *this.

  • Ifhas_value() is true, an expected<U,E> is constructed from the return value of invoke(std::forward<F>(f), value()) and returned.

template<class F>
inline constexpr auto map_error(F &&f) &

Invoke a callable on the stored unexpected object, if there is one.

Template Parameters

F – Type of the callable object.

Parameters

f – Callable to invoke on the unexpected value.

Returns

Returns an expected, where U is the result type of invoke(std::forward<F>(f), value()).

Returns

  • IfU is void, return an expected<T,monostate>.

  • IfU is not void, returns expected<T,U>.

  • Ifhas_value() is true, return *this.

  • Ifhas_value() is false, return a newly constructed expected<T,U> from make_unexpected(invoke(std::forward<F>(f), value())).

template<class F>
inline constexpr auto map_error(F &&f) &&

Invoke a callable on the stored unexpected object, if there is one.

Template Parameters

F – Type of the callable object.

Parameters

f – Callable to invoke on the unexpected value.

Returns

Returns an expected, where U is the result type of invoke(std::forward<F>(f), value()).

Returns

  • IfU is void, return an expected<T,monostate>.

  • IfU is not void, returns expected<T,U>.

  • Ifhas_value() is true, return *this.

  • Ifhas_value() is false, return a newly constructed expected<T,U> from make_unexpected(invoke(std::forward<F>(f), value())).

template<class F>
inline constexpr auto map_error(F &&f) const &

Invoke a callable on the stored unexpected object, if there is one.

Template Parameters

F – Type of the callable object.

Parameters

f – Callable to invoke on the unexpected value.

Returns

Returns an expected, where U is the result type of invoke(std::forward<F>(f), value()).

Returns

  • IfU is void, return an expected<T,monostate>.

  • IfU is not void, returns expected<T,U>.

  • Ifhas_value() is true, return *this.

  • Ifhas_value() is false, return a newly constructed expected<T,U> from make_unexpected(invoke(std::forward<F>(f), value())).

template<class F>
inline constexpr auto map_error(F &&f) const &&

Invoke a callable on the stored unexpected object, if there is one.

Template Parameters

F – Type of the callable object.

Parameters

f – Callable to invoke on the unexpected value.

Returns

Returns an expected, where U is the result type of invoke(std::forward<F>(f), value()).

Returns

  • IfU is void, return an expected<T,monostate>.

  • IfU is not void, returns expected<T,U>.

  • Ifhas_value() is true, return *this.

  • Ifhas_value() is false, return a newly constructed expected<T,U> from make_unexpected(invoke(std::forward<F>(f), value())).

template<class F>
inline expected constexpr or_else(F &&f) &

Invoke a callable when in an unexpected state.

Note

Requires that callable F is invokable with type E and invoke_result_t<F> must be convertible to expected<T,E>.

Template Parameters

F – Type of the callable object.

Parameters

f – Callable to invoke when in the unexpected state.

Returns

Returns an expected, invoking callable on the unexpected object.

Returns

  • Ifhas_value() is true, returns *this.

  • Ifhas_value() is false and f returns void, invoke f and return expected<T,monostate>.

  • Ifhas_value() is false and f does not return void, return std::forward<F>(f)(error()).

template<class F>
inline expected constexpr or_else(F &&f) &&

Invoke a callable when in an unexpected state.

Note

Requires that callable F is invokable with type E and invoke_result_t<F> must be convertible to expected<T,E>.

Template Parameters

F – Type of the callable object.

Parameters

f – Callable to invoke when in the unexpected state.

Returns

Returns an expected, invoking callable on the unexpected object.

Returns

  • Ifhas_value() is true, returns *this.

  • Ifhas_value() is false and f returns void, invoke f and return expected<T,monostate>.

  • Ifhas_value() is false and f does not return void, return std::forward<F>(f)(error()).

template<class F>
inline expected constexpr or_else(F &&f) const &

Invoke a callable when in an unexpected state.

Note

Requires that callable F is invokable with type E and invoke_result_t<F> must be convertible to expected<T,E>.

Template Parameters

F – Type of the callable object.

Parameters

f – Callable to invoke when in the unexpected state.

Returns

Returns an expected, invoking callable on the unexpected object.

Returns

  • Ifhas_value() is true, returns *this.

  • Ifhas_value() is false and f returns void, invoke f and return expected<T,monostate>.

  • Ifhas_value() is false and f does not return void, return std::forward<F>(f)(error()).

template<class F>
inline expected constexpr or_else(F &&f) const &&

Invoke a callable when in an unexpected state.

Note

Requires that callable F is invokable with type E and invoke_result_t<F> must be convertible to expected<T,E>.

Template Parameters

F – Type of the callable object.

Parameters

f – Callable to invoke when in the unexpected state.

Returns

Returns an expected, invoking callable on the unexpected object.

Returns

  • Ifhas_value() is true, returns *this.

  • Ifhas_value() is false and f returns void, invoke f and return expected<T,monostate>.

  • Ifhas_value() is false and f does not return void, return std::forward<F>(f)(error()).

template<class ...Args, std::enable_if_t<std::is_nothrow_constructible_v<T, Args&&...>>* = nullptr>
inline void emplace(Args&&... args)

Emplace construct an expected value.

Template Parameters

Args – Type of T’s constructor arguments.

Parameters

args – Forwarded constructor arguments for T.

template<class ...Args, std::enable_if_t<!std::is_nothrow_constructible_v<T, Args&&...>>* = nullptr>
inline void emplace(Args&&... args)

Emplace construct an expected value.

Template Parameters

Args – Type of T’s constructor arguments.

Parameters

args – Forwarded constructor arguments for T.

template<class U, class ...Args, std::enable_if_t<std::is_nothrow_constructible_v<T, std::initializer_list<U>&, Args&&...>>* = nullptr>
inline void emplace(std::initializer_list<U> il, Args&&... args)

Emplace initializer list construct an expected value.

Template Parameters
  • U – Type of initializer list elements.

  • Args – Types of E’s constructor arguments.

Parameters
  • il – Forwarded constructor initializer list for E.

  • args – Forwarded constructor arguments for E.

template<class U, class ...Args, std::enable_if_t<!std::is_nothrow_constructible_v<T, std::initializer_list<U>&, Args&&...>>* = nullptr>
inline void emplace(std::initializer_list<U> il, Args&&... args)

Emplace initializer list construct an expected value.

Template Parameters
  • U – Type of initializer list elements.

  • Args – Types of E’s constructor arguments.

Parameters
  • il – Forwarded constructor initializer list for E.

  • args – Forwarded constructor arguments for E.

inline void swap(expected &rhs) noexcept(std::is_nothrow_move_constructible_v<T> && noexcept(swap(std::declval<T&>(), std::declval<T&>())) && std::is_nothrow_move_constructible_v<E> && noexcept(swap(std::declval<E&>(), std::declval<E&>())))

Swap this expected with another.

Parameters

rhs – The expected to swap with this.

inline constexpr const_pointer operator->() const

Access expected value members.

Note

Requires a value is stored.

Returns

Returns a pointer to the stored value.

template<class U = T, std::enable_if_t<!std::is_void_v<U>>* = nullptr>
inline constexpr const U &operator*() const &

Access the expected value.

Note

Requires a value is stored.

Returns

Returns a const reference to the stored value.

template<class U = T, std::enable_if_t<!std::is_void_v<U>>* = nullptr>
inline constexpr U &operator*() &

Access the expected value.

Note

Requires a value is stored.

Returns

Returns a reference to the stored value.

template<class U = T, std::enable_if_t<!std::is_void_v<U>>* = nullptr>
inline constexpr const U &&operator*() const &&

Access the expected value.

Note

Requires a value is stored.

Returns

Returns a const r-value reference to the stored value.

template<class U = T, std::enable_if_t<!std::is_void_v<U>>* = nullptr>
inline constexpr U &&operator*() &&

Access the expected value.

Note

Requires a value is stored.

Returns

Returns an r-value reference to the stored value.

inline constexpr bool has_value() const noexcept

Determine whether or not the optional has a value.

Returns

Returns true is the expected has a value, false otherwise.

template<class U = T, std::enable_if_t<!std::is_void_v<U>>* = nullptr>
inline constexpr const U &value() const &

Access the expected value.

Returns

Returns a const reference to the contained value if there is one, assert otherwise.

template<class U = T, std::enable_if_t<!std::is_void_v<U>>* = nullptr>
inline constexpr U &value() &

Access the expected value.

Returns

Returns a reference to the contained value if there is one, assert otherwise.

template<class U = T, std::enable_if_t<!std::is_void_v<U>>* = nullptr>
inline constexpr const U &&value() const &&

Access the expected value.

Returns

Returns a const r-value reference to the contained value if there is one, assert otherwise.

template<class U = T, std::enable_if_t<!std::is_void_v<U>>* = nullptr>
inline constexpr U &&value() &&

Access the expected value.

Returns

Returns an r-value reference to the contained value if there is one, assert otherwise.

inline constexpr const E &error() const &

Access the unexpected value.

Note

Requires there is an unexpected value.

Returns

Returns a const reference to the unexpected value.

inline constexpr E &error() &

Access the unexpected value.

Note

Requires there is an unexpected value.

Returns

Returns a reference to the unexpected value.

inline constexpr const E &&error() const &&

Access the unexpected value.

Note

Requires there is an unexpected value.

Returns

Returns a const r-value reference to the unexpected value.

inline constexpr E &&error() &&

Access the unexpected value.

Note

Requires there is an unexpected value.

Returns

Returns an r-value reference to the unexpected value.

template<class U>
inline constexpr T value_or(U &&v) const &

Access the expected value or the provided default value.

Parameters

v – The default value to fallback to.

Returns

Returns a const reference to the stored value if there is one, otherwise returns the default value.

template<class U>
inline constexpr T value_or(U &&v) &&

Access the expected value or the provided default value.

Parameters

v – The default value to fallback to.

Returns

Returns an r-value reference to the stored value if there is one, otherwise returns the default value.

template<class E>
class cargo::unexpected
#include <expected.h>

Wrapper for storing an unexpected type.

tparam E

The unexpected type.

Public Functions

inline explicit constexpr unexpected(const E &e)

Copy construct from unexpected value.

Parameters

e – The unexpected value.

inline explicit constexpr unexpected(E &&e)

Move construct from the unexpected value.

Parameters

e – The unexpected value.

inline constexpr const E &value() const &

Access the unexpected value.

Returns

Returns a const reference to the unexpected value.

inline constexpr E &value() &

Access the unexpected value.

Returns

Returns a reference to the unexpected value.

inline constexpr E &&value() &&

Access the unexpected value.

Returns

Returns an r-value reference to the unexpected value.

inline constexpr const E &&value() const &&

Access the unexpected value.

Returns

Returns a const r-value reference to the unexpected value.

template<class Mutex>
struct cargo::lock_guard
#include <mutex.h>

An RAII mutex locking wrapper.

cargo::lock_guard is a wrapper around std::lock_guard with the addition of Clang’s Thread Safety Analysis attributes to provide static analysis of multi-threaded code.

tparam Mutex

Type of the mutex to lock.

Public Functions

inline explicit  lock_guard (mutex_type &mutex) CARGO_TS_ACQUIRE(mutex)

Acquires ownership of mutex and locks it.

Behaviour is undefined when mutex is not a recursive mutex and the current thread already owns the lock.

Parameters

mutex – Mutex to acquire ownership of.

inline  lock_guard (mutex_type &mutex, std::adopt_lock_t tag) CARGO_TS_REQUIRES(mutex)

Acquires ownership of mutex without attempting to lock it.

Parameters
  • mutex – Mutex to acquire ownership of.

  • tag – Tag used to select non-locking constructor.

inline  ~lock_guard () CARGO_TS_RELEASE()

Releases ownership of the owned mutex.

template<class Mutex>
struct cargo::unique_lock
#include <mutex.h>

A std::unique_lock wrapper with thread-safety annotations.

Implements a subset of std::unique_lock which can be completely and correctly represented with thread-safety annotations:

  • The default constructor, move constructor, and move assignement operator are not present as ownership of the mutex can not be guaranteed. As a result the thread-safety analysis can emit erroneous compile errors.

  • All constructors which attempt to lock the mutex but may fail are not present as the lock state of the mutex can not be guaranteed. The thread-safety annotations are not capable of representing try acquire operations which do not return a boolean.

See

https://en.cppreference.com/w/cpp/thread/unique_lock

tparam Mutex

Type of the mutex to be held.

Public Functions

inline explicit  unique_lock (mutex_type &mutex) CARGO_TS_ACQUIRE(mutex)

Construct with the given mutex and lock it.

Locks the associated mutex by calling mutex.lock(). The behavior is undefined if the current thread already owns the mutex except when the mutex is recursive.

Parameters

mutex – The mutex object to be locked.

inline  unique_lock (mutex_type &mutex, std::defer_lock_t tag) noexcept CARGO_TS_EXCLUDES(mutex)

Construct with the given mutex.

Does not lock the associated mutex.

Parameters
  • mutex – The mutex object not to be locked.

  • tag – Tag to select locking strategy.

inline  unique_lock (mutex_type &mutex, std::adopt_lock_t tag) CARGO_TS_REQUIRES(mutex)

Construct with an already locked mutex.

Assumes the calling thread already owns mutex.

Parameters
  • mutex – The mutex object to hold.

  • tag – Tag to select locking strategy.

inline  ~unique_lock () CARGO_TS_RELEASE()

Destroys the lock.

If Lock has an associated mutex and has acquired ownership of it, the mutex is unlocked.

inline void lock () CARGO_TS_ACQUIRE()

Lock the held mutex.

Locks (i.e., takes ownership of) the associated mutex. Effectively calls mutex()->lock().

inline bool try_lock () CARGO_TS_TRY_ACQUIRE(true)

Attempt to lock the held mutex.

Tries to lock (i.e., takes ownership of) the associated mutex without blocking. Effectively calls mutex()->try_lock().

template<class Rep, class Period> inline bool try_lock_for (const std::chrono::duration< Rep, Period > &timeout_duration) CARGO_TS_TRY_ACQUIRE(true)

Attempt to lock the held mutex for the specified duration.

Tries to lock (i.e., takes ownership of) the associated mutex. Blocks until specified timeout_duration has elapsed or the lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. Effectively calls mutex()->try_lock_for(timeout_duration).

Parameters

timeout_duration – Duration of timeout before giving up.

Returns

Returns true if the lock is acquired, false otherwise.

template<class Clock, class Duration> inline bool try_lock_until (const std::chrono::time_point< Clock, Duration > &timeout_time) CARGO_TS_TRY_ACQUIRE(true)

Attempt to lock the held mutex until the specified time.

Tries to lock (i.e., takes ownership of) the associated mutex. Blocks until specified timeout_time has been reached or the lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. May block for longer than until timeout_time has been reached.

Parameters

timeout_time – The time to stop attempting to lock the mutex at.

Returns

Returns true if the lock is acquired, false otherwise.

inline void unlock () CARGO_TS_RELEASE()

Unlock the held mutex.

Unlocks (i.e., releases ownership of) the associated mutex and releases ownership.

inline mutex_type *release() noexcept

Breaks the association of the associated mutex, if any, and *this.

inline mutex_type *mutex() const noexcept

Returns a pointer to the associated mutex, or a null pointer if there is no associated mutex.

inline bool owns_lock() const noexcept

Checks whether *this owns a locked mutex or not.

inline explicit operator bool() const noexcept

Checks whether *this owns a locked mutex or not. Effectively calls owns_lock().

template<class OStream, class Mutex = std::mutex>
class cargo::ostream_lock_guard
#include <mutex.h>

Acquires ownership of a given mutex with an output stream operator.

Ensure that output streams do not suffer from data races by guarding it with a mutex yet keep the convenience and simplicity of the output stream syntax.

Example usage:

#include <cargo/mutex.h>
#include <iostream>

struct holder {
  holder(std::ostream &stream) : stream(stream) {}

  cargo::ostream_lock_guard<std::ostream> out() {
    return {stream, mutex};
  }

 private:
  std::ostream &stream;
  std::mutex mutex;
};

int main() {
  holder h(std::cout);

  // aquire the lock for a single statement
  h.out() << "hello, world\n";

  {
    // or aquire the lock for the duration of the containing scope
    auto out = h.out();
    out << "testing\n";
    for (int i = 0; i < 3; ++i) {
      out << i << "\n";
    }
  }
}

tparam OStream

Type of the output stream.

tparam Mutex

Type of the mutex.

Public Functions

inline ostream_lock_guard(ostream_type &stream, mutex_type &mutex)

Construct the output stream lock guard.

Parameters
  • stream – Reference to the output stream to be guarded.

  • mutex – Mutex to lock.

inline ostream_lock_guard(ostream_lock_guard &&other)

Move constructor transfers ownership of the lock.

Parameters

other – Other output stream lock guard to move from.

inline ostream_lock_guard &operator=(ostream_lock_guard &&other)

Move assignment operator transfers ownership of the lock.

Parameters

other – Other output stream lock guard to move from.

Returns

Returns a reference to the newly assigned lock guard.

template<class T>
inline ostream_type &operator<<(const T &value)

Output operator is forwarded to the output stream.

Template Parameters

T – Type of the object being passed to the output stream.

Parameters

value – Constant reference to the object being passed.

Returns

Returns a reference to the output stream.

struct cargo::nullopt_t
#include <optional.h>

A tag type to represent an empty optional.

struct do_not_use
#include <optional.h>
template<class T>
class cargo::optional : private cargo::detail::optional_move_assign_base<wrap_reference_t<T>>, private cargo::detail::delete_ctor_base<std::is_copy_constructible_v<wrap_reference_t<T>>, std::is_move_constructible_v<wrap_reference_t<T>>>, private cargo::detail::delete_assign_base<std::is_copy_assignable_v<wrap_reference_t<T>>, std::is_move_assignable_v<wrap_reference_t<T>>>
#include <optional.h>

Either contains a value or nothing.

An optional object is an object that contains the storage for another object and manages the lifetime of this contained object, if any. The contained object may be initialized after the optional object has been initialized, and may be destroyed before the optional object has been destroyed. The initialization state of the contained object is tracked by the optional object.

Examples:

cargo::optional<int> maybe_get_data() {
  if (is_data_available()) {
    return get_data();
  }
  return cargo::nullopt;
}

auto data = maybe_get_data();

data.has_value(); // check if a value is stored
if (data) {} // also works

data.value(); // retrieve value
*data; // ditto

This implementation also has support for functional composition. Instead of writing:

cargo::optional<image> get_cute_cat(const image& img) {
  auto cropped = crop_to_cat(img);
  if (!cropped) {
    return cargo::nullopt;
  }

  auto with_tie = add_bow_tie(*cropped);
  if (!with_tie) {
    return cargo::nullopt;
  }

  auto with_sparkles = make_eyes_sparkle(*with_tie);
  if (!with_sparkles) {
    return cargo::nullopt;
  }

  return add_rainbow(make_smaller(*with_sparkles));
}

you can write:

cargo::optional<image> get_cute_cat(const image& img) {
  return crop_to_cat(img)
        .and_then(add_bow_tie)
        .and_then(make_eyes_sparkle)
        .map(make_smaller)
        .map(add_rainbow);
}

tparam T

Type of contained element.

Public Types

using value_type = T

Type of the contained element.

Public Functions

constexpr optional() = default

Default constructor.

Constructs an optional that does not contain a value.

inline constexpr optional(nullopt_t)

Empty constructor.

Constructs an optional that does not contain a value.

constexpr optional(const optional &rhs) = default

Copy constructor.

If rhs contains a value, the stored value is direct-initialized with it. Otherwise, the constructed optional is empty.

constexpr optional(optional &&rhs) = default

Move constructor.

If rhs contains a value, the stored value is direct-initialized with it. Otherwise, the constructed optional is empty.

template<class ...Args>
inline explicit constexpr optional(std::enable_if_t<std::is_constructible_v<T, Args...>, in_place_t>, Args&&... args)

In-place construction.

Constructs the stored value in-place using the given arguments.

template<class U, class ...Args>
inline explicit constexpr optional(std::enable_if_t<std::is_constructible_v<T, std::initializer_list<U>&, Args&&...>, in_place_t>, std::initializer_list<U> il, Args&&... args)

In-place construction.

Constructs the stored value in-place using the given arguments.

template<class U = T, std::enable_if_t<std::is_convertible_v<U&&, T>>* = nullptr, detail::enable_forward_value<T, U>* = nullptr>
inline constexpr optional(U &&u)

Construction from a value.

Constructs the stored value with u.

template<class U = T, std::enable_if_t<!std::is_convertible_v<U&&, T>>* = nullptr, detail::enable_forward_value<T, U>* = nullptr>
inline explicit constexpr optional(U &&u)

Construction from a value.

Constructs the stored value with u.

template<class U, detail::enable_from_other<T, U, const U&>* = nullptr, std::enable_if_t<std::is_convertible_v<const U&, T>>* = nullptr>
inline optional(const optional<U> &rhs)

Converting copy constructor.

template<class U, detail::enable_from_other<T, U, const U&>* = nullptr, std::enable_if_t<!std::is_convertible_v<const U&, T>>* = nullptr>
inline explicit optional(const optional<U> &rhs)

Converting copy constructor.

template<class U, detail::enable_from_other<T, U, U&&>* = nullptr, std::enable_if_t<std::is_convertible_v<U&&, T>>* = nullptr>
inline optional(optional<U> &&rhs)

Converting move constructor.

template<class U, detail::enable_from_other<T, U, U&&>* = nullptr, std::enable_if_t<!std::is_convertible_v<U&&, T>>* = nullptr>
inline explicit optional(optional<U> &&rhs)

Converting move constructor.

~optional() = default

Destructor.

Destroys the stored value if there is one.

inline optional &operator=(nullopt_t)

Assignment to empty.

Destroys the current value if there is one.

optional &operator=(const optional &rhs) = default

Copy assignment.

Copies the value from rhs if there is one. Otherwise resets the stored value in *this.

optional &operator=(optional &&rhs) = default

Move assignment.

Moves the value from rhs if there is one. Otherwise resets the stored value in *this.

template<class U = T, detail::enable_assign_forward<T, U>* = nullptr>
inline optional &operator=(U &&u)

Assignment from value.

Assigns the stored value from u, destroying the old value if there was one.

template<class U, detail::enable_assign_from_other<T, U, const U&>* = nullptr>
inline optional &operator=(const optional<U> &rhs)

Converting copy assignment operator.

Copies the value from rhs if there is one. Otherwise resets the stored value in *this.

template<class U, detail::enable_assign_from_other<T, U, U>* = nullptr>
inline optional &operator=(optional<U> &&rhs)

Converting move assignment operator.

Moves the value from rhs if there is one. Otherwise resets the stored value in *this.

template<class F>
inline constexpr auto and_then(F &&f) &

Carries out some operation which returns an optional on the stored object if there is one.

Note

std::invoke(std::forward<F>(f), value()) must return a std::optional<U> for some U.

Returns

Let U be the result of std::invoke(std::forward<F>(f), value()). Returns a std::optional<U>.

Returns

  • empty – An empty optional is returned if *this is empty.

  • valuestd::invoke(std::forward<F>(f), value()) is returned if *this has a value.

template<class F>
inline constexpr auto and_then(F &&f) &&

Carries out some operation which returns an optional on the stored object if there is one.

Note

std::invoke(std::forward<F>(f), std::move(value())) must return a std::optional<U> for some U.

Returns

Let U be the result of std::invoke(std::forward<F>(f), std::move(value())). Returns a std::optional<U>.

Returns

  • empty – An empty optional is returned if *this is empty.

  • valuestd::invoke(std::forward<F>(f), std::move(value())) is returned if *this has a value.

template<class F>
inline constexpr auto and_then(F &&f) const &

Carries out some operation which returns an optional on the stored object if there is one.

Note

std::invoke(std::forward<F>(f), value()) must return a std::optional<U> for some U.

Returns

Let U be the result of std::invoke(std::forward<F>(f), value()). Returns a std::optional<U>.

Returns

  • empty – An empty optional is returned if *this is empty.

  • valuestd::invoke(std::forward<F>(f), value()) is returned if *this has a value.

template<class F>
inline constexpr auto and_then(F &&f) const &&

Carries out some operation which returns an optional on the stored object if there is one.

Note

std::invoke(std::forward<F>(f), std::move(value())) must return a std::optional<U> for some U.

Returns

Let U be the result of std::invoke(std::forward<F>(f), std::move(value())). Returns a std::optional<U>.

Returns

  • empty – An empty optional is returned if *this is empty.

  • valuestd::invoke(std::forward<F>(f), std::move(value())) is returned if *this has a value.

template<class F>
inline constexpr auto map(F &&f) &

Carries out some operation on the stored object if there is one.

Returns

Let U be the result of std::invoke(std::forward<F>(f), value()). Returns a std::optional<U>.

Returns

  • empty – The return value is empty if *this is empty.

  • value – If *this has a value, an optional<U> is constructed from the return value of std::invoke(std::forward<F>(f), value()) and is returned.

template<class F>
inline constexpr auto map(F &&f) &&

Carries out some operation on the stored object if there is one.

Returns

Let U be the result of std::invoke(std::forward<F>(f), std::move(value())). Returns a std::optional<U>.

Returns

  • empty – The return value is empty if *this is empty.

  • value – If *this has a value, an optional<U> is constructed from the return value of std::invoke(std::forward<F>(f), std::move(value())) and is returned.

template<class F>
inline constexpr auto map(F &&f) const &

Carries out some operation on the stored object if there is one.

Returns

Let U be the result of std::invoke(std::forward<F>(f), value()). Returns a std::optional<U>.

Returns

  • empty – The return value is empty if *this is empty.

  • value – If *this has a value, an optional<U> is constructed from the return value of std::invoke(std::forward<F>(f), value()) and is returned.

template<class F>
inline constexpr auto map(F &&f) const &&

Carries out some operation on the stored object if there is one.

Returns

Let U be the result of std::invoke(std::forward<F>(f), std::move(value())). Returns a std::optional<U>.

Returns

  • empty – The return value is empty if *this is empty.

  • value – If *this has a value, an optional<U> is constructed from the return value of std::invoke(std::forward<F>(f), std::move(value())) and is returned.

template<class F, detail::enable_if_ret_void<F>* = nullptr>
inline optional<T> constexpr or_else(F &&f) &

Calls f if the optional is empty.

If *this has a value, returns *this. Otherwise, if f returns void, calls std::forward<F>(f) and returns std::nullopt. Otherwise, returns std::forward<F>(f)().

Note

std::invoke_result_t<F> must be void or convertible to optional<T>.

template<class F, detail::disable_if_ret_void<F>* = nullptr>
inline optional<T> constexpr or_else(F &&f) &

Calls f if the optional is empty.

If *this has a value, returns *this. Otherwise, if f returns void, calls std::forward<F>(f) and returns std::nullopt. Otherwise, returns std::forward<F>(f)().

Note

std::invoke_result_t<F> must be void or convertible to optional<T>.

template<class F, detail::enable_if_ret_void<F>* = nullptr>
inline optional<T> or_else(F &&f) &&

Calls f if the optional is empty.

If *this has a value, returns std::move(*this). Otherwise, if f returns void, calls std::forward<F>(f) and returns std::nullopt. Otherwise, returns std::forward<F>(f)().

Note

std::invoke_result_t<F> must be void or convertible to optional<T>.

template<class F, detail::disable_if_ret_void<F>* = nullptr>
inline optional<T> constexpr or_else(F &&f) &&

Calls f if the optional is empty.

If *this has a value, returns std::move(*this). Otherwise, if f returns void, calls std::forward<F>(f) and returns std::nullopt. Otherwise, returns std::forward<F>(f)().

Note

std::invoke_result_t<F> must be void or convertible to optional<T>.

template<class F, detail::enable_if_ret_void<F>* = nullptr>
inline optional<T> or_else(F &&f) const &

Calls f if the optional is empty.

If *this has a value, returns std::move(*this). Otherwise, if f returns void, calls std::forward<F>(f) and returns std::nullopt. Otherwise, returns std::forward<F>(f)().

Note

std::invoke_result_t<F> must be void or convertible to optional<T>.

template<class F, detail::disable_if_ret_void<F>* = nullptr>
inline optional<T> constexpr or_else(F &&f) const &

Calls f if the optional is empty.

If *this has a value, returns *this. Otherwise, if f returns void, calls std::forward<F>(f) and returns std::nullopt. Otherwise, returns std::forward<F>(f)().

Note

std::invoke_result_t<F> must be void or convertible to optional<T>.

template<class F, detail::enable_if_ret_void<F>* = nullptr>
inline optional<T> or_else(F &&f) const &&

Calls f if the optional is empty.

If *this has a value, returns std::move(*this). Otherwise, if f returns void, calls std::forward<F>(f) and returns std::nullopt. Otherwise, returns std::forward<F>(f)().

Note

std::invoke_result_t<F> must be void or convertible to optional<T>.

template<class F, detail::disable_if_ret_void<F>* = nullptr>
inline optional<T> or_else(F &&f) const &&

Calls f if the optional is empty.

If *this has a value, returns std::move(*this). Otherwise, if f returns void, calls std::forward<F>(f) and returns std::nullopt. Otherwise, returns std::forward<F>(f)().

Note

std::invoke_result_t<F> must be void or convertible to optional<T>.

template<class F, class U>
inline U map_or(F &&f, U &&u) &

Maps the stored value with f if there is one, otherwise returns u.

If there is a value stored, then f is called with **this and the value is returned. Otherwise u is returned.

template<class F, class U>
inline U map_or(F &&f, U &&u) &&

Maps the stored value with f if there is one, otherwise returns u.

If there is a value stored, then f is called with std::move(**this) and the value is returned. Otherwise u is returned.

template<class F, class U>
inline U map_or(F &&f, U &&u) const &

Maps the stored value with f if there is one, otherwise returns u.

If there is a value stored, then f is called with **this and the value is returned. Otherwise u is returned.

template<class F, class U>
inline U map_or(F &&f, U &&u) const &&

Maps the stored value with f if there is one, otherwise returns u.

If there is a value stored, then f is called with std::move(**this) and the value is returned. Otherwise u is returned.

template<class F, class U>
inline invoke_result_t<U> map_or_else(F &&f, U &&u) &

Maps the stored value with f if there is one, otherwise calls u and returns the result.

If there is a value stored, then f is called with **this and the value is returned. Otherwise std::forward<U>(u)() is returned.

template<class F, class U>
inline invoke_result_t<U> map_or_else(F &&f, U &&u) &&

Maps the stored value with f if there is one, otherwise calls u and returns the result.

If there is a value stored, then f is called with std::move(**this) and the value is returned. Otherwise std::forward<U>(u)() is returned.

template<class F, class U>
inline invoke_result_t<U> map_or_else(F &&f, U &&u) const &

Maps the stored value with f if there is one, otherwise calls u and returns the result.

If there is a value stored, then f is called with **this and the value is returned. Otherwise std::forward<U>(u)() is returned.

template<class F, class U>
inline invoke_result_t<U> map_or_else(F &&f, U &&u) const &&

Maps the stored value with f if there is one, otherwise calls u and returns the result.

If there is a value stored, then f is called with std::move(**this) and the value is returned. Otherwise std::forward<U>(u)() is returned.

template<class U>
inline constexpr optional<std::decay_t<U>> conjunction(U &&u) const

An AND operation on the stored value.

Returns

u if *this has a value, otherwise an empty optional.

inline constexpr optional disjunction(const optional &rhs) &

An OR operation on the stored value.

Returns

rhs if *this is empty, otherwise the current value.

inline constexpr optional disjunction(const optional &rhs) const &

An OR operation on the stored value.

Returns

rhs if *this is empty, otherwise the current value.

inline constexpr optional disjunction(const optional &rhs) &&

An OR operation on the stored value.

Returns

rhs if *this is empty, otherwise the current value.

inline constexpr optional disjunction(const optional &rhs) const &&

An OR operation on the stored value.

Returns

rhs if *this is empty, otherwise the current value.

inline constexpr optional disjunction(optional &&rhs) &

An OR operation on the stored value.

Returns

rhs if *this is empty, otherwise the current value.

inline constexpr optional disjunction(optional &&rhs) const &

An OR operation on the stored value.

Returns

rhs if *this is empty, otherwise the current value.

inline constexpr optional disjunction(optional &&rhs) &&

An OR operation on the stored value.

Returns

rhs if *this is empty, otherwise the current value.

inline constexpr optional disjunction(optional &&rhs) const &&

An OR operation on the stored value.

Returns

rhs if *this is empty, otherwise the current value.

inline optional take() &

Takes the value out of the optional, leaving it empty.

Returns

An optional equal to *this.

inline optional take() const &

Takes the value out of the optional, leaving it empty.

Returns

An optional equal to *this.

inline optional take() &&

Takes the value out of the optional, leaving it empty.

Returns

An optional equal to *this.

inline optional take() const &&

Takes the value out of the optional, leaving it empty.

Returns

An optional equal to *this.

template<class ...Args>
inline T &emplace(Args&&... args)

Constructs the value in-place, destroying the current one if there is one.

Parameters

args – Arguments to construct the value with.

Returns

The constructed value.

template<class U, class ...Args>
inline std::enable_if_t<std::is_constructible_v<T, std::initializer_list<U>&, Args&&...>, T&> emplace(std::initializer_list<U> il, Args&&... args)

Constructs the value in-place, destroying the current one if there is one.

Parameters
  • il – Arguments to construct the value with.

  • args – More arguments to construct the value with.

Returns

The constructed value.

inline void swap(optional &rhs)

Swaps this optional with the other.

If neither optionals have a value, nothing happens. If both have a value, the values are swapped. If one has a value, it is moved to the other and the movee is left valueless.

inline constexpr std::remove_reference_t<T> *operator->()

Retrieve a pointer to the contained value.

Note

The optional must have a value.

Returns

A pointer to the contained value .

inline constexpr const std::remove_reference_t<T> *operator->() const

Retrieve a pointer to the contained value.

Note

The optional must have a value.

Returns

A pointer to the contained value.

inline constexpr T &operator*() &

Access the contained value.

Note

The optional must have a value.

Returns

The contained value.

inline constexpr const T &operator*() const &

Access the contained value.

Note

The optional must have a value.

Returns

The contained value.

inline constexpr T &&operator*() &&

Access the contained value.

Note

The optional must have a value.

Returns

The contained value.

inline constexpr const T &&operator*() const &&

Access the contained value.

Note

The optional must have a value.

Returns

The contained value.

inline constexpr bool has_value() const

Determine if the optional has a value.

Returns

Returns true if a value is stored, false otherwise.

inline explicit constexpr operator bool() const

Determine if the optional has a value.

Returns

Returns true if a value is stored, false otherwise.

inline constexpr T &value() &

Access the contained value.

Note

The optional must have a value.

Returns

The contained value.

inline constexpr const T &value() const &

Access the contained value.

Note

The optional must have a value.

Returns

The contained value.

inline constexpr T &&value() &&

Access the contained value.

Note

The optional must have a value.

Returns

The contained value.

inline constexpr const T &&value() const &&

Access the contained value.

Note

The optional must have a value.

Returns

The contained value.

template<class U>
inline constexpr T value_or(U &&u) const &
Returns

The stored value if there is one, otherwise u.

template<class U>
inline constexpr T value_or(U &&u) &&
Returns

The stored value if there is one, otherwise u.

inline void reset()

Destroys the stored value if one exists, making the optional empty.

template<class T, uint32_t N>
class cargo::ring_buffer
#include <ring_buffer.h>

Fixed sized ring buffer implementation.

tparam T

Element type of the ring buffer.

tparam N

The number of elements in the array, N must be greater than one, a power of two, and less than std::numeric_limits<uint32_t>::max()!

Public Functions

inline cargo::result enqueue(value_type &&t)

Add an item to the ring buffer.

Parameters

t – The item to add.

Returns

Returns cargo::overflow if ring buffer is full, cargo::success otherwise.

inline cargo::result enqueue(const_reference t)

Add an item to the ring buffer.

Parameters

t – The item to add.

Returns

Returns cargo::out_of_bounds if ring buffer is full, cargo::success otherwise.

inline cargo::error_or<value_type> dequeue()

Remove an item from the ring buffer.

Returns

Returns an item if succeeded, otherwise cargo::result::out_of_bounds.

template<class T, size_t N, class A = mallocator<T>>
class cargo::small_vector
#include <small_vector.h>

Vector with small buffer optimization.

The cargo::small_vector is a std::vector like container with the main difference of embedding storage inside the container. The size of the embedded storage is defined by the user as a template parameter to a value which is expected to avoid a dynamic allocation in the common case. When the capacity of the embedded storage is no longer sufficient it is replaced with dynamically allocated storage and all existing elements are moved into the new storage.

Member functions which may perform a dynamic allocation returns a cargo::bad_alloc when an allocation failure occurs, otherwise cargo::success is returned. Alternatively member functions which return a value such as an iterator use a cargo::error_or<T> object to return either the value or an appropriate cargo::result code if an error occurred.

Functions are marked with the [[nodiscard]] attribute on compilers which support it which forces the user to always check the return value of member functions which may perform a dynamic allocation which helps to avoid accessing an invalid address. Since it is not possible to return a value from a constructor, no allocations are performed during construction.

Iterators are invalidated in the event that the cargo::small_vector grows larger that the embedded storage.

Runtime checks are performed in member functions which access container elements, an always on assertion will be triggered if the container is empty or if an attempt to make an out of bounds access is made.

tparam T

Type of contained elements.

tparam N

Capacity of the embedded storage.

Public Functions

inline small_vector(allocator_type allocator = allocator_type())

Default constructor.

inline small_vector(small_vector &&other)

Move constructor.

Parameters

other – Other small vector to move from.

inline ~small_vector()

Destructor.

inline small_vector &operator=(small_vector &&other)

Move assign small vector elements.

Parameters

other – Other small vector to move from.

Returns

Reference to this small vector.

inline cargo::result assign(size_type size, const_reference value)

Assign value to small vector elements.

Parameters
  • size – Size of content to assign.

  • value – Value of content to assign.

Returns

Returns cargo::bad_alloc on allocation failure, cargo::success otherwise.

template<class InputIterator>
inline std::enable_if_t<is_input_iterator<InputIterator>::value, cargo::result> assign(InputIterator first, InputIterator last)

Assign a range to small vector.

Template Parameters

InputIterator – Type of the input iterator.

Parameters
  • first – Beginning of the input range.

  • last – End of the input range.

Returns

Returns cargo::bad_alloc on allocation failure, cargo::success otherwise.

inline cargo::result assign(std::initializer_list<value_type> list)

Assign list to small vector.

Parameters

list – List elements to assign.

Returns

Returns cargo::bad_alloc on allocation failure, cargo::success otherwise.

inline allocator_type get_allocator() const

Access the allocator associated with the small vector.

Returns

Returns the associated allocator.

inline error_or<reference> at(size_type index)

Access element at given index with bounds checking.

Parameters

index – Index of element to access.

Returns

Returns a reference to the indexed element, or cargo::out_of_bounds.

inline error_or<const_reference> at(size_type index) const

Access element at given index with bounds checking.

Parameters

index – Index of element to access.

Returns

Returns a const reference to the indexed element, or cargo::out_of_bounds.

inline reference operator[](size_type index)

Access element at given index.

Parameters

index – Index of element to access.

Returns

Returns a reference to the indexed element.

inline const_reference operator[](size_type index) const

Access element at given index.

Parameters

index – Index of element to access.

Returns

Returns a const reference to the indexed element.

inline reference front()

Access first element.

Returns

Returns a reference to the first element.

inline const_reference front() const

Access first element.

Returns

Returns a const reference to the first element.

inline reference back()

Access last element.

Returns

Returns a reference to the last element.

inline const_reference back() const

Access last element.

Returns

Returns a const reference to the last element.

inline pointer data()

Access data.

Returns

Returns a pointer to the small vector’s data.

inline const_pointer data() const

Access data.

Returns

Returns a const pointer to the small vector’s data.

inline iterator begin()

Return iterator to beginning.

Returns

Returns an iterator pointing to the first element.

inline const_iterator begin() const

Return iterator to beginning.

Returns

Returns an const iterator pointing to the first element.

inline const_iterator cbegin() const

Return iterator to beginning.

Returns

Returns an const iterator pointing to the first element.

inline reverse_iterator rbegin()

Return reverse iterator to end.

Returns

Returns a reverse iterator pointing to the last element.

inline const_reverse_iterator rbegin() const

Return reverse iterator to end.

Returns

Returns a const reverse iterator pointing to the last element.

inline const_reverse_iterator crbegin() const

Return reverse iterator to end.

Returns

Returns a const reverse iterator pointing to the last element.

inline iterator end()

Return iterator to end.

Returns

Returns an iterator referring to one past the end element.

inline const_iterator end() const

Return const iterator to end.

Returns

Returns an const iterator referring to one past the end element.

inline const_iterator cend() const

Return const iterator to end.

Returns

Returns an const iterator referring to one past the end element.

inline reverse_iterator rend()

Return reverse iterator to the beginning.

Returns

Returns a reverse iterator referring to one before the first element.

inline const_reverse_iterator rend() const

Return const reverse iterator to the beginning.

Returns

Returns a const reverse iterator referring to one before the first element.

inline const_reverse_iterator crend() const

Return const reverse iterator to the beginning.

Returns

Returns a const reverse iterator referring to one before the first element.

inline bool empty() const

Determine if the small vector is empty.

Returns

Returns true when empty, false otherwise.

inline size_type size() const

Get the size of the small vector.

Returns

Returns size of the small vector.

inline cargo::result reserve(size_type size)

Request a change in capacity.

Parameters

size – Size of storage to reserve.

Returns

Returns cargo::bad_alloc on allocation failure, cargo::success otherwise.

inline size_type capacity() const

Get the storage capacity of the small vector.

Returns

Returns the number of elements which can be stored.

inline void shrink_to_fit()

Attempt to reduce memory consumption.

inline CARGO_REINITIALIZES void clear ()

Clear content.

template<typename VT = value_type>
inline std::enable_if_t<std::is_copy_assignable_v<VT> && std::is_copy_constructible_v<VT>, error_or<iterator>> insert(const_iterator pos, const_reference value)

Insert a single copied element.

Note

value_type must be copy assignable and copy insertable.

Parameters
  • pos – Position to insert the element.

  • value – Value to copied to the inserted element.

Returns

Returns iterator at the inserted element, or cargo::bad_alloc on allocation failure.

template<typename VT = value_type>
inline std::enable_if_t<std::is_move_assignable_v<VT> && std::is_move_constructible_v<VT>, error_or<iterator>> insert(const_iterator pos, value_type &&value)

Insert a single moved element.

Note

value_type must be move assignable and move insertable.

Parameters
  • pos – Position to insert the element.

  • value – Value to moved to the inserted element.

Returns

Returns iterator at the inserted element, or cargo::bad_alloc on allocation failure.

template<typename VT = value_type>
inline std::enable_if_t<std::is_copy_assignable_v<VT> && std::is_copy_constructible_v<VT>, error_or<iterator>> insert(const_iterator pos, size_type count, const_reference value)

Insert count copies of the value before position.

Note

value_type must be copy assignable and copy insertable.

Parameters
  • pos – Position to insert the copied elements.

  • count – Number of copied values to insert.

  • value – Value to copy into elements.

Returns

Returns iterator pointing to the first element inserted, or cargo::bad_alloc on allocation failure.

template<typename InputIterator, typename VT = value_type>
inline std::enable_if_t<is_input_iterator<InputIterator>::value && std::is_move_constructible_v<VT> && std::is_move_assignable_v<VT>, error_or<iterator>> insert(const_iterator pos, InputIterator first, InputIterator last)

Insert elements from range before position.

Note

value_type must be emplace constructable, move assignable and move insertable.

Template Parameters

InputIterator – Type of the input iterator.

Parameters
  • pos – Position to insert the range of elements.

  • first – First element in the range to insert.

  • last – Last element in the range to insert.

Returns

Returns iterator pointing to the first element inserted, or cargo::bad_alloc on allocation failure.

template<typename VT = value_type>
inline std::enable_if_t<std::is_move_assignable_v<VT> && std::is_move_constructible_v<VT>, error_or<iterator>> insert(const_iterator pos, std::initializer_list<VT> list)

Insert elements from initializer list before position.

Note

value_type must be emplace constructable, move assignable and move insertable.

Parameters
  • pos – Position to insert iterator list elements.

  • list – Iterator list of elements to insert.

Returns

Returns iterator pointing to the first element inserted, or cargo::bad_alloc on allocation failure.

template<class ...Args>
inline error_or<iterator> emplace(const_iterator pos, Args&&... args)

Emplace a new element before position.

Note

value_type must be emplace constructable, move assignable and move insertable.

Template Parameters

Args – Constructor argument types.

Parameters
  • pos – Position to emplace element.

  • args – Constructor arguments values.

Returns

Returns iterator pointer to the emplace element, or cargo::bad_alloc on allocation failure.

inline iterator erase(iterator position)

Erase a single element.

Note

value_type must be move assignable.

Parameters

position – Position of the element to erase.

Returns

Returns iterator one past the erased element.

inline iterator erase(iterator first, iterator last)

Erases elements in the range [first, last).

If first==last: erasing an empty range is a no-op.

Note

value_type must be move assignable.

Parameters
  • first – First element in the range to be erased.

  • last – Last element in the range to be erased.

Returns

Returns iterator one past the last erased element.

template<class ValueType = value_type>
inline std::enable_if_t<std::is_copy_constructible_v<ValueType>, cargo::result> push_back(const_reference value)

Add element at the end.

Note

value_type must be copy insertable.

Parameters

value – Value to copy at the end.

Returns

Returns cargo::bad_alloc on allocation failure, cargo::success otherwise.

template<class ValueType = value_type>
inline std::enable_if_t<std::is_move_constructible_v<ValueType>, cargo::result> push_back(value_type &&value)

Add element at the end.

Note

value_type must be move insertable.

Parameters

value – Value to move to the end.

Returns

Returns cargo::bad_alloc on allocation failure, cargo::success otherwise.

template<class ...Args>
inline cargo::result emplace_back(Args&&... args)

Construct and insert element at the end.

Note

value_type must be emplace constructable and move insertable.

Template Parameters

Args – Variadic constructor argument types.

Parameters

args – Variadic constructor argument values.

Returns

Returns cargo::bad_alloc on allocation failure, cargo::success otherwise.

inline void pop_back()

Remove element at the end.

inline cargo::result resize(size_type count)

Resize the small vector to contain count elements.

Note

value_type must be move insertable and default insertable.

Parameters

count – New size of the small vector.

Returns

Returns cargo::bad_alloc on allocation failure, cargo::success otherwise.

inline cargo::result resize(size_type count, const value_type &value)

Resize the small vector to contain count elements.

Note

value_type must be copy insertable.

Parameters
  • count – New size of the small vector.

  • value – Value to initialize new elements with.

Returns

Returns value_type on allocation failure, cargo::success otherwise.

inline void swap(small_vector &other)

Exchange the content of the container with those of other.

Note

value_type must be copy insertable if the capacity of either small vector is not larger than the embedded storage capacity, otherwise no move, copy or swap operations will be invoked on individual elements.

Parameters

other – Other small vector for swap with.

inline cargo::error_or<small_vector> clone() const

Create a clone of this small vector.

Since we don’t allow copy construction or assignment clone provides a way to copy a small vector which allows the user to check for an allocation failure whilst creating the cloned small vector.

Note

value_type must be copy assignable and copy insertable.

Returns

Returns a cargo::bad_alloc on allocation.

class cargo::string_view
#include <string_view.h>

An immutable view of a string like object or array.

Example code:

void print(cargo::string_view sv) {
  printf("%.*s\n", static_cast<int>(sv.size()), sv.data());
}

print("I'm a string literal.");
print(std::string("I'm a std::string");

Public Functions

inline string_view()

Default constructor.

template<class String, std::enable_if_t<is_detected<detail::data_member_fn, String>::value && is_detected<detail::size_member_fn, String>::value && has_value_type_convertible_to<value_type, String>::value>* = nullptr>
inline string_view(const String &string)

Construct view any from std::string like object.

This constructor template enables construction of a cargo::string_view from any type which has .data() and .size() member functions. Objects with this API include std::string, std::array<char, N>, std::vector<char>, cargo::array_view<const char>, cargo::small_vector, and llvm::StringRef. This allows cargo::string_view to be very permissive about what it is constructed from without prior knowledge of those types making it a good choice for string interfaces.

Note

Trailing null terminators are stripped from the cargo::string_view in order to maintain its expected behaviour.

Note

C++17’s std::string_view does not specify this constructor but instead added a conversion operator to std::string which is less flexible as it requires changing types we may not have control over.

Template Parameters

String – Type of the std::string like object.

Parameters

string – Reference to the std::string like object.

string_view(const string_view &other) = default

Copy constructor.

Parameters

other – View to copy.

inline string_view(const_pointer string, size_type count)

Construct view with first count characters.

Parameters
  • string – Pointer to first character.

  • count – Number of characters.

inline string_view(const_pointer string)

Construct view from a null terminated string.

Parameters

string – Either a nullptr or pointer to a null terminated string.

string_view &operator=(const string_view &other) = default

Copy assignment operator.

Parameters

other – View to copy.

Returns

Returns a reference to this view.

inline const_iterator begin() const

Iterator pointing to the first character.

Returns

Returns a const iterator pointing to the first character.

inline const_iterator cbegin() const

Iterator pointing to the first character.

Returns

Returns a const iterator pointing to the first character.

inline const_iterator end() const

Iterator pointing to one past the last character.

Returns

Returns a const iterator pointing to one past the last character.

inline const_iterator cend() const

Iterator pointing to one past the last character.

Returns

Returns a const iterator pointing to one past the last character.

inline const_reverse_iterator rbegin() const

Reverse iterator pointing to one before the first character.

Returns

Returns a const reverse iterator pointing to the last character.

inline const_reverse_iterator crbegin() const

Reverse iterator pointing to one before the last character.

Returns

Returns a const reverse iterator pointing to the last character.

inline const_reverse_iterator rend() const

Reverse iterator pointing to one before the first character.

Returns

Returns a const reverse iterator pointing to one before the first character.

inline const_reverse_iterator crend() const

Reverse iterator pointing to one before the first character.

Returns

Returns a const reverse iterator pointing to one before the first character.

inline const_reference operator[](size_type position) const

Access the character at position.

Parameters

position – Index of the character to access.

Returns

Returns a const reference to the character at position.

inline cargo::error_or<const_reference> at(size_type position) const

Access the character at position with bounds checking.

Parameters

position – Index of the character to access.

Returns

Returns a const reference to the character at position or a cargo::out_of_bounds error.

inline const_reference front() const

Access the first character.

Returns

Returns a const reference to the first character.

inline const_reference back() const

Access the last character.

Returns

Returns a const reference to the last character.

inline const_pointer data() const

Access the underlying character array.

Care should be taken using cargo::string_view::data() as it is not guaranteed to refer to a null terminated character array. Do not use with API’s which consume only a const char * instead prefer those which also take the string’s size.

Returns

Returns a const pointer to the underlying character array.

inline size_type size() const

Access the number of characters in the view.

Returns

Returns the number of characters in the view.

inline size_type length() const

Query the number of characters in the view.

Returns

Returns the number of characters in the view.

inline size_type max_size() const

Query the largest possible number of characters in the view.

Returns

Returns the largest possible number of characters in the view.

inline bool empty() const

Check if the view is empty.

Returns

Returns true if the view is empty, false otherwise.

inline void remove_prefix(size_type n)

Move the begining of the view forward.

Note

The behavior is undefined if n is greater than size().

Parameters

n – Number of characters to move the begining of the view forward by.

inline void remove_suffix(size_type n)

Move the end of the view backward.

Note

The behavior is undefined if n is greater than size().

Parameters

n – Number of characters to move the end of the view backward by.

inline void swap(string_view &other)

Exchange the view with the other.

Parameters

other – View to swap.

inline cargo::error_or<size_type> copy(pointer dest, size_type count, size_type position = 0) const

Copy the substring to external storage.

Parameters
  • dest – Character array to copy into.

  • count – Number of characters to copy.

  • position – Position of the first character.

Returns

Returns the number of characters copied, or cargo::out_of_bounds error.

inline cargo::error_or<string_view> substr(size_type position = 0, size_type count = npos) const

Returns a view of the specified substring.

Parameters
  • position – Position of the first character.

  • count – Number of characters.

Returns

Returns a new substring view.

inline int compare(string_view view) const

Compare this view with another view.

Parameters

view – View to compare.

Returns

Returns a negative value if this view is less than the other, zero if both views are equal, and a positive value if this view is greater than the other.

inline int compare(size_type position, size_type count, string_view view) const

Compare a substring of this view with another view.

Note

No bounds checking is performed, it is up to the user to pass valid values to the fucntion.

Parameters
  • position – Position of the first character in this view.

  • count – Number of characters in this view.

  • view – View to compare.

Returns

Returns a negative value if this view is less than the other, zero if both views are equal, and a positive value if this view is greater than the other.

inline int compare(size_type position1, size_type count1, string_view view, size_type position2, size_type count2) const

Compare a substring of this view with a substring of another view.

Note

No bounds checking is performed, it is up to the user to pass valid values to the fucntion.

Parameters
  • position1 – Position of the first character in this view.

  • count1 – Number of characters in this view.

  • view – View to compare.

  • position2 – Position of the first character in the other view.

  • count2 – Number of characters in the other view.

Returns

Returns a negative value if this view is less than the other, zero if both views are equal, and a positive value if this view is greater than the other.

inline int compare(const_pointer string) const

Compare this view with another null terminated string.

Parameters

string – Null terminated character array to compare.

Returns

Returns a negative value if this view is less than the other, zero if both views are equal, and a positive value if this view is greater than the other.

inline int compare(size_type position, size_type count, const_pointer string) const

Compare a substring of this view with another null terminated string.

Note

No bounds checking is performed, it is up to the user to pass valid values to the fucntion.

Parameters
  • position – Position of the first character in this view.

  • count – Number of characters in this view.

  • string – Null terminated string to compare.

Returns

Returns a negative value if this view is less than the other, zero if both views are equal, and a positive value if this view is greater than the other.

inline int compare(size_type position, size_type count1, const_pointer string, size_type count2) const

Compare a substring of this view with another string pointer.

Note

No bounds checking is performed, it is up to the user to pass valid values to the fucntion.

Parameters
  • position – Position of the first character in this view.

  • count1 – Number of characters in this view.

  • string – Pointer to first character to compare.

  • count2 – Number of characters of string to compare.

Returns

Returns a negative value if this view is less than the other, zero if both views are equal, and a positive value if this view is greater than the other.

inline bool starts_with(string_view view) const

Check if the string begins with the given prefix.

Parameters

view – The prefix to check for.

Returns

Returns true if the string view starts with the prefix, false otherwise.

inline bool starts_with(value_type c) const

Check if the string begins with the given prefix.

Parameters

c – The prefix to check for.

Returns

Returns true if the string view starts with the prefix, false otherwise.

inline bool starts_with(const_pointer string) const

Check if the string begins with the given prefix.

Parameters

string – The prefix to check for.

Returns

Returns true if the string view starts with the prefix, false otherwise.

inline bool ends_with(string_view view) const

Check if the string ends with the given suffix.

Parameters

view – The suffix to check for.

Returns

Returns true if the string view ends with the suffix, false otherwise.

inline bool ends_with(value_type c) const

Check if the string ends with the given suffix.

Parameters

c – The suffix to check for.

Returns

Returns true if the string view ends with the suffix, false otherwise.

inline bool ends_with(const_pointer string) const

Check if the string ends with the given suffix.

Parameters

string – The suffix to check for.

Returns

Returns true if the string view ends with the suffix, false otherwise.

inline size_type find(string_view view, size_type position = 0) const

Find characters in the view.

Parameters
  • view – View to search for.

  • position – Position to start the search.

Returns

Returns position of the first character found, or cargo::string_view::npos if not found.

inline size_type find(value_type c, size_type position = 0) const

Find character in the view.

Parameters
  • c – Character to search for.

  • position – Position to start the search.

Returns

Returns position of the first character found, or cargo::string_view::npos if not found.

inline size_type find(const_pointer string, size_type position, size_type count) const

Find characters in the view.

Parameters
  • string – Pointer to a string to search for.

  • position – Position to start the search.

  • count – Number of characters in the substring to search for.

Returns

Returns position of the first character found, or cargo::string_view::npos if not found.

inline size_type find(const_pointer string, size_type position = 0) const

Find characters in the view.

Parameters
  • string – Pointer to a null terminated string to search for.

  • position – Position to start the search.

Returns

Returns position of the first character found, or cargo::string_view::npos if not found.

inline size_type rfind(string_view view, size_type position = npos) const

Find the last equal substring.

Parameters
  • view – View to search for.

  • position – Position to start the search.

Returns

Returns the first character of the found substring, or cargo::string_view::npos if not found.

inline size_type rfind(value_type c, size_type position = npos) const

Find the last equal substring.

Parameters
  • c – Character to search for.

  • position – Position to start the search.

Returns

Returns the first character of the found substring, or cargo::string_view::npos if not found.

inline size_type rfind(const_pointer string, size_type position, size_type count) const

Find the last equal substring.

Parameters
  • string – Pointer to a string to search for.

  • position – Position to start the search.

  • count – Number of characters in the substring to search for.

Returns

Returns the first character of the found substring, or cargo::string_view::npos if not found.

inline size_type rfind(const_pointer string, size_type position = npos) const

Find the last equal substring.

Parameters
  • string – Pointer to a null terminated string to search for.

  • position – Position to start the search.

Returns

Returns the first character of the found substring, or cargo::string_view::npos if not found.

inline size_type find_first_of(string_view view, size_type position = 0) const

Find the first character equal to any of the given characters.

Parameters
  • view – View to search for.

  • position – Position to start the search.

Returns

Returns the position of the first character found, or cargo::string_view::npos if not found.

inline size_type find_first_of(value_type c, size_type position = 0) const

Find the first character equal to the given character.

Parameters
  • c – Character to search for.

  • position – Position to start the search.

Returns

Returns the position of the first character found, or cargo::string_view::npos if not found.

inline size_type find_first_of(const_pointer string, size_type position, size_type count) const

Find the first character equal to any of the given characters.

Parameters
  • string – Pointer to a string to search for.

  • position – Position to start the search.

  • count – Number of characters to search for.

Returns

Returns the position of the first character found, or cargo::string_view::npos if not found.

inline size_type find_first_of(const_pointer string, size_type position = 0) const

Find the first character equal to any of the given characters.

Parameters
  • string – Pointer to null terminated string to search for.

  • position – Position to start the search.

Returns

Returns the position of the first character found, or cargo::string_view::npos if not found.

inline size_type find_last_of(string_view view, size_type position = npos) const

Find the last character equal to any of the given characters.

Parameters
  • view – View to search for.

  • position – Position to start the search.

Returns

Returns the position of the last occurrence of the given characters, or cargo::string_view::npos if not found.

inline size_type find_last_of(value_type c, size_type position = npos) const

Find the last character equal to any of the given characters.

Parameters
  • c – Character to search for.

  • position – Position to start the search.

Returns

Returns the position of the last occurrence of the given characters, or cargo::string_view::npos if not found.

inline size_type find_last_of(const_pointer string, size_type position, size_type count) const

Find the last character equal to any of the given characters.

Parameters
  • string – Pointer to string to search for.

  • position – Position to start the search.

  • count – Number of characters to search for.

Returns

Returns the position of the last occurrence of the given characters, or cargo::string_view::npos if not found.

inline size_type find_last_of(const_pointer string, size_type position = npos) const

Find the last character equal to any of the given characters.

Parameters
  • string – Pointer to null terminated string to search for.

  • position – Position to start the search.

Returns

Returns the position of the last occurrence of the given characters, or cargo::string_view::npos if not found.

inline size_type find_first_not_of(string_view view, size_type position = 0) const

Find the first character not equal to any of the given characters.

Parameters
  • view – View to search for.

  • position – Position to start the search.

Returns

Returns the position of the first character not equal to the given characters, or cargo::string_view::npos if not found.

inline size_type find_first_not_of(value_type c, size_type position = 0) const

Find the first character not equal to any of the given characters.

Parameters
  • c – Character to search for.

  • position – Position to start the search.

Returns

Returns the position of the first character not equal to the given characters, or cargo::string_view::npos if not found.

inline size_type find_first_not_of(const_pointer string, size_type position, size_type count) const

Find the first character not equal to any of the given characters.

Parameters
  • string – Pointer to string to search for.

  • position – Position to start the search.

  • count – Number of characters to search for.

Returns

Returns the position of the first character not equal to the given characters, or cargo::string_view::npos if not found.

inline size_type find_first_not_of(const_pointer string, size_type position = 0) const

Find the first character not equal to any of the given characters.

Parameters
  • string – Pointer to null terminated string to search for.

  • position – Position to start the search.

Returns

Returns the position of the first character not equal to the given characters, or cargo::string_view::npos if not found.

inline size_type find_last_not_of(string_view view, size_type position = npos) const

Find the last character not equal to any of the given characters.

Parameters
  • view – View to search for.

  • position – Position to start the search.

Returns

Returns the position of the last character not equal to the given characters, or cargo::string_view::npos if not found.

inline size_type find_last_not_of(value_type c, size_type position = npos) const

Find the last character not equal to any of the given characters.

Parameters
  • c – Character to search for.

  • position – Position to start the search.

Returns

Returns the position of the last character not equal to the given characters, or cargo::string_view::npos if not found.

inline size_type find_last_not_of(const_pointer string, size_type position, size_type count) const

Find the last character not equal to any of the given characters.

Parameters
  • string – Pointer to string to search for.

  • position – Position to start the search.

  • count – Number of characters to search for.

Returns

Returns the position of the last character not equal to the given characters, or cargo::string_view::npos if not found.

inline size_type find_last_not_of(const_pointer string, size_type position = npos) const

Find the last character not equal to any of the given characters.

Parameters
  • string – Pointer to null terminated string to search for.

  • position – Position to start the search.

Returns

Returns the position of the last character not equal to the given characters, or cargo::string_view::npos if not found.

Public Static Attributes

static const size_type npos = std::numeric_limits<size_type>::max()

Special value to signify an index is not valid.

template<class Iterator>
struct is_random_access_iterator : public cargo::detail::has_iterator_category_convertible_to<std::random_access_iterator_tag, Iterator>
#include <type_traits.h>

Determine if the iterator is a random access iterator.

tparam Iterator

Type of the iterator.

template<class Iterator>
struct is_input_iterator : public cargo::detail::has_iterator_category_convertible_to<std::input_iterator_tag, Iterator>
#include <type_traits.h>

Determine if the iterator is an input iterator.

tparam Iterator

Type of the iterator.

template<class ...Traits>
struct conjunction : public std::true_type
#include <type_traits.h>

Calculates the conjunction of a pack of type traits.

tparam Traits

The traits to calculate the conjunction of.

template<class B>
struct conjunction<B> : public B
#include <type_traits.h>
template<class B, class ...Bs>
struct conjunction<B, Bs...> : public std::conditional_t<bool(B::value), conjunction<Bs...>, B>
#include <type_traits.h>
template<class T, class U, bool = detail::has_value_type<U>::value, bool = detail::has_iterator<U>::value>
struct has_value_type_convertible_to : public std::is_convertible<U::value_type, T>
#include <type_traits.h>

Success case, determine if value_type matches.

tparam T

Type to check value_type is convertible to.

tparam U

Type to check if value_type member type can is convertible.

template<class T, class U>
struct has_value_type_convertible_to<T, U, false, true> : public std::is_convertible<std::iterator_traits<U::iterator>::value_type, T>
#include <type_traits.h>

Success case, determine if iterator’s value_type matches, when there’s no value_type but there is an iterator. This is here to handle llvm::StringRef.

tparam T

Type to check value_type is convertible to.

tparam U

Type to check if value_type member type can is convertible.

template<class T, class U>
struct has_value_type_convertible_to<T, U, false, false> : public std::false_type
#include <type_traits.h>

Failure case, value_type does not match.

tparam T

Type to check value_type is convertible to.

tparam U

Type to check if value_type member type can is convertible.

class monostate
#include <utility.h>

Construct used to represent something which is empty.

Used in cargo::optional<T> and cargo::expected<T,E> to signify that no value is held, essentially a bool.

struct in_place_t
#include <utility.h>

A tag type to tell optional to construct its value in-place.

vecz module

group vecz

Enums

enum InterleavedOperation

Kinds of interleaved memory operations.

Values:

enumerator eInterleavedInvalid

Invalid memory operation.

enumerator eInterleavedStore

Store memory operation.

enumerator eInterleavedLoad

Load memory operation.

enumerator eMaskedInterleavedStore

Masked Store memory operation.

enumerator eMaskedInterleavedLoad

Masked Load memory operation.

Functions

std::optional<VeczPassOptions> getReqdSubgroupSizeOpts(llvm::Function&)

Returns the vectorization options that would vectorize the provided function to its required sub-group size.

std::optional<VeczPassOptions> getAutoSubgroupSizeOpts(llvm::Function&, llvm::ModuleAnalysisManager&)

Returns the vectorization options that would vectorize the provided function to its required sub-group size (if set) or one of the device’s sub-group sizes.

Only returns options if the function uses sub-group operations, as determined by the SubGroupAnalysis pass.

Tries to find a good fit that produces one of the device’s sub-group sizes, preferring ones which fit the known local work-group size and powers of two. The device’s sub-group sizes can be sorted such that preferable sizes are placed towards the front.

std::unique_ptr<TargetInfo> createTargetInfoArm(llvm::TargetMachine *tm)
std::unique_ptr<TargetInfo> createTargetInfoAArch64(llvm::TargetMachine *tm)
std::unique_ptr<TargetInfo> createTargetInfoRISCV(llvm::TargetMachine *tm)
std::unique_ptr<TargetInfo> createTargetInfoFromTargetMachine(llvm::TargetMachine *tm)

Create a new vector target info instance.

Parameters

tm[in] LLVM target machine that will be used for compilation, can be NULL if no target data is available.

Returns

The new TargetInfo instance.

struct vecz::VeczPassOptions
#include <pass.h>

Public Members

vecz::VectorizationChoices choices

boolean choices such as double support, partial scalarization

llvm::ElementCount factor = llvm::ElementCount::getFixed(1)

vectorization factor, including known min and scalable flag

bool vecz_auto = false

automatically work out factor

uint32_t vec_dim_idx = 0

Index of vectorization dimension to use (0 => x, 1 => y, 2 => z).

uint64_t local_size = 0

local_size Value specifying the local size for the function (0 is unknown)

class vecz::VeczPassOptionsAnalysis : public llvm::AnalysisInfoMixin<VeczPassOptionsAnalysis>
#include <pass.h>

Analysis pass which determines on which functions RunVeczPass should operate.

Public Functions

inline explicit VeczPassOptionsAnalysis(VeczPassOptionsCallbackFn queryFunc)

explicit constructor which uses the given callback to determine whether vectorization should be performed on the passed function. If the default constructor is used, all functions with a SPIR calling convention will be vectorized

class VeczPassOptionsPrinterPass : public llvm::PassInfoMixin<VeczPassOptionsPrinterPass>
#include <pass.h>

A helper pass which can be used to inspect and test the vectorization options set on a per-function basis.

class vecz::RunVeczPass : public llvm::PassInfoMixin<RunVeczPass>
#include <pass.h>

A new-style module pass that provides a wrapper for using the the ComputeAorta IR vectorizer. This vectorizes kernels to vectorization factor specified when the pass is created. In our case this is typically the local size in the first dimension but there are other factors to consider when picking the vectorization factor, like being a power of 2. This pass queries the `VeczShouldRunOnFunctionAnalysis`, so if you do not wish all kernels to be vectorized, you must ensure your pass manager’s ModuleAnalysisManager is configured with a custom VeczShouldRunOnFunctionAnalysis

Public Functions

llvm::PreservedAnalyses run(llvm::Module&, llvm::ModuleAnalysisManager&)

llvm’s entry point for the PassManager

class vecz::TargetInfo
#include <vecz_target_info.h>

Used by the vectorizer to query for target capabilities and materialize memory intrinsics.

Public Functions

TargetInfo(llvm::TargetMachine *tm)

Create a new vector target info instance.

Parameters

tm[in] LLVM target machine that will be used for compilation, can be NULL if no target data is available.

inline llvm::TargetMachine *getTargetMachine() const

Return the target machine.

virtual llvm::Value *createLoad(llvm::IRBuilder<> &builder, llvm::Type *ty, llvm::Value *ptr, llvm::Value *stride, unsigned alignment, llvm::Value *evl = nullptr) const

Create a vector load. If a stride greater than one is used, the load will be interleaved, i.e. lanes are loaded from non-contiguous memory.

Note

ptr refers to the unwidened element type, not the wide type. ptr needs to be ‘element aligned’. The element can itself be a vector.

Parameters
  • builder[in] Builder used to create IR.

  • ty[in] Value type to load from memory.

  • ptr[in] Memory address to load a vector value from.

  • stride[in] Distance in elements between two lanes in memory. A stride of one represents a contiguous load.

  • alignment[in] The alignment of the load, in bytes

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If null, the operation is unpredicated: it is executed on all lanes.

Returns

IR value that results from the vector load.

virtual llvm::Value *createStore(llvm::IRBuilder<> &builder, llvm::Value *data, llvm::Value *ptr, llvm::Value *stride, unsigned alignment, llvm::Value *evl = nullptr) const

Create a vector store. If a stride greater than one is used, the store will be interleaved, i.e. lanes are stored to non-contiguous memory.

Note

ptr refers to the unwidened element type, not the wide type. ptr needs to be ‘element aligned’. The element can itself be a vector.

Parameters
  • builder[in] Builder used to create IR.

  • data[in] Vector value to store to memory.

  • ptr[in] Memory address to store a vector value to.

  • stride[in] Distance in elements between two lanes in memory. A stride of one represents a contiguous store.

  • alignment[in] The alignment of the store, in bytes

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If null, the operation is unpredicated: it is executed on all lanes.

Returns

IR value that results from the vector store.

virtual llvm::Value *createMaskedLoad(llvm::IRBuilder<> &builder, llvm::Type *ty, llvm::Value *ptr, llvm::Value *mask, llvm::Value *evl, unsigned alignment) const

Create a masked vector load. Only lanes with a non-zero mask will be loaded from the address. Other lanes will contain undefined data.

Note

ptr refers to the unwidened element type, not the wide type. ptr needs to be ‘element aligned’. The element can itself be a vector.

Parameters
  • builder[in] Builder used to create IR.

  • ty[in] Value type to load from memory.

  • ptr[in] Memory address to load a vector value from.

  • mask[in] Vector mask used to disable loading certain lanes.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the store.

Returns

IR value that results from the masked vector load.

virtual llvm::Value *createMaskedStore(llvm::IRBuilder<> &builder, llvm::Value *data, llvm::Value *ptr, llvm::Value *mask, llvm::Value *evl, unsigned alignment) const

Create a masked vector store. Only lanes with a non-zero mask will be stored to the address.

Note

ptr refers to the unwidened element type, not the wide type. ptr needs to be ‘element aligned’. The element can itself be a vector.

Parameters
  • builder[in] Builder used to create IR.

  • data[in] Vector value to store to memory.

  • ptr[in] Memory address to store a vector value to.

  • mask[in] Vector mask used to disable storing certain lanes.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the store.

Returns

IR value that results from the masked vector store.

virtual llvm::Value *createInterleavedLoad(llvm::IRBuilder<> &builder, llvm::Type *ty, llvm::Value *ptr, llvm::Value *stride, llvm::Value *evl, unsigned alignment) const

Create a interleaved vector load.

Note

Pointers are scalar and need to be ‘scalar aligned’.

Parameters
  • builder[in] Builder used to create IR.

  • ty[in] Value type to load from memory.

  • ptr[in] Memory address to load a vector value to.

  • stride[in] Stride for interleaved memory operation.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the load

Returns

IR value that results from the interleaved load.

virtual llvm::Value *createInterleavedStore(llvm::IRBuilder<> &builder, llvm::Value *data, llvm::Value *ptr, llvm::Value *stride, llvm::Value *evl, unsigned alignment) const

Create a interleaved vector store.

Note

Pointers are scalar and need to be ‘scalar aligned’.

Parameters
  • builder[in] Builder used to create IR.

  • data[in] Vector value to store to memory.

  • ptr[in] Memory address to store a vector value to.

  • stride[in] Stride for interleaved memory operation.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the load

Returns

IR value that results from the interleaved vector store.

virtual llvm::Value *createMaskedInterleavedLoad(llvm::IRBuilder<> &builder, llvm::Type *ty, llvm::Value *ptr, llvm::Value *mask, llvm::Value *stride, llvm::Value *evl, unsigned alignment) const

Create a masked interleaved vector load. Only lanes with a non-zero mask will be loaded from the address.

Note

Pointers are scalar and need to be ‘scalar aligned’.

Parameters
  • builder[in] Builder used to create IR.

  • ty[in] Value type to load from memory.

  • ptr[in] Memory address to load a vector value to.

  • mask[in] Vector mask used to disable loading certain lanes.

  • stride[in] Stride for interleaved memory operation.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the load

Returns

IR value that results from the masked interleaved vector load.

virtual llvm::Value *createMaskedInterleavedStore(llvm::IRBuilder<> &builder, llvm::Value *data, llvm::Value *ptr, llvm::Value *mask, llvm::Value *stride, llvm::Value *evl, unsigned alignment) const

Create a masked interleaved vector store. Only lanes with a non-zero mask will be stored to the address.

Note

Pointers are scalar and need to be ‘scalar aligned’.

Parameters
  • builder[in] Builder used to create IR.

  • data[in] Vector value to store to memory.

  • ptr[in] Memory address to store a vector value to.

  • mask[in] Vector mask used to disable storing certain lanes.

  • stride[in] Stride for interleaved memory operation.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the load

Returns

IR value that results from the masked interleaved vector store.

virtual llvm::Value *createGatherLoad(llvm::IRBuilder<> &builder, llvm::Type *ty, llvm::Value *ptr, llvm::Value *evl, unsigned alignment) const

Create a gather vector load. Vector lanes are loaded from different memory addresses.

Note

Pointers are scalar and need to be ‘scalar aligned’.

Parameters
  • builder[in] Builder used to create IR.

  • ty[in] Value type to load from memory.

  • ptr[in] Memory address to load a vector value from.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the store.

Returns

IR value that results from the gather vector load.

virtual llvm::Value *createScatterStore(llvm::IRBuilder<> &builder, llvm::Value *data, llvm::Value *ptr, llvm::Value *evl, unsigned alignment) const

Create a scatter vector store. Vector lanes are stored to different memory addresses.

Note

Pointers are scalar and need to be ‘scalar aligned’.

Parameters
  • builder[in] Builder used to create IR.

  • data[in] Vector value to store to memory.

  • ptr[in] Memory address to store a vector value to.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the store.

Returns

IR value that results from the scatter vector store.

virtual llvm::Value *createMaskedGatherLoad(llvm::IRBuilder<> &builder, llvm::Type *ty, llvm::Value *ptr, llvm::Value *mask, llvm::Value *evl, unsigned alignment) const

Create a masked gather vector load. Only lanes with a non-zero mask will be loaded from different address. Other lanes will contain undefined data.

Note

Pointers are scalar and need to be ‘scalar aligned’.

Parameters
  • builder[in] Builder used to create IR.

  • ty[in] Value type to load from memory.

  • ptr[in] Memory address to load a vector value from.

  • mask[in] Vector mask used to disable loading certain lanes.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the store.

Returns

IR value that results from the masked gather vector load.

virtual llvm::Value *createMaskedScatterStore(llvm::IRBuilder<> &builder, llvm::Value *data, llvm::Value *ptr, llvm::Value *mask, llvm::Value *evl, unsigned alignment) const

Create a masked scatter vector store. Only lanes with a non-zero mask will be stored to the address.

Note

Pointers are scalar and need to be ‘scalar aligned’.

Parameters
  • builder[in] Builder used to create IR.

  • data[in] Vector value to store to memory.

  • ptr[in] Memory address to store a vector value to.

  • mask[in] Vector mask used to disable storing certain lanes.

  • evl[in] ‘effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

  • alignment[in] Alignment of the store.

Returns

IR value that results from the masked scatter vector store.

virtual llvm::Value *createScalableExtractElement(llvm::IRBuilder<> &builder, vecz::VectorizationContext &Ctx, llvm::Instruction *extract, llvm::Type *narrowTy, llvm::Value *src, llvm::Value *index, llvm::Value *evl) const

Create a scalable extractelement instruction. Note that the operands are expected to have been pre-packetized before passing to this function.

Parameters
  • builder[in] Builder used to create IR.

  • Ctx[in] Vectorization context.

  • extract[in] The original pre-packetized extractelement Instruction

  • narrowTy[in] Narrowed type of extract.

  • src[in] The packetized source vector

  • index[in] The packetized extraction index

  • evl[in] ‘Effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

Returns

A value identical to the requested extractelement

virtual llvm::Value *createOuterScalableBroadcast(llvm::IRBuilder<> &builder, llvm::Value *vector, llvm::Value *VL, llvm::ElementCount factor) const

Create an outer broadcast of a vector. An outer broadcast is one where a vector with length V is replicated in its entirety N times across the lanes of a larger vector with length L x V. The broadcast factor is expected to be scalable:

outer_broadcast(<A,B>, vscale x 1) -> <A,B,A,B,A,B,…>

Parameters
  • builder[in] Builder used to create IR.

  • vector[in] Vector to broadcast.

  • VL[in] Vector length.

  • factor[in] Broadcast factor.

virtual llvm::Value *createInnerScalableBroadcast(llvm::IRBuilder<> &builder, llvm::Value *vector, llvm::Value *VL, llvm::ElementCount factor) const

Create an inner broadcast of a vector. An inner broadcast is one where a vector with length V has its lanes individually and sequentially replicated N times to fill a larger vector with length L x V. The broadcast factor is expected to be a fixed amount:

inner_broadcast(<A,B,C,…>, 2) -> <A,A,B,B,C,C, …>

Parameters
  • builder[in] Builder used to create IR.

  • vector[in] Vector to broadcast.

  • VL[in] Vector length.

  • factor[in] Broadcast factor.

virtual llvm::Value *createScalableInsertElement(llvm::IRBuilder<> &builder, vecz::VectorizationContext &Ctx, llvm::Instruction *insert, llvm::Value *elt, llvm::Value *into, llvm::Value *index, llvm::Value *evl) const

Utility function for packetizing an insertelement instruction by a scalable factor. Note that the operands are expected to have been pre-packetized before passing to this function.

Parameters
  • builder[in] the builder to create the needed instructions

  • Ctx[in] Vectorization context.

  • insert[in] the original pre-packetized insertelement Instruction

  • elt[in] the packetized element to insert

  • into[in] the packetized source vector

  • index[in] the packetized insertion index

  • evl[in] ‘Effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes but obeys the mask parameter.

Returns

a value identical to the requested insertelement

inline virtual llvm::Value *createVPKernelWidth(llvm::IRBuilder<> &builder, llvm::Value *remainingIters, unsigned widestEltTy, llvm::ElementCount factor) const

Function allowing targets to customize the insertion of instructions to calculate the vector-predicated kernel width.

Note that this must return an expression equivalent to: i32 = umin(factor, remainingIters) This is the expression computed if this function returns nullptr.

Parameters
  • builder[in] the builder to create the needed instructions

  • remainingIters[in] the remaining number of work-items being executed in the work-group in the dimension being vectorized.

  • widestEltTy[in] an optimization hint indicating the widest (vector element) type in the kernel. Must not be relied on for correctness.

  • factor[in] the vectorization width.

virtual llvm::Value *createVectorShuffle(llvm::IRBuilder<> &builder, llvm::Value *src, llvm::Value *mask, llvm::Value *evl) const

Create a single-source vector shuffle with a general shuffle mask. Can work with dynamic shuffle masks and scalable vectors, and can return vectors of a different length to the source.

Parameters
  • builder[in] the builder to create the needed instructions

  • src[in] the source vector

  • mask[in] the shuffle mask

  • evl[in] ‘Effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes.

Returns

the result of the shuffle operation

virtual llvm::Value *createVectorSlideUp(llvm::IRBuilder<> &builder, llvm::Value *src, llvm::Value *insert, llvm::Value *evl) const

Create a vector slide-up operation, that moves all vector elements up by one place, with the specified element inserted into the zeroth position.

Parameters
  • builder[in] the builder to create the needed instructions

  • src[in] the source vector

  • insert[in] the value to slide into the vacant position

  • evl[in] ‘Effective vector length’ of the operation. Must be pre-scaled for vector operations. If evl is null, the operation is not length-predicated: it executes on all lanes.

Returns

the result of the slide-up operation

virtual bool canOptimizeInterleavedGroup(const llvm::Instruction &val, InterleavedOperation kind, int stride, unsigned groupSize) const

Determine whether the specified group of interleaved memory instructions can be optimized or not.

Parameters
  • val[in] Memory access operation.

  • kind[in] Kind of interleaved instructions.

  • stride[in] Stride of the interleaved memory operations.

  • groupSize[in] Number of interleaved operations in the group.

Returns

true if the interleaved group can be optimized, false otherwise.

virtual bool optimizeInterleavedGroup(llvm::IRBuilder<> &builder, InterleavedOperation Kind, llvm::ArrayRef<llvm::Value*> group, llvm::ArrayRef<llvm::Value*> masks, llvm::Value *baseAddress, int stride) const

Try to optimize a group of consecutive interleaved vector memory instructions. These instructions collectively access a consecutive chunk of memory and are sorted by increasing address.

Note

Pointers are scalar and need to be ‘scalar aligned’.

Parameters
  • builder[in] Builder used to create IR.

  • Kind[in] Kind of interleaved group to look for.

  • group[in] List of interleaved operations.

  • masks[in] List of mask operands.

  • baseAddress[in] Base pointer for the memory operation.

  • stride[in] Stride of the interleaved memory operations.

Returns

Return true if the interleaved group was optimized or false.

virtual bool interleaveVectors(llvm::IRBuilder<> &builder, llvm::MutableArrayRef<llvm::Value*> vectors, bool forward) const

(De-)interleave a list of vectors.

Parameters
  • builder[in] Builder used to generate new instructions.

  • vectors[inout] List of vectors to (de-)interleave.

  • forward[in] true to interleave, false to deinterleave.

Returns

true if the vectors were (de-)interleaved, false otherwise.

virtual unsigned estimateSimdWidth(const llvm::TargetTransformInfo &TTI, const llvm::ArrayRef<const llvm::Value*> vals, unsigned width) const

Estimates the widest SIMD width that will fit into registers for a given set of values.

Parameters
  • TTI[in] the Target Transform Info

  • vals[in] Set of values to fit into registers

  • width[in] the widest SIMD width to consider

Returns

the widest SIMD width that is expected to fit into registers, or zero if the set can never fit into registers.

virtual unsigned getVectorWidthForType(const llvm::TargetTransformInfo &TTI, const llvm::Type &Ty) const

Get the preferred vector width for the given scalar type.

Parameters
  • TTI[in] the Target Transform Info

  • Ty[in] the scalar type to get the width for

Returns

the preferred vector width

virtual bool canPacketize(const llvm::Value *Val, llvm::ElementCount Width) const

Return whether the value can be packetized by the given width.

Parameters
  • Val[in] The value to be packetized

  • Width[in] The vectorization factor by which to packetize Val

Returns

true if the value can be packetized, false otherwise.

virtual bool isVPVectorLegal(const llvm::Function &F, llvm::Type *Ty) const
Returns

Whether a given vector type would be legal as the result of a binary vp intrinsic.

class vecz::TargetInfoAnalysis : public llvm::AnalysisInfoMixin<TargetInfoAnalysis>
#include <vecz_target_info.h>

Caches and returns the TargetInfo for a Module.

Public Functions

inline Result run(llvm::Module &M, llvm::ModuleAnalysisManager&)

Retrieve the TargetInfo for the requested module.

Public Static Functions

static inline llvm::StringRef name()

Return the name of the pass.

struct Result
#include <vecz_target_info.h>

Public Functions

inline bool invalidate(llvm::Module&, const llvm::PreservedAnalyses&, llvm::ModuleAnalysisManager::Invalidator&)

Handle the invalidation of this information.

When used as a result of TargetInfoAnalysis this method will be called when the function this was computed for changes. When it returns false, the information is preserved across those changes.

builtins module

group builtins

Typedefs

char char32 __attribute__ ((ext_vector_type(32)))
typedef bool Bool
typedef abacus_char Char
typedef abacus_char2 Char2
typedef abacus_char4 Char4
typedef abacus_uchar UChar
typedef abacus_uchar2 UChar2
typedef abacus_uchar4 UChar4
typedef abacus_short Short
typedef abacus_short2 Short2
typedef abacus_short4 Short4
typedef abacus_ushort UShort
typedef abacus_ushort2 UShort2
typedef abacus_ushort4 UShort4
typedef abacus_int Int
typedef abacus_int2 Int2
typedef abacus_int4 Int4
typedef abacus_uint UInt
typedef abacus_uint2 UInt2
typedef abacus_uint4 UInt4
typedef abacus_float Float
typedef abacus_float2 Float2
typedef abacus_float4 Float4
typedef abacus_ushort Half
typedef abacus_ushort4 Half4
typedef size_t Size

Enums

enum vec_elem

Values:

enumerator x
enumerator y
enumerator z
enumerator w

Functions

cargo::array_view<const uint8_t> get_api_src_file()

Get the builtins header source.

Returns

Reference to the builtins header source.

cargo::array_view<const uint8_t> get_api_30_src_file()

Get the builtins header source for OpenCL 3.0.

Returns

Reference to the builtins header source for OpenCL 3.0.

cargo::array_view<const uint8_t> get_api_force_file_device(const char *const device_name)

Get the force-include header for a core device.

Parameters

device_name[in] Core device’s device_name

Returns

Reference to the header, if available, or an empty file otherwise

cargo::array_view<const uint8_t> get_pch_file(file::capabilities_bitfield caps)

Get a builtins precompiled header based on the required capabilities.

Parameters

caps[in] A capabilities_bitfield of the required capabilities.

Returns

Reference to the precompiled header.

cargo::array_view<const uint8_t> get_bc_file(file::capabilities_bitfield caps)

Get a builtins bitcode file based on the required capabilities.

Parameters

caps[in] A capabilities_bitfield of the required capabilities.

Returns

Reference to the bitcode file.

template<typename T, typename U>
T select(const T a, const T b, const U c)
template<ocl::Rounding::Type ROUNDING, typename F>
static inline ushort HalfDownConvertHelper(const F payload)
template<ocl::Rounding::Type ROUNDING, typename T, typename F>
T half_convert(const F payload)
template<typename T>
T quantizeToF16(const T payload)
template<typename ElemType, typename VecType>
inline ElemType get_v2(const VecType &v, const vec_elem elem)
template<typename ElemType, typename VecType>
inline ElemType get_v4(const VecType &v, const vec_elem elem)
template<typename VecType, typename ElemType>
inline void set_v2(VecType &v, const ElemType val, const vec_elem elem)
template<typename VecType, typename ElemType>
inline void set_v4(VecType &v, const ElemType val, const vec_elem elem)
template<typename VecType, typename ElemType>
inline VecType make(ElemType x, ElemType y)
template<typename VecType, typename ElemType>
inline VecType make(ElemType x, ElemType y, ElemType z, ElemType w)
template<typename Type>
inline Char convert_char_sat(Type value)
template<typename Type>
inline Char convert_char_sat_rte(Type value)
template<typename Type>
inline Char4 convert_char4_sat(Type value)
template<typename Type>
inline UChar convert_uchar_sat(Type value)
template<typename Type>
inline UChar convert_uchar_sat_rte(Type value)
template<typename Type>
inline UChar4 convert_uchar4_sat(Type value)
template<typename Type>
inline Short convert_short_sat(Type value)
template<typename Type>
inline Short convert_short_sat_rte(Type value)
template<typename Type>
inline Short4 convert_short4_sat(Type value)
template<typename Type>
inline UShort convert_ushort_sat(Type value)
template<typename Type>
inline UShort convert_ushort_sat_rte(Type value)
template<typename Type>
inline UShort4 convert_ushort4_sat(Type value)
template<typename Type>
inline Int convert_int_rte(Type value)
template<typename Type>
inline Float2 convert_float2(Type value)
template<typename Type>
inline Float4 convert_float4(Type value)
template<typename Type>
inline Type clamp(Type x, Type minval, Type maxval)
template<typename Type>
inline Type fabs(Type value)
template<typename Type>
inline Type floor(Type value)
inline Int isinf(Float value)
template<typename Type>
inline Type min(Type a, Type b)
template<typename Type>
inline Type max(Type a, Type b)
template<typename Type>
inline Type rint(Type value)
template<typename Type>
inline Type pow(Type value, Type power)
inline UShort convert_float_to_half(Float arg)
inline Float convert_half_to_float(UShort arg)
inline UShort4 convert_float4_to_half4_rte(Float4 arg)
template<typename T>
struct TypeTraits
template<>
struct TypeTraits<uchar>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uchar2>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uchar3>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uchar4>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uchar8>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uchar16>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uchar32>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ushort>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ushort2>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ushort3>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ushort4>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ushort8>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ushort16>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ushort32>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uint>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uint2>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uint3>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uint4>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uint8>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uint16>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<uint32>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ulong>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ulong2>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ulong3>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ulong4>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ulong8>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ulong16>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<ulong32>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<char>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<char2>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<char3>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<char4>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<char8>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<char16>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<char32>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<short>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<short2>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<short3>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<short4>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<short8>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<short16>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<short32>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<int>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<int2>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<int3>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<int4>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<int8>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<int16>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<int32>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<long>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<long2>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<long3>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<long4>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<long8>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<long16>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<long32>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<float>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<float2>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<float3>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<float4>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<float8>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<float16>
#include <cxxbuiltins.h>
template<>
struct TypeTraits<float32>
#include <cxxbuiltins.h>
template<typename T>
struct Bounds
#include <cxxbuiltins.h>
template<typename T>
struct GetNumElements
#include <cxxbuiltins.h>
template<>
struct GetNumElements<char3>
#include <cxxbuiltins.h>
template<>
struct GetNumElements<uchar3>
#include <cxxbuiltins.h>
template<>
struct GetNumElements<short3>
#include <cxxbuiltins.h>
template<>
struct GetNumElements<ushort3>
#include <cxxbuiltins.h>
template<>
struct GetNumElements<int3>
#include <cxxbuiltins.h>
template<>
struct GetNumElements<uint3>
#include <cxxbuiltins.h>
template<>
struct GetNumElements<long3>
#include <cxxbuiltins.h>
template<>
struct GetNumElements<ulong3>
#include <cxxbuiltins.h>
template<>
struct GetNumElements<float3>
#include <cxxbuiltins.h>
template<ocl::Rounding::Type ROUNDING, typename T, typename F, unsigned int ELEMENTS = GetNumElements<T>::Size>
struct HalfConvertHelper
#include <cxxbuiltins.h>
template<typename T, unsigned int ELEMENTS = GetNumElements<T>::Size>
struct QuantizeToF16Helper
#include <cxxbuiltins.h>
template<typename T>
struct FPBits
template<>
struct FPBits<ushort>
#include <cxxbuiltins.h>
template<>
struct FPBits<float>
#include <cxxbuiltins.h>
template<typename T>
struct ocl::Shape
#include <cxxbuiltins.h>
union Float
#include <cxxbuiltins.h>

Public Members

T f
UnsignedType Mantissa
UnsignedType Exponent
UnsignedType Sign
struct ocl::Shape::Float
template<typename T>
struct HalfConvertHelper<ocl::Rounding::undefined, T, ushort, 1>
#include <cxxbuiltins.h>
template<typename F>
struct HalfConvertHelper<ocl::Rounding::rte, ushort, F, 1>
#include <cxxbuiltins.h>
template<typename F>
struct HalfConvertHelper<ocl::Rounding::undefined, ushort, F, 1>
#include <cxxbuiltins.h>
template<typename F>
struct HalfConvertHelper<ocl::Rounding::rtz, ushort, F, 1>
#include <cxxbuiltins.h>
template<typename F>
struct HalfConvertHelper<ocl::Rounding::rtn, ushort, F, 1>
#include <cxxbuiltins.h>
template<typename F>
struct HalfConvertHelper<ocl::Rounding::rtp, ushort, F, 1>
#include <cxxbuiltins.h>
template<typename T>
struct QuantizeToF16Helper<T, 1>
#include <cxxbuiltins.h>
namespace builtins::file

Typedefs

using capabilities_bitfield = uint32_t

Enums

enum capabilities

Embedded file capabilities.

Values:

enumerator CAPS_DEFAULT

Default (minimal) capabilities (64-bit).

enumerator CAPS_32BIT

32-bit file (default is 64-bit).

enumerator CAPS_FP64

File with floating point double types.

enumerator CAPS_FP16

File with floating point half types.

namespace ocl::Rounding

Enums

enum Type

Values:

enumerator undefined
enumerator rte
enumerator rtz
enumerator rtp
enumerator rtn
namespace libimg::detail

Functions

static inline UShort HalfDownConvertHelper_rte(const Float payload)
template<typename T, typename F>
inline T half_convert_rte(const F payload)
template<typename T, typename F>
struct HalfConvertHelper_rte
#include <image_library_integration.h>
template<>
struct HalfConvertHelper_rte<UShort, Float>
#include <image_library_integration.h>
struct Shape
#include <image_library_integration.h>
union Float16
#include <image_library_integration.h>

Public Members

UShort f
UInt Mantissa
UInt Exponent
UInt Sign
struct libimg::detail::Shape::Float16 r
union Float32
#include <image_library_integration.h>

Public Members

Float f
UInt Mantissa
UInt Exponent
UInt Sign
struct libimg::detail::Shape::Float32 r
template<typename T>
struct TypeTraits
template<>
struct TypeTraits<Float>
#include <image_library_integration.h>
template<>
struct TypeTraits<Float4>
#include <image_library_integration.h>
template<>
struct TypeTraits<Short>
#include <image_library_integration.h>
template<>
struct TypeTraits<Short4>
#include <image_library_integration.h>
template<>
struct TypeTraits<UShort>
#include <image_library_integration.h>
template<>
struct TypeTraits<UShort4>
#include <image_library_integration.h>
namespace builtins::printf

Enums

enum type

List of types relevant to unpacking printf arguments.

We need to identify float, double and string, and integer types of each width, we don’t need to make the distinction between signed and unsigned integer types, printf will still behave correctly.

Values:

enumerator DOUBLE
enumerator FLOAT
enumerator LONG
enumerator INT
enumerator SHORT
enumerator CHAR
enumerator STRING

Functions

void print(std::FILE *fp, uint8_t *data, size_t max_length, const std::vector<descriptor> &printf_calls, std::vector<uint32_t> &group_offets)

Unpack data from a buffer and print it.

Parameters
  • fp[in] File to write output to.

  • data[in] Buffer of data to unpack and print.

  • max_length[in] Maximum length of the storage buffer data.

  • printf_calls[in] List of printf calls descriptors that may be found in the buffer.

  • group[inout] offsets Offset into the work group chunk of the buffer to start printing. This function can be called multiple times on the same buffer, to avoid printing duplicate data start from an offset which is set on function return.

struct descriptor
#include <printf.h>

Struct containing data representing a single printf call.

We keep the format string, the types of the arguments as well as the string arguments since OpenCL 1.2 mandates that they are constant, we can extract them at compile time.

Public Functions

inline descriptor(descriptor &&other)

Move constructor.

Parameters

other – Object to move

inline descriptor &operator=(descriptor &&other)

Move assignment operator.

Parameters

other – Object to move

descriptor &operator=(const descriptor&) = delete

Deleted copy assignment operator.

inline descriptor()

Destructor.

abacus

abacus cast

group abacus_cast

Functions

abacus_char ABACUS_EXPORT_API __abacus_convert_char(abacus_char x)

Convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat(abacus_char x)

Saturated convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rte(abacus_char x)

Round to even convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtn(abacus_char x)

Round to negative infinity convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtz(abacus_char x)

Round to zero convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtp(abacus_char x)

Round to positive infinity convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rte(abacus_char x)

Round to even convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtn(abacus_char x)

Round to negative infinity convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtz(abacus_char x)

Round to zero convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtp(abacus_char x)

Round to positive infinity convert from char to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2(abacus_char2 x)

Convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat(abacus_char2 x)

Saturated convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rte(abacus_char2 x)

Round to even convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtz(abacus_char2 x)

Round to zero convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rte(abacus_char2 x)

Round to even convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtz(abacus_char2 x)

Round to zero convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3(abacus_char3 x)

Convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat(abacus_char3 x)

Saturated convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rte(abacus_char3 x)

Round to even convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtz(abacus_char3 x)

Round to zero convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rte(abacus_char3 x)

Round to even convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtz(abacus_char3 x)

Round to zero convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4(abacus_char4 x)

Convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat(abacus_char4 x)

Saturated convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rte(abacus_char4 x)

Round to even convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtz(abacus_char4 x)

Round to zero convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rte(abacus_char4 x)

Round to even convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtz(abacus_char4 x)

Round to zero convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8(abacus_char8 x)

Convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat(abacus_char8 x)

Saturated convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rte(abacus_char8 x)

Round to even convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtz(abacus_char8 x)

Round to zero convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rte(abacus_char8 x)

Round to even convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtz(abacus_char8 x)

Round to zero convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16(abacus_char16 x)

Convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat(abacus_char16 x)

Saturated convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rte(abacus_char16 x)

Round to even convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtz(abacus_char16 x)

Round to zero convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rte(abacus_char16 x)

Round to even convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtz(abacus_char16 x)

Round to zero convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_convert_short(abacus_char x)

Convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat(abacus_char x)

Saturated convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rte(abacus_char x)

Round to even convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtn(abacus_char x)

Round to negative infinity convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtz(abacus_char x)

Round to zero convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtp(abacus_char x)

Round to positive infinity convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rte(abacus_char x)

Round to even convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtn(abacus_char x)

Round to negative infinity convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtz(abacus_char x)

Round to zero convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtp(abacus_char x)

Round to positive infinity convert from char to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2(abacus_char2 x)

Convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat(abacus_char2 x)

Saturated convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rte(abacus_char2 x)

Round to even convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtz(abacus_char2 x)

Round to zero convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rte(abacus_char2 x)

Round to even convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtz(abacus_char2 x)

Round to zero convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3(abacus_char3 x)

Convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat(abacus_char3 x)

Saturated convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rte(abacus_char3 x)

Round to even convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtz(abacus_char3 x)

Round to zero convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rte(abacus_char3 x)

Round to even convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtz(abacus_char3 x)

Round to zero convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4(abacus_char4 x)

Convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat(abacus_char4 x)

Saturated convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rte(abacus_char4 x)

Round to even convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtz(abacus_char4 x)

Round to zero convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rte(abacus_char4 x)

Round to even convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtz(abacus_char4 x)

Round to zero convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8(abacus_char8 x)

Convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat(abacus_char8 x)

Saturated convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rte(abacus_char8 x)

Round to even convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtz(abacus_char8 x)

Round to zero convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rte(abacus_char8 x)

Round to even convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtz(abacus_char8 x)

Round to zero convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16(abacus_char16 x)

Convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat(abacus_char16 x)

Saturated convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rte(abacus_char16 x)

Round to even convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtz(abacus_char16 x)

Round to zero convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rte(abacus_char16 x)

Round to even convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtz(abacus_char16 x)

Round to zero convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_convert_int(abacus_char x)

Convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat(abacus_char x)

Saturated convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rte(abacus_char x)

Round to even convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtn(abacus_char x)

Round to negative infinity convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtz(abacus_char x)

Round to zero convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtp(abacus_char x)

Round to positive infinity convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rte(abacus_char x)

Round to even convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtn(abacus_char x)

Round to negative infinity convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtz(abacus_char x)

Round to zero convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtp(abacus_char x)

Round to positive infinity convert from char to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2(abacus_char2 x)

Convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat(abacus_char2 x)

Saturated convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rte(abacus_char2 x)

Round to even convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtz(abacus_char2 x)

Round to zero convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rte(abacus_char2 x)

Round to even convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtz(abacus_char2 x)

Round to zero convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3(abacus_char3 x)

Convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat(abacus_char3 x)

Saturated convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rte(abacus_char3 x)

Round to even convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtz(abacus_char3 x)

Round to zero convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rte(abacus_char3 x)

Round to even convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtz(abacus_char3 x)

Round to zero convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4(abacus_char4 x)

Convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat(abacus_char4 x)

Saturated convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rte(abacus_char4 x)

Round to even convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtz(abacus_char4 x)

Round to zero convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rte(abacus_char4 x)

Round to even convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtz(abacus_char4 x)

Round to zero convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8(abacus_char8 x)

Convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat(abacus_char8 x)

Saturated convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rte(abacus_char8 x)

Round to even convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtz(abacus_char8 x)

Round to zero convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rte(abacus_char8 x)

Round to even convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtz(abacus_char8 x)

Round to zero convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16(abacus_char16 x)

Convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat(abacus_char16 x)

Saturated convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rte(abacus_char16 x)

Round to even convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtz(abacus_char16 x)

Round to zero convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rte(abacus_char16 x)

Round to even convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtz(abacus_char16 x)

Round to zero convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_convert_long(abacus_char x)

Convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat(abacus_char x)

Saturated convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rte(abacus_char x)

Round to even convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtn(abacus_char x)

Round to negative infinity convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtz(abacus_char x)

Round to zero convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtp(abacus_char x)

Round to positive infinity convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rte(abacus_char x)

Round to even convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtn(abacus_char x)

Round to negative infinity convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtz(abacus_char x)

Round to zero convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtp(abacus_char x)

Round to positive infinity convert from char to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2(abacus_char2 x)

Convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat(abacus_char2 x)

Saturated convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rte(abacus_char2 x)

Round to even convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtz(abacus_char2 x)

Round to zero convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rte(abacus_char2 x)

Round to even convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtz(abacus_char2 x)

Round to zero convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3(abacus_char3 x)

Convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat(abacus_char3 x)

Saturated convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rte(abacus_char3 x)

Round to even convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtz(abacus_char3 x)

Round to zero convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rte(abacus_char3 x)

Round to even convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtz(abacus_char3 x)

Round to zero convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4(abacus_char4 x)

Convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat(abacus_char4 x)

Saturated convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rte(abacus_char4 x)

Round to even convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtz(abacus_char4 x)

Round to zero convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rte(abacus_char4 x)

Round to even convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtz(abacus_char4 x)

Round to zero convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8(abacus_char8 x)

Convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat(abacus_char8 x)

Saturated convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rte(abacus_char8 x)

Round to even convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtz(abacus_char8 x)

Round to zero convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rte(abacus_char8 x)

Round to even convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtz(abacus_char8 x)

Round to zero convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16(abacus_char16 x)

Convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat(abacus_char16 x)

Saturated convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rte(abacus_char16 x)

Round to even convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtz(abacus_char16 x)

Round to zero convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rte(abacus_char16 x)

Round to even convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtz(abacus_char16 x)

Round to zero convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar(abacus_char x)

Convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat(abacus_char x)

Saturated convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rte(abacus_char x)

Round to even convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtn(abacus_char x)

Round to negative infinity convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtz(abacus_char x)

Round to zero convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtp(abacus_char x)

Round to positive infinity convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rte(abacus_char x)

Round to even convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtn(abacus_char x)

Round to negative infinity convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtz(abacus_char x)

Round to zero convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtp(abacus_char x)

Round to positive infinity convert from char to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2(abacus_char2 x)

Convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat(abacus_char2 x)

Saturated convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rte(abacus_char2 x)

Round to even convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtz(abacus_char2 x)

Round to zero convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rte(abacus_char2 x)

Round to even convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtz(abacus_char2 x)

Round to zero convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3(abacus_char3 x)

Convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat(abacus_char3 x)

Saturated convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rte(abacus_char3 x)

Round to even convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtz(abacus_char3 x)

Round to zero convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rte(abacus_char3 x)

Round to even convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtz(abacus_char3 x)

Round to zero convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4(abacus_char4 x)

Convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat(abacus_char4 x)

Saturated convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rte(abacus_char4 x)

Round to even convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtz(abacus_char4 x)

Round to zero convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rte(abacus_char4 x)

Round to even convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtz(abacus_char4 x)

Round to zero convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8(abacus_char8 x)

Convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat(abacus_char8 x)

Saturated convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rte(abacus_char8 x)

Round to even convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtz(abacus_char8 x)

Round to zero convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rte(abacus_char8 x)

Round to even convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtz(abacus_char8 x)

Round to zero convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16(abacus_char16 x)

Convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat(abacus_char16 x)

Saturated convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rte(abacus_char16 x)

Round to even convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtz(abacus_char16 x)

Round to zero convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rte(abacus_char16 x)

Round to even convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtz(abacus_char16 x)

Round to zero convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort(abacus_char x)

Convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat(abacus_char x)

Saturated convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rte(abacus_char x)

Round to even convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtn(abacus_char x)

Round to negative infinity convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtz(abacus_char x)

Round to zero convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtp(abacus_char x)

Round to positive infinity convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rte(abacus_char x)

Round to even convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtn(abacus_char x)

Round to negative infinity convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtz(abacus_char x)

Round to zero convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtp(abacus_char x)

Round to positive infinity convert from char to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2(abacus_char2 x)

Convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat(abacus_char2 x)

Saturated convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rte(abacus_char2 x)

Round to even convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtz(abacus_char2 x)

Round to zero convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rte(abacus_char2 x)

Round to even convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtz(abacus_char2 x)

Round to zero convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3(abacus_char3 x)

Convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat(abacus_char3 x)

Saturated convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rte(abacus_char3 x)

Round to even convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtz(abacus_char3 x)

Round to zero convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rte(abacus_char3 x)

Round to even convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtz(abacus_char3 x)

Round to zero convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4(abacus_char4 x)

Convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat(abacus_char4 x)

Saturated convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rte(abacus_char4 x)

Round to even convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtz(abacus_char4 x)

Round to zero convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rte(abacus_char4 x)

Round to even convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtz(abacus_char4 x)

Round to zero convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8(abacus_char8 x)

Convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat(abacus_char8 x)

Saturated convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rte(abacus_char8 x)

Round to even convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtz(abacus_char8 x)

Round to zero convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rte(abacus_char8 x)

Round to even convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtz(abacus_char8 x)

Round to zero convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16(abacus_char16 x)

Convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat(abacus_char16 x)

Saturated convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rte(abacus_char16 x)

Round to even convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtz(abacus_char16 x)

Round to zero convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rte(abacus_char16 x)

Round to even convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtz(abacus_char16 x)

Round to zero convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint(abacus_char x)

Convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat(abacus_char x)

Saturated convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rte(abacus_char x)

Round to even convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtn(abacus_char x)

Round to negative infinity convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtz(abacus_char x)

Round to zero convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtp(abacus_char x)

Round to positive infinity convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rte(abacus_char x)

Round to even convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtn(abacus_char x)

Round to negative infinity convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtz(abacus_char x)

Round to zero convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtp(abacus_char x)

Round to positive infinity convert from char to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2(abacus_char2 x)

Convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat(abacus_char2 x)

Saturated convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rte(abacus_char2 x)

Round to even convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtz(abacus_char2 x)

Round to zero convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rte(abacus_char2 x)

Round to even convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtz(abacus_char2 x)

Round to zero convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3(abacus_char3 x)

Convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat(abacus_char3 x)

Saturated convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rte(abacus_char3 x)

Round to even convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtz(abacus_char3 x)

Round to zero convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rte(abacus_char3 x)

Round to even convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtz(abacus_char3 x)

Round to zero convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4(abacus_char4 x)

Convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat(abacus_char4 x)

Saturated convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rte(abacus_char4 x)

Round to even convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtz(abacus_char4 x)

Round to zero convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rte(abacus_char4 x)

Round to even convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtz(abacus_char4 x)

Round to zero convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8(abacus_char8 x)

Convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat(abacus_char8 x)

Saturated convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rte(abacus_char8 x)

Round to even convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtz(abacus_char8 x)

Round to zero convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rte(abacus_char8 x)

Round to even convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtz(abacus_char8 x)

Round to zero convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16(abacus_char16 x)

Convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat(abacus_char16 x)

Saturated convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rte(abacus_char16 x)

Round to even convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtz(abacus_char16 x)

Round to zero convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rte(abacus_char16 x)

Round to even convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtz(abacus_char16 x)

Round to zero convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong(abacus_char x)

Convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat(abacus_char x)

Saturated convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rte(abacus_char x)

Round to even convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtn(abacus_char x)

Round to negative infinity convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtz(abacus_char x)

Round to zero convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtp(abacus_char x)

Round to positive infinity convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rte(abacus_char x)

Round to even convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtn(abacus_char x)

Round to negative infinity convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtz(abacus_char x)

Round to zero convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtp(abacus_char x)

Round to positive infinity convert from char to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2(abacus_char2 x)

Convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat(abacus_char2 x)

Saturated convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rte(abacus_char2 x)

Round to even convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtz(abacus_char2 x)

Round to zero convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rte(abacus_char2 x)

Round to even convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtz(abacus_char2 x)

Round to zero convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3(abacus_char3 x)

Convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat(abacus_char3 x)

Saturated convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rte(abacus_char3 x)

Round to even convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtz(abacus_char3 x)

Round to zero convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rte(abacus_char3 x)

Round to even convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtz(abacus_char3 x)

Round to zero convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4(abacus_char4 x)

Convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat(abacus_char4 x)

Saturated convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rte(abacus_char4 x)

Round to even convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtz(abacus_char4 x)

Round to zero convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rte(abacus_char4 x)

Round to even convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtz(abacus_char4 x)

Round to zero convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8(abacus_char8 x)

Convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat(abacus_char8 x)

Saturated convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rte(abacus_char8 x)

Round to even convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtz(abacus_char8 x)

Round to zero convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rte(abacus_char8 x)

Round to even convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtz(abacus_char8 x)

Round to zero convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16(abacus_char16 x)

Convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat(abacus_char16 x)

Saturated convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rte(abacus_char16 x)

Round to even convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtz(abacus_char16 x)

Round to zero convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rte(abacus_char16 x)

Round to even convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtz(abacus_char16 x)

Round to zero convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong16.

abacus_float ABACUS_EXPORT_API __abacus_convert_float(abacus_char x)

Convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat(abacus_char x)

Saturated convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rte(abacus_char x)

Round to even convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtn(abacus_char x)

Round to negative infinity convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtz(abacus_char x)

Round to zero convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtp(abacus_char x)

Round to positive infinity convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rte(abacus_char x)

Round to even convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtn(abacus_char x)

Round to negative infinity convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtz(abacus_char x)

Round to zero convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtp(abacus_char x)

Round to positive infinity convert from char to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2(abacus_char2 x)

Convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat(abacus_char2 x)

Saturated convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rte(abacus_char2 x)

Round to even convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtz(abacus_char2 x)

Round to zero convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rte(abacus_char2 x)

Round to even convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtn(abacus_char2 x)

Round to negative infinity convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtz(abacus_char2 x)

Round to zero convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtp(abacus_char2 x)

Round to positive infinity convert from char2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3(abacus_char3 x)

Convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat(abacus_char3 x)

Saturated convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rte(abacus_char3 x)

Round to even convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtz(abacus_char3 x)

Round to zero convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rte(abacus_char3 x)

Round to even convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtn(abacus_char3 x)

Round to negative infinity convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtz(abacus_char3 x)

Round to zero convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtp(abacus_char3 x)

Round to positive infinity convert from char3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4(abacus_char4 x)

Convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat(abacus_char4 x)

Saturated convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rte(abacus_char4 x)

Round to even convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtz(abacus_char4 x)

Round to zero convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rte(abacus_char4 x)

Round to even convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtn(abacus_char4 x)

Round to negative infinity convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtz(abacus_char4 x)

Round to zero convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtp(abacus_char4 x)

Round to positive infinity convert from char4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8(abacus_char8 x)

Convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat(abacus_char8 x)

Saturated convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rte(abacus_char8 x)

Round to even convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtz(abacus_char8 x)

Round to zero convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rte(abacus_char8 x)

Round to even convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtn(abacus_char8 x)

Round to negative infinity convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtz(abacus_char8 x)

Round to zero convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtp(abacus_char8 x)

Round to positive infinity convert from char8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16(abacus_char16 x)

Convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat(abacus_char16 x)

Saturated convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rte(abacus_char16 x)

Round to even convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtz(abacus_char16 x)

Round to zero convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rte(abacus_char16 x)

Round to even convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtn(abacus_char16 x)

Round to negative infinity convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtz(abacus_char16 x)

Round to zero convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtp(abacus_char16 x)

Round to positive infinity convert from char16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float16.

abacus_char ABACUS_EXPORT_API __abacus_convert_char(abacus_short x)

Convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat(abacus_short x)

Saturated convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rte(abacus_short x)

Round to even convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtn(abacus_short x)

Round to negative infinity convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtz(abacus_short x)

Round to zero convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtp(abacus_short x)

Round to positive infinity convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rte(abacus_short x)

Round to even convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtn(abacus_short x)

Round to negative infinity convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtz(abacus_short x)

Round to zero convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtp(abacus_short x)

Round to positive infinity convert from short to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2(abacus_short2 x)

Convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat(abacus_short2 x)

Saturated convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rte(abacus_short2 x)

Round to even convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtz(abacus_short2 x)

Round to zero convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rte(abacus_short2 x)

Round to even convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtz(abacus_short2 x)

Round to zero convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3(abacus_short3 x)

Convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat(abacus_short3 x)

Saturated convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rte(abacus_short3 x)

Round to even convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtz(abacus_short3 x)

Round to zero convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rte(abacus_short3 x)

Round to even convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtz(abacus_short3 x)

Round to zero convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4(abacus_short4 x)

Convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat(abacus_short4 x)

Saturated convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rte(abacus_short4 x)

Round to even convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtz(abacus_short4 x)

Round to zero convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rte(abacus_short4 x)

Round to even convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtz(abacus_short4 x)

Round to zero convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8(abacus_short8 x)

Convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat(abacus_short8 x)

Saturated convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rte(abacus_short8 x)

Round to even convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtz(abacus_short8 x)

Round to zero convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rte(abacus_short8 x)

Round to even convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtz(abacus_short8 x)

Round to zero convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16(abacus_short16 x)

Convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat(abacus_short16 x)

Saturated convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rte(abacus_short16 x)

Round to even convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtz(abacus_short16 x)

Round to zero convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rte(abacus_short16 x)

Round to even convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtz(abacus_short16 x)

Round to zero convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_convert_short(abacus_short x)

Convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat(abacus_short x)

Saturated convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rte(abacus_short x)

Round to even convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtn(abacus_short x)

Round to negative infinity convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtz(abacus_short x)

Round to zero convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtp(abacus_short x)

Round to positive infinity convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rte(abacus_short x)

Round to even convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtn(abacus_short x)

Round to negative infinity convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtz(abacus_short x)

Round to zero convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtp(abacus_short x)

Round to positive infinity convert from short to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2(abacus_short2 x)

Convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat(abacus_short2 x)

Saturated convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rte(abacus_short2 x)

Round to even convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtz(abacus_short2 x)

Round to zero convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rte(abacus_short2 x)

Round to even convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtz(abacus_short2 x)

Round to zero convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3(abacus_short3 x)

Convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat(abacus_short3 x)

Saturated convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rte(abacus_short3 x)

Round to even convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtz(abacus_short3 x)

Round to zero convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rte(abacus_short3 x)

Round to even convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtz(abacus_short3 x)

Round to zero convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4(abacus_short4 x)

Convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat(abacus_short4 x)

Saturated convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rte(abacus_short4 x)

Round to even convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtz(abacus_short4 x)

Round to zero convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rte(abacus_short4 x)

Round to even convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtz(abacus_short4 x)

Round to zero convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8(abacus_short8 x)

Convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat(abacus_short8 x)

Saturated convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rte(abacus_short8 x)

Round to even convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtz(abacus_short8 x)

Round to zero convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rte(abacus_short8 x)

Round to even convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtz(abacus_short8 x)

Round to zero convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16(abacus_short16 x)

Convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat(abacus_short16 x)

Saturated convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rte(abacus_short16 x)

Round to even convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtz(abacus_short16 x)

Round to zero convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rte(abacus_short16 x)

Round to even convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtz(abacus_short16 x)

Round to zero convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_convert_int(abacus_short x)

Convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat(abacus_short x)

Saturated convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rte(abacus_short x)

Round to even convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtn(abacus_short x)

Round to negative infinity convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtz(abacus_short x)

Round to zero convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtp(abacus_short x)

Round to positive infinity convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rte(abacus_short x)

Round to even convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtn(abacus_short x)

Round to negative infinity convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtz(abacus_short x)

Round to zero convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtp(abacus_short x)

Round to positive infinity convert from short to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2(abacus_short2 x)

Convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat(abacus_short2 x)

Saturated convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rte(abacus_short2 x)

Round to even convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtz(abacus_short2 x)

Round to zero convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rte(abacus_short2 x)

Round to even convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtz(abacus_short2 x)

Round to zero convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3(abacus_short3 x)

Convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat(abacus_short3 x)

Saturated convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rte(abacus_short3 x)

Round to even convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtz(abacus_short3 x)

Round to zero convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rte(abacus_short3 x)

Round to even convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtz(abacus_short3 x)

Round to zero convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4(abacus_short4 x)

Convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat(abacus_short4 x)

Saturated convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rte(abacus_short4 x)

Round to even convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtz(abacus_short4 x)

Round to zero convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rte(abacus_short4 x)

Round to even convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtz(abacus_short4 x)

Round to zero convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8(abacus_short8 x)

Convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat(abacus_short8 x)

Saturated convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rte(abacus_short8 x)

Round to even convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtz(abacus_short8 x)

Round to zero convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rte(abacus_short8 x)

Round to even convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtz(abacus_short8 x)

Round to zero convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16(abacus_short16 x)

Convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat(abacus_short16 x)

Saturated convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rte(abacus_short16 x)

Round to even convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtz(abacus_short16 x)

Round to zero convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rte(abacus_short16 x)

Round to even convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtz(abacus_short16 x)

Round to zero convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_convert_long(abacus_short x)

Convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat(abacus_short x)

Saturated convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rte(abacus_short x)

Round to even convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtn(abacus_short x)

Round to negative infinity convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtz(abacus_short x)

Round to zero convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtp(abacus_short x)

Round to positive infinity convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rte(abacus_short x)

Round to even convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtn(abacus_short x)

Round to negative infinity convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtz(abacus_short x)

Round to zero convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtp(abacus_short x)

Round to positive infinity convert from short to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2(abacus_short2 x)

Convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat(abacus_short2 x)

Saturated convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rte(abacus_short2 x)

Round to even convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtz(abacus_short2 x)

Round to zero convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rte(abacus_short2 x)

Round to even convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtz(abacus_short2 x)

Round to zero convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3(abacus_short3 x)

Convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat(abacus_short3 x)

Saturated convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rte(abacus_short3 x)

Round to even convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtz(abacus_short3 x)

Round to zero convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rte(abacus_short3 x)

Round to even convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtz(abacus_short3 x)

Round to zero convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4(abacus_short4 x)

Convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat(abacus_short4 x)

Saturated convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rte(abacus_short4 x)

Round to even convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtz(abacus_short4 x)

Round to zero convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rte(abacus_short4 x)

Round to even convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtz(abacus_short4 x)

Round to zero convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8(abacus_short8 x)

Convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat(abacus_short8 x)

Saturated convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rte(abacus_short8 x)

Round to even convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtz(abacus_short8 x)

Round to zero convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rte(abacus_short8 x)

Round to even convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtz(abacus_short8 x)

Round to zero convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16(abacus_short16 x)

Convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat(abacus_short16 x)

Saturated convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rte(abacus_short16 x)

Round to even convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtz(abacus_short16 x)

Round to zero convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rte(abacus_short16 x)

Round to even convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtz(abacus_short16 x)

Round to zero convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar(abacus_short x)

Convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat(abacus_short x)

Saturated convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rte(abacus_short x)

Round to even convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtn(abacus_short x)

Round to negative infinity convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtz(abacus_short x)

Round to zero convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtp(abacus_short x)

Round to positive infinity convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rte(abacus_short x)

Round to even convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtn(abacus_short x)

Round to negative infinity convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtz(abacus_short x)

Round to zero convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtp(abacus_short x)

Round to positive infinity convert from short to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2(abacus_short2 x)

Convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat(abacus_short2 x)

Saturated convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rte(abacus_short2 x)

Round to even convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtz(abacus_short2 x)

Round to zero convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rte(abacus_short2 x)

Round to even convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtz(abacus_short2 x)

Round to zero convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3(abacus_short3 x)

Convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat(abacus_short3 x)

Saturated convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rte(abacus_short3 x)

Round to even convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtz(abacus_short3 x)

Round to zero convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rte(abacus_short3 x)

Round to even convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtz(abacus_short3 x)

Round to zero convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4(abacus_short4 x)

Convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat(abacus_short4 x)

Saturated convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rte(abacus_short4 x)

Round to even convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtz(abacus_short4 x)

Round to zero convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rte(abacus_short4 x)

Round to even convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtz(abacus_short4 x)

Round to zero convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8(abacus_short8 x)

Convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat(abacus_short8 x)

Saturated convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rte(abacus_short8 x)

Round to even convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtz(abacus_short8 x)

Round to zero convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rte(abacus_short8 x)

Round to even convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtz(abacus_short8 x)

Round to zero convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16(abacus_short16 x)

Convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat(abacus_short16 x)

Saturated convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rte(abacus_short16 x)

Round to even convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtz(abacus_short16 x)

Round to zero convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rte(abacus_short16 x)

Round to even convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtz(abacus_short16 x)

Round to zero convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort(abacus_short x)

Convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat(abacus_short x)

Saturated convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rte(abacus_short x)

Round to even convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtn(abacus_short x)

Round to negative infinity convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtz(abacus_short x)

Round to zero convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtp(abacus_short x)

Round to positive infinity convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rte(abacus_short x)

Round to even convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtn(abacus_short x)

Round to negative infinity convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtz(abacus_short x)

Round to zero convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtp(abacus_short x)

Round to positive infinity convert from short to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2(abacus_short2 x)

Convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat(abacus_short2 x)

Saturated convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rte(abacus_short2 x)

Round to even convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtz(abacus_short2 x)

Round to zero convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rte(abacus_short2 x)

Round to even convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtz(abacus_short2 x)

Round to zero convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3(abacus_short3 x)

Convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat(abacus_short3 x)

Saturated convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rte(abacus_short3 x)

Round to even convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtz(abacus_short3 x)

Round to zero convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rte(abacus_short3 x)

Round to even convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtz(abacus_short3 x)

Round to zero convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4(abacus_short4 x)

Convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat(abacus_short4 x)

Saturated convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rte(abacus_short4 x)

Round to even convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtz(abacus_short4 x)

Round to zero convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rte(abacus_short4 x)

Round to even convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtz(abacus_short4 x)

Round to zero convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8(abacus_short8 x)

Convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat(abacus_short8 x)

Saturated convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rte(abacus_short8 x)

Round to even convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtz(abacus_short8 x)

Round to zero convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rte(abacus_short8 x)

Round to even convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtz(abacus_short8 x)

Round to zero convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16(abacus_short16 x)

Convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat(abacus_short16 x)

Saturated convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rte(abacus_short16 x)

Round to even convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtz(abacus_short16 x)

Round to zero convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rte(abacus_short16 x)

Round to even convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtz(abacus_short16 x)

Round to zero convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint(abacus_short x)

Convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat(abacus_short x)

Saturated convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rte(abacus_short x)

Round to even convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtn(abacus_short x)

Round to negative infinity convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtz(abacus_short x)

Round to zero convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtp(abacus_short x)

Round to positive infinity convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rte(abacus_short x)

Round to even convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtn(abacus_short x)

Round to negative infinity convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtz(abacus_short x)

Round to zero convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtp(abacus_short x)

Round to positive infinity convert from short to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2(abacus_short2 x)

Convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat(abacus_short2 x)

Saturated convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rte(abacus_short2 x)

Round to even convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtz(abacus_short2 x)

Round to zero convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rte(abacus_short2 x)

Round to even convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtz(abacus_short2 x)

Round to zero convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3(abacus_short3 x)

Convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat(abacus_short3 x)

Saturated convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rte(abacus_short3 x)

Round to even convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtz(abacus_short3 x)

Round to zero convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rte(abacus_short3 x)

Round to even convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtz(abacus_short3 x)

Round to zero convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4(abacus_short4 x)

Convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat(abacus_short4 x)

Saturated convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rte(abacus_short4 x)

Round to even convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtz(abacus_short4 x)

Round to zero convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rte(abacus_short4 x)

Round to even convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtz(abacus_short4 x)

Round to zero convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8(abacus_short8 x)

Convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat(abacus_short8 x)

Saturated convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rte(abacus_short8 x)

Round to even convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtz(abacus_short8 x)

Round to zero convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rte(abacus_short8 x)

Round to even convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtz(abacus_short8 x)

Round to zero convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16(abacus_short16 x)

Convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat(abacus_short16 x)

Saturated convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rte(abacus_short16 x)

Round to even convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtz(abacus_short16 x)

Round to zero convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rte(abacus_short16 x)

Round to even convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtz(abacus_short16 x)

Round to zero convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong(abacus_short x)

Convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat(abacus_short x)

Saturated convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rte(abacus_short x)

Round to even convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtn(abacus_short x)

Round to negative infinity convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtz(abacus_short x)

Round to zero convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtp(abacus_short x)

Round to positive infinity convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rte(abacus_short x)

Round to even convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtn(abacus_short x)

Round to negative infinity convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtz(abacus_short x)

Round to zero convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtp(abacus_short x)

Round to positive infinity convert from short to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2(abacus_short2 x)

Convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat(abacus_short2 x)

Saturated convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rte(abacus_short2 x)

Round to even convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtz(abacus_short2 x)

Round to zero convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rte(abacus_short2 x)

Round to even convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtz(abacus_short2 x)

Round to zero convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3(abacus_short3 x)

Convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat(abacus_short3 x)

Saturated convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rte(abacus_short3 x)

Round to even convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtz(abacus_short3 x)

Round to zero convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rte(abacus_short3 x)

Round to even convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtz(abacus_short3 x)

Round to zero convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4(abacus_short4 x)

Convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat(abacus_short4 x)

Saturated convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rte(abacus_short4 x)

Round to even convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtz(abacus_short4 x)

Round to zero convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rte(abacus_short4 x)

Round to even convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtz(abacus_short4 x)

Round to zero convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8(abacus_short8 x)

Convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat(abacus_short8 x)

Saturated convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rte(abacus_short8 x)

Round to even convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtz(abacus_short8 x)

Round to zero convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rte(abacus_short8 x)

Round to even convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtz(abacus_short8 x)

Round to zero convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16(abacus_short16 x)

Convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat(abacus_short16 x)

Saturated convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rte(abacus_short16 x)

Round to even convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtz(abacus_short16 x)

Round to zero convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rte(abacus_short16 x)

Round to even convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtz(abacus_short16 x)

Round to zero convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong16.

abacus_float ABACUS_EXPORT_API __abacus_convert_float(abacus_short x)

Convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat(abacus_short x)

Saturated convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rte(abacus_short x)

Round to even convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtn(abacus_short x)

Round to negative infinity convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtz(abacus_short x)

Round to zero convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtp(abacus_short x)

Round to positive infinity convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rte(abacus_short x)

Round to even convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtn(abacus_short x)

Round to negative infinity convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtz(abacus_short x)

Round to zero convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtp(abacus_short x)

Round to positive infinity convert from short to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2(abacus_short2 x)

Convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat(abacus_short2 x)

Saturated convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rte(abacus_short2 x)

Round to even convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtz(abacus_short2 x)

Round to zero convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rte(abacus_short2 x)

Round to even convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtn(abacus_short2 x)

Round to negative infinity convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtz(abacus_short2 x)

Round to zero convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtp(abacus_short2 x)

Round to positive infinity convert from short2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3(abacus_short3 x)

Convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat(abacus_short3 x)

Saturated convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rte(abacus_short3 x)

Round to even convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtz(abacus_short3 x)

Round to zero convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rte(abacus_short3 x)

Round to even convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtn(abacus_short3 x)

Round to negative infinity convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtz(abacus_short3 x)

Round to zero convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtp(abacus_short3 x)

Round to positive infinity convert from short3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4(abacus_short4 x)

Convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat(abacus_short4 x)

Saturated convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rte(abacus_short4 x)

Round to even convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtz(abacus_short4 x)

Round to zero convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rte(abacus_short4 x)

Round to even convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtn(abacus_short4 x)

Round to negative infinity convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtz(abacus_short4 x)

Round to zero convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtp(abacus_short4 x)

Round to positive infinity convert from short4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8(abacus_short8 x)

Convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat(abacus_short8 x)

Saturated convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rte(abacus_short8 x)

Round to even convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtz(abacus_short8 x)

Round to zero convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rte(abacus_short8 x)

Round to even convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtn(abacus_short8 x)

Round to negative infinity convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtz(abacus_short8 x)

Round to zero convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtp(abacus_short8 x)

Round to positive infinity convert from short8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16(abacus_short16 x)

Convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat(abacus_short16 x)

Saturated convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rte(abacus_short16 x)

Round to even convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtz(abacus_short16 x)

Round to zero convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rte(abacus_short16 x)

Round to even convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtn(abacus_short16 x)

Round to negative infinity convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtz(abacus_short16 x)

Round to zero convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtp(abacus_short16 x)

Round to positive infinity convert from short16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float16.

abacus_char ABACUS_EXPORT_API __abacus_convert_char(abacus_int x)

Convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat(abacus_int x)

Saturated convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rte(abacus_int x)

Round to even convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtn(abacus_int x)

Round to negative infinity convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtz(abacus_int x)

Round to zero convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtp(abacus_int x)

Round to positive infinity convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rte(abacus_int x)

Round to even convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtn(abacus_int x)

Round to negative infinity convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtz(abacus_int x)

Round to zero convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtp(abacus_int x)

Round to positive infinity convert from int to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2(abacus_int2 x)

Convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat(abacus_int2 x)

Saturated convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rte(abacus_int2 x)

Round to even convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtz(abacus_int2 x)

Round to zero convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rte(abacus_int2 x)

Round to even convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtz(abacus_int2 x)

Round to zero convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3(abacus_int3 x)

Convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat(abacus_int3 x)

Saturated convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rte(abacus_int3 x)

Round to even convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtz(abacus_int3 x)

Round to zero convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rte(abacus_int3 x)

Round to even convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtz(abacus_int3 x)

Round to zero convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4(abacus_int4 x)

Convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat(abacus_int4 x)

Saturated convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rte(abacus_int4 x)

Round to even convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtz(abacus_int4 x)

Round to zero convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rte(abacus_int4 x)

Round to even convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtz(abacus_int4 x)

Round to zero convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8(abacus_int8 x)

Convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat(abacus_int8 x)

Saturated convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rte(abacus_int8 x)

Round to even convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtz(abacus_int8 x)

Round to zero convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rte(abacus_int8 x)

Round to even convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtz(abacus_int8 x)

Round to zero convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16(abacus_int16 x)

Convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat(abacus_int16 x)

Saturated convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rte(abacus_int16 x)

Round to even convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtz(abacus_int16 x)

Round to zero convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rte(abacus_int16 x)

Round to even convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtz(abacus_int16 x)

Round to zero convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_convert_short(abacus_int x)

Convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat(abacus_int x)

Saturated convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rte(abacus_int x)

Round to even convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtn(abacus_int x)

Round to negative infinity convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtz(abacus_int x)

Round to zero convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtp(abacus_int x)

Round to positive infinity convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rte(abacus_int x)

Round to even convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtn(abacus_int x)

Round to negative infinity convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtz(abacus_int x)

Round to zero convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtp(abacus_int x)

Round to positive infinity convert from int to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2(abacus_int2 x)

Convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat(abacus_int2 x)

Saturated convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rte(abacus_int2 x)

Round to even convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtz(abacus_int2 x)

Round to zero convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rte(abacus_int2 x)

Round to even convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtz(abacus_int2 x)

Round to zero convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3(abacus_int3 x)

Convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat(abacus_int3 x)

Saturated convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rte(abacus_int3 x)

Round to even convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtz(abacus_int3 x)

Round to zero convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rte(abacus_int3 x)

Round to even convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtz(abacus_int3 x)

Round to zero convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4(abacus_int4 x)

Convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat(abacus_int4 x)

Saturated convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rte(abacus_int4 x)

Round to even convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtz(abacus_int4 x)

Round to zero convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rte(abacus_int4 x)

Round to even convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtz(abacus_int4 x)

Round to zero convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8(abacus_int8 x)

Convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat(abacus_int8 x)

Saturated convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rte(abacus_int8 x)

Round to even convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtz(abacus_int8 x)

Round to zero convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rte(abacus_int8 x)

Round to even convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtz(abacus_int8 x)

Round to zero convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16(abacus_int16 x)

Convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat(abacus_int16 x)

Saturated convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rte(abacus_int16 x)

Round to even convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtz(abacus_int16 x)

Round to zero convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rte(abacus_int16 x)

Round to even convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtz(abacus_int16 x)

Round to zero convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_convert_int(abacus_int x)

Convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat(abacus_int x)

Saturated convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rte(abacus_int x)

Round to even convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtn(abacus_int x)

Round to negative infinity convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtz(abacus_int x)

Round to zero convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtp(abacus_int x)

Round to positive infinity convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rte(abacus_int x)

Round to even convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtn(abacus_int x)

Round to negative infinity convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtz(abacus_int x)

Round to zero convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtp(abacus_int x)

Round to positive infinity convert from int to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2(abacus_int2 x)

Convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat(abacus_int2 x)

Saturated convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rte(abacus_int2 x)

Round to even convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtz(abacus_int2 x)

Round to zero convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rte(abacus_int2 x)

Round to even convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtz(abacus_int2 x)

Round to zero convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3(abacus_int3 x)

Convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat(abacus_int3 x)

Saturated convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rte(abacus_int3 x)

Round to even convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtz(abacus_int3 x)

Round to zero convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rte(abacus_int3 x)

Round to even convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtz(abacus_int3 x)

Round to zero convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4(abacus_int4 x)

Convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat(abacus_int4 x)

Saturated convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rte(abacus_int4 x)

Round to even convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtz(abacus_int4 x)

Round to zero convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rte(abacus_int4 x)

Round to even convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtz(abacus_int4 x)

Round to zero convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8(abacus_int8 x)

Convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat(abacus_int8 x)

Saturated convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rte(abacus_int8 x)

Round to even convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtz(abacus_int8 x)

Round to zero convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rte(abacus_int8 x)

Round to even convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtz(abacus_int8 x)

Round to zero convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16(abacus_int16 x)

Convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat(abacus_int16 x)

Saturated convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rte(abacus_int16 x)

Round to even convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtz(abacus_int16 x)

Round to zero convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rte(abacus_int16 x)

Round to even convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtz(abacus_int16 x)

Round to zero convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_convert_long(abacus_int x)

Convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat(abacus_int x)

Saturated convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rte(abacus_int x)

Round to even convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtn(abacus_int x)

Round to negative infinity convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtz(abacus_int x)

Round to zero convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtp(abacus_int x)

Round to positive infinity convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rte(abacus_int x)

Round to even convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtn(abacus_int x)

Round to negative infinity convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtz(abacus_int x)

Round to zero convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtp(abacus_int x)

Round to positive infinity convert from int to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2(abacus_int2 x)

Convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat(abacus_int2 x)

Saturated convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rte(abacus_int2 x)

Round to even convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtz(abacus_int2 x)

Round to zero convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rte(abacus_int2 x)

Round to even convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtz(abacus_int2 x)

Round to zero convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3(abacus_int3 x)

Convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat(abacus_int3 x)

Saturated convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rte(abacus_int3 x)

Round to even convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtz(abacus_int3 x)

Round to zero convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rte(abacus_int3 x)

Round to even convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtz(abacus_int3 x)

Round to zero convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4(abacus_int4 x)

Convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat(abacus_int4 x)

Saturated convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rte(abacus_int4 x)

Round to even convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtz(abacus_int4 x)

Round to zero convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rte(abacus_int4 x)

Round to even convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtz(abacus_int4 x)

Round to zero convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8(abacus_int8 x)

Convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat(abacus_int8 x)

Saturated convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rte(abacus_int8 x)

Round to even convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtz(abacus_int8 x)

Round to zero convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rte(abacus_int8 x)

Round to even convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtz(abacus_int8 x)

Round to zero convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16(abacus_int16 x)

Convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat(abacus_int16 x)

Saturated convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rte(abacus_int16 x)

Round to even convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtz(abacus_int16 x)

Round to zero convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rte(abacus_int16 x)

Round to even convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtz(abacus_int16 x)

Round to zero convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar(abacus_int x)

Convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat(abacus_int x)

Saturated convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rte(abacus_int x)

Round to even convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtn(abacus_int x)

Round to negative infinity convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtz(abacus_int x)

Round to zero convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtp(abacus_int x)

Round to positive infinity convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rte(abacus_int x)

Round to even convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtn(abacus_int x)

Round to negative infinity convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtz(abacus_int x)

Round to zero convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtp(abacus_int x)

Round to positive infinity convert from int to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2(abacus_int2 x)

Convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat(abacus_int2 x)

Saturated convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rte(abacus_int2 x)

Round to even convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtz(abacus_int2 x)

Round to zero convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rte(abacus_int2 x)

Round to even convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtz(abacus_int2 x)

Round to zero convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3(abacus_int3 x)

Convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat(abacus_int3 x)

Saturated convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rte(abacus_int3 x)

Round to even convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtz(abacus_int3 x)

Round to zero convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rte(abacus_int3 x)

Round to even convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtz(abacus_int3 x)

Round to zero convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4(abacus_int4 x)

Convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat(abacus_int4 x)

Saturated convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rte(abacus_int4 x)

Round to even convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtz(abacus_int4 x)

Round to zero convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rte(abacus_int4 x)

Round to even convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtz(abacus_int4 x)

Round to zero convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8(abacus_int8 x)

Convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat(abacus_int8 x)

Saturated convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rte(abacus_int8 x)

Round to even convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtz(abacus_int8 x)

Round to zero convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rte(abacus_int8 x)

Round to even convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtz(abacus_int8 x)

Round to zero convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16(abacus_int16 x)

Convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat(abacus_int16 x)

Saturated convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rte(abacus_int16 x)

Round to even convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtz(abacus_int16 x)

Round to zero convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rte(abacus_int16 x)

Round to even convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtz(abacus_int16 x)

Round to zero convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort(abacus_int x)

Convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat(abacus_int x)

Saturated convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rte(abacus_int x)

Round to even convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtn(abacus_int x)

Round to negative infinity convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtz(abacus_int x)

Round to zero convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtp(abacus_int x)

Round to positive infinity convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rte(abacus_int x)

Round to even convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtn(abacus_int x)

Round to negative infinity convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtz(abacus_int x)

Round to zero convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtp(abacus_int x)

Round to positive infinity convert from int to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2(abacus_int2 x)

Convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat(abacus_int2 x)

Saturated convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rte(abacus_int2 x)

Round to even convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtz(abacus_int2 x)

Round to zero convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rte(abacus_int2 x)

Round to even convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtz(abacus_int2 x)

Round to zero convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3(abacus_int3 x)

Convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat(abacus_int3 x)

Saturated convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rte(abacus_int3 x)

Round to even convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtz(abacus_int3 x)

Round to zero convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rte(abacus_int3 x)

Round to even convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtz(abacus_int3 x)

Round to zero convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4(abacus_int4 x)

Convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat(abacus_int4 x)

Saturated convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rte(abacus_int4 x)

Round to even convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtz(abacus_int4 x)

Round to zero convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rte(abacus_int4 x)

Round to even convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtz(abacus_int4 x)

Round to zero convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8(abacus_int8 x)

Convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat(abacus_int8 x)

Saturated convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rte(abacus_int8 x)

Round to even convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtz(abacus_int8 x)

Round to zero convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rte(abacus_int8 x)

Round to even convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtz(abacus_int8 x)

Round to zero convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16(abacus_int16 x)

Convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat(abacus_int16 x)

Saturated convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rte(abacus_int16 x)

Round to even convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtz(abacus_int16 x)

Round to zero convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rte(abacus_int16 x)

Round to even convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtz(abacus_int16 x)

Round to zero convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint(abacus_int x)

Convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat(abacus_int x)

Saturated convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rte(abacus_int x)

Round to even convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtn(abacus_int x)

Round to negative infinity convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtz(abacus_int x)

Round to zero convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtp(abacus_int x)

Round to positive infinity convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rte(abacus_int x)

Round to even convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtn(abacus_int x)

Round to negative infinity convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtz(abacus_int x)

Round to zero convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtp(abacus_int x)

Round to positive infinity convert from int to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2(abacus_int2 x)

Convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat(abacus_int2 x)

Saturated convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rte(abacus_int2 x)

Round to even convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtz(abacus_int2 x)

Round to zero convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rte(abacus_int2 x)

Round to even convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtz(abacus_int2 x)

Round to zero convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3(abacus_int3 x)

Convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat(abacus_int3 x)

Saturated convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rte(abacus_int3 x)

Round to even convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtz(abacus_int3 x)

Round to zero convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rte(abacus_int3 x)

Round to even convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtz(abacus_int3 x)

Round to zero convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4(abacus_int4 x)

Convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat(abacus_int4 x)

Saturated convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rte(abacus_int4 x)

Round to even convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtz(abacus_int4 x)

Round to zero convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rte(abacus_int4 x)

Round to even convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtz(abacus_int4 x)

Round to zero convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8(abacus_int8 x)

Convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat(abacus_int8 x)

Saturated convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rte(abacus_int8 x)

Round to even convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtz(abacus_int8 x)

Round to zero convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rte(abacus_int8 x)

Round to even convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtz(abacus_int8 x)

Round to zero convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16(abacus_int16 x)

Convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat(abacus_int16 x)

Saturated convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rte(abacus_int16 x)

Round to even convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtz(abacus_int16 x)

Round to zero convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rte(abacus_int16 x)

Round to even convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtz(abacus_int16 x)

Round to zero convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong(abacus_int x)

Convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat(abacus_int x)

Saturated convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rte(abacus_int x)

Round to even convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtn(abacus_int x)

Round to negative infinity convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtz(abacus_int x)

Round to zero convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtp(abacus_int x)

Round to positive infinity convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rte(abacus_int x)

Round to even convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtn(abacus_int x)

Round to negative infinity convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtz(abacus_int x)

Round to zero convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtp(abacus_int x)

Round to positive infinity convert from int to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2(abacus_int2 x)

Convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat(abacus_int2 x)

Saturated convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rte(abacus_int2 x)

Round to even convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtz(abacus_int2 x)

Round to zero convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rte(abacus_int2 x)

Round to even convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtz(abacus_int2 x)

Round to zero convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3(abacus_int3 x)

Convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat(abacus_int3 x)

Saturated convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rte(abacus_int3 x)

Round to even convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtz(abacus_int3 x)

Round to zero convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rte(abacus_int3 x)

Round to even convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtz(abacus_int3 x)

Round to zero convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4(abacus_int4 x)

Convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat(abacus_int4 x)

Saturated convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rte(abacus_int4 x)

Round to even convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtz(abacus_int4 x)

Round to zero convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rte(abacus_int4 x)

Round to even convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtz(abacus_int4 x)

Round to zero convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8(abacus_int8 x)

Convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat(abacus_int8 x)

Saturated convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rte(abacus_int8 x)

Round to even convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtz(abacus_int8 x)

Round to zero convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rte(abacus_int8 x)

Round to even convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtz(abacus_int8 x)

Round to zero convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16(abacus_int16 x)

Convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat(abacus_int16 x)

Saturated convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rte(abacus_int16 x)

Round to even convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtz(abacus_int16 x)

Round to zero convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rte(abacus_int16 x)

Round to even convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtz(abacus_int16 x)

Round to zero convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong16.

abacus_float ABACUS_EXPORT_API __abacus_convert_float(abacus_int x)

Convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat(abacus_int x)

Saturated convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rte(abacus_int x)

Round to even convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtn(abacus_int x)

Round to negative infinity convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtz(abacus_int x)

Round to zero convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtp(abacus_int x)

Round to positive infinity convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rte(abacus_int x)

Round to even convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtn(abacus_int x)

Round to negative infinity convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtz(abacus_int x)

Round to zero convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtp(abacus_int x)

Round to positive infinity convert from int to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2(abacus_int2 x)

Convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat(abacus_int2 x)

Saturated convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rte(abacus_int2 x)

Round to even convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtz(abacus_int2 x)

Round to zero convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rte(abacus_int2 x)

Round to even convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtn(abacus_int2 x)

Round to negative infinity convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtz(abacus_int2 x)

Round to zero convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtp(abacus_int2 x)

Round to positive infinity convert from int2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3(abacus_int3 x)

Convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat(abacus_int3 x)

Saturated convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rte(abacus_int3 x)

Round to even convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtz(abacus_int3 x)

Round to zero convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rte(abacus_int3 x)

Round to even convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtn(abacus_int3 x)

Round to negative infinity convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtz(abacus_int3 x)

Round to zero convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtp(abacus_int3 x)

Round to positive infinity convert from int3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4(abacus_int4 x)

Convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat(abacus_int4 x)

Saturated convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rte(abacus_int4 x)

Round to even convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtz(abacus_int4 x)

Round to zero convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rte(abacus_int4 x)

Round to even convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtn(abacus_int4 x)

Round to negative infinity convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtz(abacus_int4 x)

Round to zero convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtp(abacus_int4 x)

Round to positive infinity convert from int4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8(abacus_int8 x)

Convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat(abacus_int8 x)

Saturated convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rte(abacus_int8 x)

Round to even convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtz(abacus_int8 x)

Round to zero convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rte(abacus_int8 x)

Round to even convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtn(abacus_int8 x)

Round to negative infinity convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtz(abacus_int8 x)

Round to zero convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtp(abacus_int8 x)

Round to positive infinity convert from int8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16(abacus_int16 x)

Convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat(abacus_int16 x)

Saturated convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rte(abacus_int16 x)

Round to even convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtz(abacus_int16 x)

Round to zero convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rte(abacus_int16 x)

Round to even convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtn(abacus_int16 x)

Round to negative infinity convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtz(abacus_int16 x)

Round to zero convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtp(abacus_int16 x)

Round to positive infinity convert from int16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_char ABACUS_EXPORT_API __abacus_convert_char(abacus_long x)

Convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat(abacus_long x)

Saturated convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rte(abacus_long x)

Round to even convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtn(abacus_long x)

Round to negative infinity convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtz(abacus_long x)

Round to zero convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtp(abacus_long x)

Round to positive infinity convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rte(abacus_long x)

Round to even convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtn(abacus_long x)

Round to negative infinity convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtz(abacus_long x)

Round to zero convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtp(abacus_long x)

Round to positive infinity convert from long to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2(abacus_long2 x)

Convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat(abacus_long2 x)

Saturated convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rte(abacus_long2 x)

Round to even convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtz(abacus_long2 x)

Round to zero convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rte(abacus_long2 x)

Round to even convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtz(abacus_long2 x)

Round to zero convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3(abacus_long3 x)

Convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat(abacus_long3 x)

Saturated convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rte(abacus_long3 x)

Round to even convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtz(abacus_long3 x)

Round to zero convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rte(abacus_long3 x)

Round to even convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtz(abacus_long3 x)

Round to zero convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4(abacus_long4 x)

Convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat(abacus_long4 x)

Saturated convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rte(abacus_long4 x)

Round to even convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtz(abacus_long4 x)

Round to zero convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rte(abacus_long4 x)

Round to even convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtz(abacus_long4 x)

Round to zero convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8(abacus_long8 x)

Convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat(abacus_long8 x)

Saturated convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rte(abacus_long8 x)

Round to even convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtz(abacus_long8 x)

Round to zero convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rte(abacus_long8 x)

Round to even convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtz(abacus_long8 x)

Round to zero convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16(abacus_long16 x)

Convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat(abacus_long16 x)

Saturated convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rte(abacus_long16 x)

Round to even convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtz(abacus_long16 x)

Round to zero convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rte(abacus_long16 x)

Round to even convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtz(abacus_long16 x)

Round to zero convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_convert_short(abacus_long x)

Convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat(abacus_long x)

Saturated convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rte(abacus_long x)

Round to even convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtn(abacus_long x)

Round to negative infinity convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtz(abacus_long x)

Round to zero convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtp(abacus_long x)

Round to positive infinity convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rte(abacus_long x)

Round to even convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtn(abacus_long x)

Round to negative infinity convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtz(abacus_long x)

Round to zero convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtp(abacus_long x)

Round to positive infinity convert from long to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2(abacus_long2 x)

Convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat(abacus_long2 x)

Saturated convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rte(abacus_long2 x)

Round to even convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtz(abacus_long2 x)

Round to zero convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rte(abacus_long2 x)

Round to even convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtz(abacus_long2 x)

Round to zero convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3(abacus_long3 x)

Convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat(abacus_long3 x)

Saturated convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rte(abacus_long3 x)

Round to even convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtz(abacus_long3 x)

Round to zero convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rte(abacus_long3 x)

Round to even convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtz(abacus_long3 x)

Round to zero convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4(abacus_long4 x)

Convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat(abacus_long4 x)

Saturated convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rte(abacus_long4 x)

Round to even convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtz(abacus_long4 x)

Round to zero convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rte(abacus_long4 x)

Round to even convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtz(abacus_long4 x)

Round to zero convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8(abacus_long8 x)

Convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat(abacus_long8 x)

Saturated convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rte(abacus_long8 x)

Round to even convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtz(abacus_long8 x)

Round to zero convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rte(abacus_long8 x)

Round to even convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtz(abacus_long8 x)

Round to zero convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16(abacus_long16 x)

Convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat(abacus_long16 x)

Saturated convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rte(abacus_long16 x)

Round to even convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtz(abacus_long16 x)

Round to zero convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rte(abacus_long16 x)

Round to even convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtz(abacus_long16 x)

Round to zero convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_convert_int(abacus_long x)

Convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat(abacus_long x)

Saturated convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rte(abacus_long x)

Round to even convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtn(abacus_long x)

Round to negative infinity convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtz(abacus_long x)

Round to zero convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtp(abacus_long x)

Round to positive infinity convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rte(abacus_long x)

Round to even convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtn(abacus_long x)

Round to negative infinity convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtz(abacus_long x)

Round to zero convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtp(abacus_long x)

Round to positive infinity convert from long to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2(abacus_long2 x)

Convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat(abacus_long2 x)

Saturated convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rte(abacus_long2 x)

Round to even convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtz(abacus_long2 x)

Round to zero convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rte(abacus_long2 x)

Round to even convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtz(abacus_long2 x)

Round to zero convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3(abacus_long3 x)

Convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat(abacus_long3 x)

Saturated convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rte(abacus_long3 x)

Round to even convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtz(abacus_long3 x)

Round to zero convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rte(abacus_long3 x)

Round to even convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtz(abacus_long3 x)

Round to zero convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4(abacus_long4 x)

Convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat(abacus_long4 x)

Saturated convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rte(abacus_long4 x)

Round to even convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtz(abacus_long4 x)

Round to zero convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rte(abacus_long4 x)

Round to even convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtz(abacus_long4 x)

Round to zero convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8(abacus_long8 x)

Convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat(abacus_long8 x)

Saturated convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rte(abacus_long8 x)

Round to even convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtz(abacus_long8 x)

Round to zero convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rte(abacus_long8 x)

Round to even convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtz(abacus_long8 x)

Round to zero convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16(abacus_long16 x)

Convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat(abacus_long16 x)

Saturated convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rte(abacus_long16 x)

Round to even convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtz(abacus_long16 x)

Round to zero convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rte(abacus_long16 x)

Round to even convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtz(abacus_long16 x)

Round to zero convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_convert_long(abacus_long x)

Convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat(abacus_long x)

Saturated convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rte(abacus_long x)

Round to even convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtn(abacus_long x)

Round to negative infinity convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtz(abacus_long x)

Round to zero convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtp(abacus_long x)

Round to positive infinity convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rte(abacus_long x)

Round to even convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtn(abacus_long x)

Round to negative infinity convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtz(abacus_long x)

Round to zero convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtp(abacus_long x)

Round to positive infinity convert from long to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2(abacus_long2 x)

Convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat(abacus_long2 x)

Saturated convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rte(abacus_long2 x)

Round to even convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtz(abacus_long2 x)

Round to zero convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rte(abacus_long2 x)

Round to even convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtz(abacus_long2 x)

Round to zero convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3(abacus_long3 x)

Convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat(abacus_long3 x)

Saturated convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rte(abacus_long3 x)

Round to even convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtz(abacus_long3 x)

Round to zero convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rte(abacus_long3 x)

Round to even convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtz(abacus_long3 x)

Round to zero convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4(abacus_long4 x)

Convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat(abacus_long4 x)

Saturated convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rte(abacus_long4 x)

Round to even convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtz(abacus_long4 x)

Round to zero convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rte(abacus_long4 x)

Round to even convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtz(abacus_long4 x)

Round to zero convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8(abacus_long8 x)

Convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat(abacus_long8 x)

Saturated convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rte(abacus_long8 x)

Round to even convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtz(abacus_long8 x)

Round to zero convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rte(abacus_long8 x)

Round to even convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtz(abacus_long8 x)

Round to zero convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16(abacus_long16 x)

Convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat(abacus_long16 x)

Saturated convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rte(abacus_long16 x)

Round to even convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtz(abacus_long16 x)

Round to zero convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rte(abacus_long16 x)

Round to even convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtz(abacus_long16 x)

Round to zero convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar(abacus_long x)

Convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat(abacus_long x)

Saturated convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rte(abacus_long x)

Round to even convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtn(abacus_long x)

Round to negative infinity convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtz(abacus_long x)

Round to zero convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtp(abacus_long x)

Round to positive infinity convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rte(abacus_long x)

Round to even convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtn(abacus_long x)

Round to negative infinity convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtz(abacus_long x)

Round to zero convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtp(abacus_long x)

Round to positive infinity convert from long to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2(abacus_long2 x)

Convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat(abacus_long2 x)

Saturated convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rte(abacus_long2 x)

Round to even convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtz(abacus_long2 x)

Round to zero convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rte(abacus_long2 x)

Round to even convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtz(abacus_long2 x)

Round to zero convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3(abacus_long3 x)

Convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat(abacus_long3 x)

Saturated convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rte(abacus_long3 x)

Round to even convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtz(abacus_long3 x)

Round to zero convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rte(abacus_long3 x)

Round to even convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtz(abacus_long3 x)

Round to zero convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4(abacus_long4 x)

Convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat(abacus_long4 x)

Saturated convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rte(abacus_long4 x)

Round to even convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtz(abacus_long4 x)

Round to zero convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rte(abacus_long4 x)

Round to even convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtz(abacus_long4 x)

Round to zero convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8(abacus_long8 x)

Convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat(abacus_long8 x)

Saturated convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rte(abacus_long8 x)

Round to even convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtz(abacus_long8 x)

Round to zero convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rte(abacus_long8 x)

Round to even convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtz(abacus_long8 x)

Round to zero convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16(abacus_long16 x)

Convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat(abacus_long16 x)

Saturated convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rte(abacus_long16 x)

Round to even convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtz(abacus_long16 x)

Round to zero convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rte(abacus_long16 x)

Round to even convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtz(abacus_long16 x)

Round to zero convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort(abacus_long x)

Convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat(abacus_long x)

Saturated convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rte(abacus_long x)

Round to even convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtn(abacus_long x)

Round to negative infinity convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtz(abacus_long x)

Round to zero convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtp(abacus_long x)

Round to positive infinity convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rte(abacus_long x)

Round to even convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtn(abacus_long x)

Round to negative infinity convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtz(abacus_long x)

Round to zero convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtp(abacus_long x)

Round to positive infinity convert from long to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2(abacus_long2 x)

Convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat(abacus_long2 x)

Saturated convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rte(abacus_long2 x)

Round to even convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtz(abacus_long2 x)

Round to zero convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rte(abacus_long2 x)

Round to even convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtz(abacus_long2 x)

Round to zero convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3(abacus_long3 x)

Convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat(abacus_long3 x)

Saturated convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rte(abacus_long3 x)

Round to even convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtz(abacus_long3 x)

Round to zero convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rte(abacus_long3 x)

Round to even convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtz(abacus_long3 x)

Round to zero convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4(abacus_long4 x)

Convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat(abacus_long4 x)

Saturated convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rte(abacus_long4 x)

Round to even convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtz(abacus_long4 x)

Round to zero convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rte(abacus_long4 x)

Round to even convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtz(abacus_long4 x)

Round to zero convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8(abacus_long8 x)

Convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat(abacus_long8 x)

Saturated convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rte(abacus_long8 x)

Round to even convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtz(abacus_long8 x)

Round to zero convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rte(abacus_long8 x)

Round to even convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtz(abacus_long8 x)

Round to zero convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16(abacus_long16 x)

Convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat(abacus_long16 x)

Saturated convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rte(abacus_long16 x)

Round to even convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtz(abacus_long16 x)

Round to zero convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rte(abacus_long16 x)

Round to even convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtz(abacus_long16 x)

Round to zero convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint(abacus_long x)

Convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat(abacus_long x)

Saturated convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rte(abacus_long x)

Round to even convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtn(abacus_long x)

Round to negative infinity convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtz(abacus_long x)

Round to zero convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtp(abacus_long x)

Round to positive infinity convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rte(abacus_long x)

Round to even convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtn(abacus_long x)

Round to negative infinity convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtz(abacus_long x)

Round to zero convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtp(abacus_long x)

Round to positive infinity convert from long to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2(abacus_long2 x)

Convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat(abacus_long2 x)

Saturated convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rte(abacus_long2 x)

Round to even convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtz(abacus_long2 x)

Round to zero convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rte(abacus_long2 x)

Round to even convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtz(abacus_long2 x)

Round to zero convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3(abacus_long3 x)

Convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat(abacus_long3 x)

Saturated convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rte(abacus_long3 x)

Round to even convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtz(abacus_long3 x)

Round to zero convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rte(abacus_long3 x)

Round to even convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtz(abacus_long3 x)

Round to zero convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4(abacus_long4 x)

Convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat(abacus_long4 x)

Saturated convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rte(abacus_long4 x)

Round to even convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtz(abacus_long4 x)

Round to zero convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rte(abacus_long4 x)

Round to even convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtz(abacus_long4 x)

Round to zero convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8(abacus_long8 x)

Convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat(abacus_long8 x)

Saturated convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rte(abacus_long8 x)

Round to even convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtz(abacus_long8 x)

Round to zero convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rte(abacus_long8 x)

Round to even convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtz(abacus_long8 x)

Round to zero convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16(abacus_long16 x)

Convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat(abacus_long16 x)

Saturated convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rte(abacus_long16 x)

Round to even convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtz(abacus_long16 x)

Round to zero convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rte(abacus_long16 x)

Round to even convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtz(abacus_long16 x)

Round to zero convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong(abacus_long x)

Convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat(abacus_long x)

Saturated convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rte(abacus_long x)

Round to even convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtn(abacus_long x)

Round to negative infinity convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtz(abacus_long x)

Round to zero convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtp(abacus_long x)

Round to positive infinity convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rte(abacus_long x)

Round to even convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtn(abacus_long x)

Round to negative infinity convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtz(abacus_long x)

Round to zero convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtp(abacus_long x)

Round to positive infinity convert from long to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2(abacus_long2 x)

Convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat(abacus_long2 x)

Saturated convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rte(abacus_long2 x)

Round to even convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtz(abacus_long2 x)

Round to zero convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rte(abacus_long2 x)

Round to even convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtz(abacus_long2 x)

Round to zero convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3(abacus_long3 x)

Convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat(abacus_long3 x)

Saturated convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rte(abacus_long3 x)

Round to even convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtz(abacus_long3 x)

Round to zero convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rte(abacus_long3 x)

Round to even convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtz(abacus_long3 x)

Round to zero convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4(abacus_long4 x)

Convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat(abacus_long4 x)

Saturated convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rte(abacus_long4 x)

Round to even convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtz(abacus_long4 x)

Round to zero convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rte(abacus_long4 x)

Round to even convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtz(abacus_long4 x)

Round to zero convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8(abacus_long8 x)

Convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat(abacus_long8 x)

Saturated convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rte(abacus_long8 x)

Round to even convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtz(abacus_long8 x)

Round to zero convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rte(abacus_long8 x)

Round to even convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtz(abacus_long8 x)

Round to zero convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16(abacus_long16 x)

Convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat(abacus_long16 x)

Saturated convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rte(abacus_long16 x)

Round to even convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtz(abacus_long16 x)

Round to zero convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rte(abacus_long16 x)

Round to even convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtz(abacus_long16 x)

Round to zero convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_float ABACUS_EXPORT_API __abacus_convert_float(abacus_long x)

Convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat(abacus_long x)

Saturated convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rte(abacus_long x)

Round to even convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtn(abacus_long x)

Round to negative infinity convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtz(abacus_long x)

Round to zero convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtp(abacus_long x)

Round to positive infinity convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rte(abacus_long x)

Round to even convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtn(abacus_long x)

Round to negative infinity convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtz(abacus_long x)

Round to zero convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtp(abacus_long x)

Round to positive infinity convert from long to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2(abacus_long2 x)

Convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat(abacus_long2 x)

Saturated convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rte(abacus_long2 x)

Round to even convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtz(abacus_long2 x)

Round to zero convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rte(abacus_long2 x)

Round to even convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtn(abacus_long2 x)

Round to negative infinity convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtz(abacus_long2 x)

Round to zero convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtp(abacus_long2 x)

Round to positive infinity convert from long2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3(abacus_long3 x)

Convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat(abacus_long3 x)

Saturated convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rte(abacus_long3 x)

Round to even convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtz(abacus_long3 x)

Round to zero convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rte(abacus_long3 x)

Round to even convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtn(abacus_long3 x)

Round to negative infinity convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtz(abacus_long3 x)

Round to zero convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtp(abacus_long3 x)

Round to positive infinity convert from long3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4(abacus_long4 x)

Convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat(abacus_long4 x)

Saturated convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rte(abacus_long4 x)

Round to even convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtz(abacus_long4 x)

Round to zero convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rte(abacus_long4 x)

Round to even convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtn(abacus_long4 x)

Round to negative infinity convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtz(abacus_long4 x)

Round to zero convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtp(abacus_long4 x)

Round to positive infinity convert from long4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8(abacus_long8 x)

Convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat(abacus_long8 x)

Saturated convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rte(abacus_long8 x)

Round to even convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtz(abacus_long8 x)

Round to zero convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rte(abacus_long8 x)

Round to even convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtn(abacus_long8 x)

Round to negative infinity convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtz(abacus_long8 x)

Round to zero convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtp(abacus_long8 x)

Round to positive infinity convert from long8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16(abacus_long16 x)

Convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat(abacus_long16 x)

Saturated convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rte(abacus_long16 x)

Round to even convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtz(abacus_long16 x)

Round to zero convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rte(abacus_long16 x)

Round to even convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtn(abacus_long16 x)

Round to negative infinity convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtz(abacus_long16 x)

Round to zero convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtp(abacus_long16 x)

Round to positive infinity convert from long16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_float16.

abacus_char ABACUS_EXPORT_API __abacus_convert_char(abacus_uchar x)

Convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat(abacus_uchar x)

Saturated convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rte(abacus_uchar x)

Round to even convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtz(abacus_uchar x)

Round to zero convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rte(abacus_uchar x)

Round to even convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtz(abacus_uchar x)

Round to zero convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2(abacus_uchar2 x)

Convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat(abacus_uchar2 x)

Saturated convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rte(abacus_uchar2 x)

Round to even convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rte(abacus_uchar2 x)

Round to even convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3(abacus_uchar3 x)

Convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat(abacus_uchar3 x)

Saturated convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rte(abacus_uchar3 x)

Round to even convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rte(abacus_uchar3 x)

Round to even convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4(abacus_uchar4 x)

Convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat(abacus_uchar4 x)

Saturated convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rte(abacus_uchar4 x)

Round to even convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rte(abacus_uchar4 x)

Round to even convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8(abacus_uchar8 x)

Convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat(abacus_uchar8 x)

Saturated convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rte(abacus_uchar8 x)

Round to even convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rte(abacus_uchar8 x)

Round to even convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16(abacus_uchar16 x)

Convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat(abacus_uchar16 x)

Saturated convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rte(abacus_uchar16 x)

Round to even convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rte(abacus_uchar16 x)

Round to even convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_convert_short(abacus_uchar x)

Convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat(abacus_uchar x)

Saturated convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rte(abacus_uchar x)

Round to even convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtz(abacus_uchar x)

Round to zero convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rte(abacus_uchar x)

Round to even convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtz(abacus_uchar x)

Round to zero convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2(abacus_uchar2 x)

Convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat(abacus_uchar2 x)

Saturated convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rte(abacus_uchar2 x)

Round to even convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rte(abacus_uchar2 x)

Round to even convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3(abacus_uchar3 x)

Convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat(abacus_uchar3 x)

Saturated convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rte(abacus_uchar3 x)

Round to even convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rte(abacus_uchar3 x)

Round to even convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4(abacus_uchar4 x)

Convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat(abacus_uchar4 x)

Saturated convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rte(abacus_uchar4 x)

Round to even convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rte(abacus_uchar4 x)

Round to even convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8(abacus_uchar8 x)

Convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat(abacus_uchar8 x)

Saturated convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rte(abacus_uchar8 x)

Round to even convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rte(abacus_uchar8 x)

Round to even convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16(abacus_uchar16 x)

Convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat(abacus_uchar16 x)

Saturated convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rte(abacus_uchar16 x)

Round to even convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rte(abacus_uchar16 x)

Round to even convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_convert_int(abacus_uchar x)

Convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat(abacus_uchar x)

Saturated convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rte(abacus_uchar x)

Round to even convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtz(abacus_uchar x)

Round to zero convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rte(abacus_uchar x)

Round to even convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtz(abacus_uchar x)

Round to zero convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2(abacus_uchar2 x)

Convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat(abacus_uchar2 x)

Saturated convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rte(abacus_uchar2 x)

Round to even convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rte(abacus_uchar2 x)

Round to even convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3(abacus_uchar3 x)

Convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat(abacus_uchar3 x)

Saturated convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rte(abacus_uchar3 x)

Round to even convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rte(abacus_uchar3 x)

Round to even convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4(abacus_uchar4 x)

Convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat(abacus_uchar4 x)

Saturated convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rte(abacus_uchar4 x)

Round to even convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rte(abacus_uchar4 x)

Round to even convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8(abacus_uchar8 x)

Convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat(abacus_uchar8 x)

Saturated convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rte(abacus_uchar8 x)

Round to even convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rte(abacus_uchar8 x)

Round to even convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16(abacus_uchar16 x)

Convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat(abacus_uchar16 x)

Saturated convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rte(abacus_uchar16 x)

Round to even convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rte(abacus_uchar16 x)

Round to even convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_convert_long(abacus_uchar x)

Convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat(abacus_uchar x)

Saturated convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rte(abacus_uchar x)

Round to even convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtz(abacus_uchar x)

Round to zero convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rte(abacus_uchar x)

Round to even convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtz(abacus_uchar x)

Round to zero convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2(abacus_uchar2 x)

Convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat(abacus_uchar2 x)

Saturated convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rte(abacus_uchar2 x)

Round to even convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rte(abacus_uchar2 x)

Round to even convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3(abacus_uchar3 x)

Convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat(abacus_uchar3 x)

Saturated convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rte(abacus_uchar3 x)

Round to even convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rte(abacus_uchar3 x)

Round to even convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4(abacus_uchar4 x)

Convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat(abacus_uchar4 x)

Saturated convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rte(abacus_uchar4 x)

Round to even convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rte(abacus_uchar4 x)

Round to even convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8(abacus_uchar8 x)

Convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat(abacus_uchar8 x)

Saturated convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rte(abacus_uchar8 x)

Round to even convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rte(abacus_uchar8 x)

Round to even convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16(abacus_uchar16 x)

Convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat(abacus_uchar16 x)

Saturated convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rte(abacus_uchar16 x)

Round to even convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rte(abacus_uchar16 x)

Round to even convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar(abacus_uchar x)

Convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat(abacus_uchar x)

Saturated convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rte(abacus_uchar x)

Round to even convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtz(abacus_uchar x)

Round to zero convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rte(abacus_uchar x)

Round to even convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtz(abacus_uchar x)

Round to zero convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2(abacus_uchar2 x)

Convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat(abacus_uchar2 x)

Saturated convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rte(abacus_uchar2 x)

Round to even convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rte(abacus_uchar2 x)

Round to even convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3(abacus_uchar3 x)

Convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat(abacus_uchar3 x)

Saturated convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rte(abacus_uchar3 x)

Round to even convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rte(abacus_uchar3 x)

Round to even convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4(abacus_uchar4 x)

Convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat(abacus_uchar4 x)

Saturated convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rte(abacus_uchar4 x)

Round to even convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rte(abacus_uchar4 x)

Round to even convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8(abacus_uchar8 x)

Convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat(abacus_uchar8 x)

Saturated convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rte(abacus_uchar8 x)

Round to even convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rte(abacus_uchar8 x)

Round to even convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16(abacus_uchar16 x)

Convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat(abacus_uchar16 x)

Saturated convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rte(abacus_uchar16 x)

Round to even convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rte(abacus_uchar16 x)

Round to even convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort(abacus_uchar x)

Convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat(abacus_uchar x)

Saturated convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rte(abacus_uchar x)

Round to even convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtz(abacus_uchar x)

Round to zero convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rte(abacus_uchar x)

Round to even convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtz(abacus_uchar x)

Round to zero convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2(abacus_uchar2 x)

Convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat(abacus_uchar2 x)

Saturated convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rte(abacus_uchar2 x)

Round to even convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rte(abacus_uchar2 x)

Round to even convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3(abacus_uchar3 x)

Convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat(abacus_uchar3 x)

Saturated convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rte(abacus_uchar3 x)

Round to even convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rte(abacus_uchar3 x)

Round to even convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4(abacus_uchar4 x)

Convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat(abacus_uchar4 x)

Saturated convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rte(abacus_uchar4 x)

Round to even convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rte(abacus_uchar4 x)

Round to even convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8(abacus_uchar8 x)

Convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat(abacus_uchar8 x)

Saturated convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rte(abacus_uchar8 x)

Round to even convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rte(abacus_uchar8 x)

Round to even convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16(abacus_uchar16 x)

Convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat(abacus_uchar16 x)

Saturated convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rte(abacus_uchar16 x)

Round to even convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rte(abacus_uchar16 x)

Round to even convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint(abacus_uchar x)

Convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat(abacus_uchar x)

Saturated convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rte(abacus_uchar x)

Round to even convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtz(abacus_uchar x)

Round to zero convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rte(abacus_uchar x)

Round to even convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtz(abacus_uchar x)

Round to zero convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2(abacus_uchar2 x)

Convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat(abacus_uchar2 x)

Saturated convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rte(abacus_uchar2 x)

Round to even convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rte(abacus_uchar2 x)

Round to even convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3(abacus_uchar3 x)

Convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat(abacus_uchar3 x)

Saturated convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rte(abacus_uchar3 x)

Round to even convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rte(abacus_uchar3 x)

Round to even convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4(abacus_uchar4 x)

Convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat(abacus_uchar4 x)

Saturated convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rte(abacus_uchar4 x)

Round to even convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rte(abacus_uchar4 x)

Round to even convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8(abacus_uchar8 x)

Convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat(abacus_uchar8 x)

Saturated convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rte(abacus_uchar8 x)

Round to even convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rte(abacus_uchar8 x)

Round to even convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16(abacus_uchar16 x)

Convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat(abacus_uchar16 x)

Saturated convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rte(abacus_uchar16 x)

Round to even convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rte(abacus_uchar16 x)

Round to even convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong(abacus_uchar x)

Convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat(abacus_uchar x)

Saturated convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rte(abacus_uchar x)

Round to even convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtz(abacus_uchar x)

Round to zero convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rte(abacus_uchar x)

Round to even convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtz(abacus_uchar x)

Round to zero convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2(abacus_uchar2 x)

Convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat(abacus_uchar2 x)

Saturated convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rte(abacus_uchar2 x)

Round to even convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rte(abacus_uchar2 x)

Round to even convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3(abacus_uchar3 x)

Convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat(abacus_uchar3 x)

Saturated convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rte(abacus_uchar3 x)

Round to even convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rte(abacus_uchar3 x)

Round to even convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4(abacus_uchar4 x)

Convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat(abacus_uchar4 x)

Saturated convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rte(abacus_uchar4 x)

Round to even convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rte(abacus_uchar4 x)

Round to even convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8(abacus_uchar8 x)

Convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat(abacus_uchar8 x)

Saturated convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rte(abacus_uchar8 x)

Round to even convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rte(abacus_uchar8 x)

Round to even convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16(abacus_uchar16 x)

Convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat(abacus_uchar16 x)

Saturated convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rte(abacus_uchar16 x)

Round to even convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rte(abacus_uchar16 x)

Round to even convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong16.

abacus_float ABACUS_EXPORT_API __abacus_convert_float(abacus_uchar x)

Convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat(abacus_uchar x)

Saturated convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rte(abacus_uchar x)

Round to even convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtz(abacus_uchar x)

Round to zero convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rte(abacus_uchar x)

Round to even convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtn(abacus_uchar x)

Round to negative infinity convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtz(abacus_uchar x)

Round to zero convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtp(abacus_uchar x)

Round to positive infinity convert from uchar to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2(abacus_uchar2 x)

Convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat(abacus_uchar2 x)

Saturated convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rte(abacus_uchar2 x)

Round to even convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rte(abacus_uchar2 x)

Round to even convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtn(abacus_uchar2 x)

Round to negative infinity convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtz(abacus_uchar2 x)

Round to zero convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtp(abacus_uchar2 x)

Round to positive infinity convert from uchar2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3(abacus_uchar3 x)

Convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat(abacus_uchar3 x)

Saturated convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rte(abacus_uchar3 x)

Round to even convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rte(abacus_uchar3 x)

Round to even convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtn(abacus_uchar3 x)

Round to negative infinity convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtz(abacus_uchar3 x)

Round to zero convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtp(abacus_uchar3 x)

Round to positive infinity convert from uchar3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4(abacus_uchar4 x)

Convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat(abacus_uchar4 x)

Saturated convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rte(abacus_uchar4 x)

Round to even convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rte(abacus_uchar4 x)

Round to even convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtn(abacus_uchar4 x)

Round to negative infinity convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtz(abacus_uchar4 x)

Round to zero convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtp(abacus_uchar4 x)

Round to positive infinity convert from uchar4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8(abacus_uchar8 x)

Convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat(abacus_uchar8 x)

Saturated convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rte(abacus_uchar8 x)

Round to even convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rte(abacus_uchar8 x)

Round to even convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtn(abacus_uchar8 x)

Round to negative infinity convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtz(abacus_uchar8 x)

Round to zero convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtp(abacus_uchar8 x)

Round to positive infinity convert from uchar8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16(abacus_uchar16 x)

Convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat(abacus_uchar16 x)

Saturated convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rte(abacus_uchar16 x)

Round to even convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rte(abacus_uchar16 x)

Round to even convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtn(abacus_uchar16 x)

Round to negative infinity convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtz(abacus_uchar16 x)

Round to zero convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtp(abacus_uchar16 x)

Round to positive infinity convert from uchar16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float16.

abacus_char ABACUS_EXPORT_API __abacus_convert_char(abacus_ushort x)

Convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat(abacus_ushort x)

Saturated convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rte(abacus_ushort x)

Round to even convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtz(abacus_ushort x)

Round to zero convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rte(abacus_ushort x)

Round to even convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtz(abacus_ushort x)

Round to zero convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2(abacus_ushort2 x)

Convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat(abacus_ushort2 x)

Saturated convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rte(abacus_ushort2 x)

Round to even convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rte(abacus_ushort2 x)

Round to even convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3(abacus_ushort3 x)

Convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat(abacus_ushort3 x)

Saturated convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rte(abacus_ushort3 x)

Round to even convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rte(abacus_ushort3 x)

Round to even convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4(abacus_ushort4 x)

Convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat(abacus_ushort4 x)

Saturated convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rte(abacus_ushort4 x)

Round to even convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rte(abacus_ushort4 x)

Round to even convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8(abacus_ushort8 x)

Convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat(abacus_ushort8 x)

Saturated convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rte(abacus_ushort8 x)

Round to even convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rte(abacus_ushort8 x)

Round to even convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16(abacus_ushort16 x)

Convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat(abacus_ushort16 x)

Saturated convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rte(abacus_ushort16 x)

Round to even convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rte(abacus_ushort16 x)

Round to even convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_convert_short(abacus_ushort x)

Convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat(abacus_ushort x)

Saturated convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rte(abacus_ushort x)

Round to even convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtz(abacus_ushort x)

Round to zero convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rte(abacus_ushort x)

Round to even convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtz(abacus_ushort x)

Round to zero convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2(abacus_ushort2 x)

Convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat(abacus_ushort2 x)

Saturated convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rte(abacus_ushort2 x)

Round to even convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rte(abacus_ushort2 x)

Round to even convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3(abacus_ushort3 x)

Convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat(abacus_ushort3 x)

Saturated convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rte(abacus_ushort3 x)

Round to even convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rte(abacus_ushort3 x)

Round to even convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4(abacus_ushort4 x)

Convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat(abacus_ushort4 x)

Saturated convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rte(abacus_ushort4 x)

Round to even convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rte(abacus_ushort4 x)

Round to even convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8(abacus_ushort8 x)

Convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat(abacus_ushort8 x)

Saturated convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rte(abacus_ushort8 x)

Round to even convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rte(abacus_ushort8 x)

Round to even convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16(abacus_ushort16 x)

Convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat(abacus_ushort16 x)

Saturated convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rte(abacus_ushort16 x)

Round to even convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rte(abacus_ushort16 x)

Round to even convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_convert_int(abacus_ushort x)

Convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat(abacus_ushort x)

Saturated convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rte(abacus_ushort x)

Round to even convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtz(abacus_ushort x)

Round to zero convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rte(abacus_ushort x)

Round to even convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtz(abacus_ushort x)

Round to zero convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2(abacus_ushort2 x)

Convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat(abacus_ushort2 x)

Saturated convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rte(abacus_ushort2 x)

Round to even convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rte(abacus_ushort2 x)

Round to even convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3(abacus_ushort3 x)

Convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat(abacus_ushort3 x)

Saturated convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rte(abacus_ushort3 x)

Round to even convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rte(abacus_ushort3 x)

Round to even convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4(abacus_ushort4 x)

Convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat(abacus_ushort4 x)

Saturated convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rte(abacus_ushort4 x)

Round to even convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rte(abacus_ushort4 x)

Round to even convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8(abacus_ushort8 x)

Convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat(abacus_ushort8 x)

Saturated convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rte(abacus_ushort8 x)

Round to even convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rte(abacus_ushort8 x)

Round to even convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16(abacus_ushort16 x)

Convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat(abacus_ushort16 x)

Saturated convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rte(abacus_ushort16 x)

Round to even convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rte(abacus_ushort16 x)

Round to even convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_convert_long(abacus_ushort x)

Convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat(abacus_ushort x)

Saturated convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rte(abacus_ushort x)

Round to even convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtz(abacus_ushort x)

Round to zero convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rte(abacus_ushort x)

Round to even convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtz(abacus_ushort x)

Round to zero convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2(abacus_ushort2 x)

Convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat(abacus_ushort2 x)

Saturated convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rte(abacus_ushort2 x)

Round to even convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rte(abacus_ushort2 x)

Round to even convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3(abacus_ushort3 x)

Convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat(abacus_ushort3 x)

Saturated convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rte(abacus_ushort3 x)

Round to even convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rte(abacus_ushort3 x)

Round to even convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4(abacus_ushort4 x)

Convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat(abacus_ushort4 x)

Saturated convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rte(abacus_ushort4 x)

Round to even convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rte(abacus_ushort4 x)

Round to even convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8(abacus_ushort8 x)

Convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat(abacus_ushort8 x)

Saturated convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rte(abacus_ushort8 x)

Round to even convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rte(abacus_ushort8 x)

Round to even convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16(abacus_ushort16 x)

Convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat(abacus_ushort16 x)

Saturated convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rte(abacus_ushort16 x)

Round to even convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rte(abacus_ushort16 x)

Round to even convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar(abacus_ushort x)

Convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat(abacus_ushort x)

Saturated convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rte(abacus_ushort x)

Round to even convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtz(abacus_ushort x)

Round to zero convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rte(abacus_ushort x)

Round to even convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtz(abacus_ushort x)

Round to zero convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2(abacus_ushort2 x)

Convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat(abacus_ushort2 x)

Saturated convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rte(abacus_ushort2 x)

Round to even convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rte(abacus_ushort2 x)

Round to even convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3(abacus_ushort3 x)

Convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat(abacus_ushort3 x)

Saturated convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rte(abacus_ushort3 x)

Round to even convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rte(abacus_ushort3 x)

Round to even convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4(abacus_ushort4 x)

Convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat(abacus_ushort4 x)

Saturated convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rte(abacus_ushort4 x)

Round to even convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rte(abacus_ushort4 x)

Round to even convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8(abacus_ushort8 x)

Convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat(abacus_ushort8 x)

Saturated convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rte(abacus_ushort8 x)

Round to even convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rte(abacus_ushort8 x)

Round to even convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16(abacus_ushort16 x)

Convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat(abacus_ushort16 x)

Saturated convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rte(abacus_ushort16 x)

Round to even convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rte(abacus_ushort16 x)

Round to even convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort(abacus_ushort x)

Convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat(abacus_ushort x)

Saturated convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rte(abacus_ushort x)

Round to even convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtz(abacus_ushort x)

Round to zero convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rte(abacus_ushort x)

Round to even convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtz(abacus_ushort x)

Round to zero convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2(abacus_ushort2 x)

Convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat(abacus_ushort2 x)

Saturated convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rte(abacus_ushort2 x)

Round to even convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rte(abacus_ushort2 x)

Round to even convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3(abacus_ushort3 x)

Convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat(abacus_ushort3 x)

Saturated convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rte(abacus_ushort3 x)

Round to even convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rte(abacus_ushort3 x)

Round to even convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4(abacus_ushort4 x)

Convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat(abacus_ushort4 x)

Saturated convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rte(abacus_ushort4 x)

Round to even convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rte(abacus_ushort4 x)

Round to even convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8(abacus_ushort8 x)

Convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat(abacus_ushort8 x)

Saturated convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rte(abacus_ushort8 x)

Round to even convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rte(abacus_ushort8 x)

Round to even convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16(abacus_ushort16 x)

Convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat(abacus_ushort16 x)

Saturated convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rte(abacus_ushort16 x)

Round to even convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rte(abacus_ushort16 x)

Round to even convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint(abacus_ushort x)

Convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat(abacus_ushort x)

Saturated convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rte(abacus_ushort x)

Round to even convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtz(abacus_ushort x)

Round to zero convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rte(abacus_ushort x)

Round to even convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtz(abacus_ushort x)

Round to zero convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2(abacus_ushort2 x)

Convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat(abacus_ushort2 x)

Saturated convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rte(abacus_ushort2 x)

Round to even convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rte(abacus_ushort2 x)

Round to even convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3(abacus_ushort3 x)

Convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat(abacus_ushort3 x)

Saturated convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rte(abacus_ushort3 x)

Round to even convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rte(abacus_ushort3 x)

Round to even convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4(abacus_ushort4 x)

Convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat(abacus_ushort4 x)

Saturated convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rte(abacus_ushort4 x)

Round to even convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rte(abacus_ushort4 x)

Round to even convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8(abacus_ushort8 x)

Convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat(abacus_ushort8 x)

Saturated convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rte(abacus_ushort8 x)

Round to even convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rte(abacus_ushort8 x)

Round to even convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16(abacus_ushort16 x)

Convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat(abacus_ushort16 x)

Saturated convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rte(abacus_ushort16 x)

Round to even convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rte(abacus_ushort16 x)

Round to even convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong(abacus_ushort x)

Convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat(abacus_ushort x)

Saturated convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rte(abacus_ushort x)

Round to even convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtz(abacus_ushort x)

Round to zero convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rte(abacus_ushort x)

Round to even convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtz(abacus_ushort x)

Round to zero convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2(abacus_ushort2 x)

Convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat(abacus_ushort2 x)

Saturated convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rte(abacus_ushort2 x)

Round to even convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rte(abacus_ushort2 x)

Round to even convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3(abacus_ushort3 x)

Convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat(abacus_ushort3 x)

Saturated convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rte(abacus_ushort3 x)

Round to even convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rte(abacus_ushort3 x)

Round to even convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4(abacus_ushort4 x)

Convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat(abacus_ushort4 x)

Saturated convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rte(abacus_ushort4 x)

Round to even convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rte(abacus_ushort4 x)

Round to even convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8(abacus_ushort8 x)

Convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat(abacus_ushort8 x)

Saturated convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rte(abacus_ushort8 x)

Round to even convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rte(abacus_ushort8 x)

Round to even convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16(abacus_ushort16 x)

Convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat(abacus_ushort16 x)

Saturated convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rte(abacus_ushort16 x)

Round to even convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rte(abacus_ushort16 x)

Round to even convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong16.

abacus_float ABACUS_EXPORT_API __abacus_convert_float(abacus_ushort x)

Convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat(abacus_ushort x)

Saturated convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rte(abacus_ushort x)

Round to even convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtz(abacus_ushort x)

Round to zero convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rte(abacus_ushort x)

Round to even convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtn(abacus_ushort x)

Round to negative infinity convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtz(abacus_ushort x)

Round to zero convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtp(abacus_ushort x)

Round to positive infinity convert from ushort to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2(abacus_ushort2 x)

Convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat(abacus_ushort2 x)

Saturated convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rte(abacus_ushort2 x)

Round to even convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rte(abacus_ushort2 x)

Round to even convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtn(abacus_ushort2 x)

Round to negative infinity convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtz(abacus_ushort2 x)

Round to zero convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtp(abacus_ushort2 x)

Round to positive infinity convert from ushort2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3(abacus_ushort3 x)

Convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat(abacus_ushort3 x)

Saturated convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rte(abacus_ushort3 x)

Round to even convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rte(abacus_ushort3 x)

Round to even convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtn(abacus_ushort3 x)

Round to negative infinity convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtz(abacus_ushort3 x)

Round to zero convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtp(abacus_ushort3 x)

Round to positive infinity convert from ushort3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4(abacus_ushort4 x)

Convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat(abacus_ushort4 x)

Saturated convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rte(abacus_ushort4 x)

Round to even convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rte(abacus_ushort4 x)

Round to even convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtn(abacus_ushort4 x)

Round to negative infinity convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtz(abacus_ushort4 x)

Round to zero convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtp(abacus_ushort4 x)

Round to positive infinity convert from ushort4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8(abacus_ushort8 x)

Convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat(abacus_ushort8 x)

Saturated convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rte(abacus_ushort8 x)

Round to even convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rte(abacus_ushort8 x)

Round to even convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtn(abacus_ushort8 x)

Round to negative infinity convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtz(abacus_ushort8 x)

Round to zero convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtp(abacus_ushort8 x)

Round to positive infinity convert from ushort8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16(abacus_ushort16 x)

Convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat(abacus_ushort16 x)

Saturated convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rte(abacus_ushort16 x)

Round to even convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rte(abacus_ushort16 x)

Round to even convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtn(abacus_ushort16 x)

Round to negative infinity convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtz(abacus_ushort16 x)

Round to zero convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtp(abacus_ushort16 x)

Round to positive infinity convert from ushort16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float16.

abacus_char ABACUS_EXPORT_API __abacus_convert_char(abacus_uint x)

Convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat(abacus_uint x)

Saturated convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rte(abacus_uint x)

Round to even convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtn(abacus_uint x)

Round to negative infinity convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtz(abacus_uint x)

Round to zero convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtp(abacus_uint x)

Round to positive infinity convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rte(abacus_uint x)

Round to even convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtn(abacus_uint x)

Round to negative infinity convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtz(abacus_uint x)

Round to zero convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtp(abacus_uint x)

Round to positive infinity convert from uint to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2(abacus_uint2 x)

Convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat(abacus_uint2 x)

Saturated convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rte(abacus_uint2 x)

Round to even convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtz(abacus_uint2 x)

Round to zero convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rte(abacus_uint2 x)

Round to even convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtz(abacus_uint2 x)

Round to zero convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3(abacus_uint3 x)

Convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat(abacus_uint3 x)

Saturated convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rte(abacus_uint3 x)

Round to even convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtz(abacus_uint3 x)

Round to zero convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rte(abacus_uint3 x)

Round to even convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtz(abacus_uint3 x)

Round to zero convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4(abacus_uint4 x)

Convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat(abacus_uint4 x)

Saturated convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rte(abacus_uint4 x)

Round to even convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtz(abacus_uint4 x)

Round to zero convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rte(abacus_uint4 x)

Round to even convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtz(abacus_uint4 x)

Round to zero convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8(abacus_uint8 x)

Convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat(abacus_uint8 x)

Saturated convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rte(abacus_uint8 x)

Round to even convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtz(abacus_uint8 x)

Round to zero convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rte(abacus_uint8 x)

Round to even convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtz(abacus_uint8 x)

Round to zero convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16(abacus_uint16 x)

Convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat(abacus_uint16 x)

Saturated convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rte(abacus_uint16 x)

Round to even convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtz(abacus_uint16 x)

Round to zero convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rte(abacus_uint16 x)

Round to even convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtz(abacus_uint16 x)

Round to zero convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_convert_short(abacus_uint x)

Convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat(abacus_uint x)

Saturated convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rte(abacus_uint x)

Round to even convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtn(abacus_uint x)

Round to negative infinity convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtz(abacus_uint x)

Round to zero convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtp(abacus_uint x)

Round to positive infinity convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rte(abacus_uint x)

Round to even convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtn(abacus_uint x)

Round to negative infinity convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtz(abacus_uint x)

Round to zero convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtp(abacus_uint x)

Round to positive infinity convert from uint to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2(abacus_uint2 x)

Convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat(abacus_uint2 x)

Saturated convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rte(abacus_uint2 x)

Round to even convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtz(abacus_uint2 x)

Round to zero convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rte(abacus_uint2 x)

Round to even convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtz(abacus_uint2 x)

Round to zero convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3(abacus_uint3 x)

Convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat(abacus_uint3 x)

Saturated convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rte(abacus_uint3 x)

Round to even convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtz(abacus_uint3 x)

Round to zero convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rte(abacus_uint3 x)

Round to even convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtz(abacus_uint3 x)

Round to zero convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4(abacus_uint4 x)

Convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat(abacus_uint4 x)

Saturated convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rte(abacus_uint4 x)

Round to even convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtz(abacus_uint4 x)

Round to zero convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rte(abacus_uint4 x)

Round to even convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtz(abacus_uint4 x)

Round to zero convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8(abacus_uint8 x)

Convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat(abacus_uint8 x)

Saturated convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rte(abacus_uint8 x)

Round to even convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtz(abacus_uint8 x)

Round to zero convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rte(abacus_uint8 x)

Round to even convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtz(abacus_uint8 x)

Round to zero convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16(abacus_uint16 x)

Convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat(abacus_uint16 x)

Saturated convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rte(abacus_uint16 x)

Round to even convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtz(abacus_uint16 x)

Round to zero convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rte(abacus_uint16 x)

Round to even convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtz(abacus_uint16 x)

Round to zero convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_convert_int(abacus_uint x)

Convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat(abacus_uint x)

Saturated convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rte(abacus_uint x)

Round to even convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtn(abacus_uint x)

Round to negative infinity convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtz(abacus_uint x)

Round to zero convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtp(abacus_uint x)

Round to positive infinity convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rte(abacus_uint x)

Round to even convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtn(abacus_uint x)

Round to negative infinity convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtz(abacus_uint x)

Round to zero convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtp(abacus_uint x)

Round to positive infinity convert from uint to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2(abacus_uint2 x)

Convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat(abacus_uint2 x)

Saturated convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rte(abacus_uint2 x)

Round to even convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtz(abacus_uint2 x)

Round to zero convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rte(abacus_uint2 x)

Round to even convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtz(abacus_uint2 x)

Round to zero convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3(abacus_uint3 x)

Convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat(abacus_uint3 x)

Saturated convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rte(abacus_uint3 x)

Round to even convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtz(abacus_uint3 x)

Round to zero convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rte(abacus_uint3 x)

Round to even convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtz(abacus_uint3 x)

Round to zero convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4(abacus_uint4 x)

Convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat(abacus_uint4 x)

Saturated convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rte(abacus_uint4 x)

Round to even convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtz(abacus_uint4 x)

Round to zero convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rte(abacus_uint4 x)

Round to even convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtz(abacus_uint4 x)

Round to zero convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8(abacus_uint8 x)

Convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat(abacus_uint8 x)

Saturated convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rte(abacus_uint8 x)

Round to even convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtz(abacus_uint8 x)

Round to zero convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rte(abacus_uint8 x)

Round to even convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtz(abacus_uint8 x)

Round to zero convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16(abacus_uint16 x)

Convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat(abacus_uint16 x)

Saturated convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rte(abacus_uint16 x)

Round to even convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtz(abacus_uint16 x)

Round to zero convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rte(abacus_uint16 x)

Round to even convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtz(abacus_uint16 x)

Round to zero convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_convert_long(abacus_uint x)

Convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat(abacus_uint x)

Saturated convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rte(abacus_uint x)

Round to even convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtn(abacus_uint x)

Round to negative infinity convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtz(abacus_uint x)

Round to zero convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtp(abacus_uint x)

Round to positive infinity convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rte(abacus_uint x)

Round to even convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtn(abacus_uint x)

Round to negative infinity convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtz(abacus_uint x)

Round to zero convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtp(abacus_uint x)

Round to positive infinity convert from uint to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2(abacus_uint2 x)

Convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat(abacus_uint2 x)

Saturated convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rte(abacus_uint2 x)

Round to even convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtz(abacus_uint2 x)

Round to zero convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rte(abacus_uint2 x)

Round to even convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtz(abacus_uint2 x)

Round to zero convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3(abacus_uint3 x)

Convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat(abacus_uint3 x)

Saturated convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rte(abacus_uint3 x)

Round to even convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtz(abacus_uint3 x)

Round to zero convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rte(abacus_uint3 x)

Round to even convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtz(abacus_uint3 x)

Round to zero convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4(abacus_uint4 x)

Convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat(abacus_uint4 x)

Saturated convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rte(abacus_uint4 x)

Round to even convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtz(abacus_uint4 x)

Round to zero convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rte(abacus_uint4 x)

Round to even convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtz(abacus_uint4 x)

Round to zero convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8(abacus_uint8 x)

Convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat(abacus_uint8 x)

Saturated convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rte(abacus_uint8 x)

Round to even convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtz(abacus_uint8 x)

Round to zero convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rte(abacus_uint8 x)

Round to even convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtz(abacus_uint8 x)

Round to zero convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16(abacus_uint16 x)

Convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat(abacus_uint16 x)

Saturated convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rte(abacus_uint16 x)

Round to even convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtz(abacus_uint16 x)

Round to zero convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rte(abacus_uint16 x)

Round to even convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtz(abacus_uint16 x)

Round to zero convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar(abacus_uint x)

Convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat(abacus_uint x)

Saturated convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rte(abacus_uint x)

Round to even convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtn(abacus_uint x)

Round to negative infinity convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtz(abacus_uint x)

Round to zero convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtp(abacus_uint x)

Round to positive infinity convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rte(abacus_uint x)

Round to even convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtn(abacus_uint x)

Round to negative infinity convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtz(abacus_uint x)

Round to zero convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtp(abacus_uint x)

Round to positive infinity convert from uint to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2(abacus_uint2 x)

Convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat(abacus_uint2 x)

Saturated convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rte(abacus_uint2 x)

Round to even convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtz(abacus_uint2 x)

Round to zero convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rte(abacus_uint2 x)

Round to even convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtz(abacus_uint2 x)

Round to zero convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3(abacus_uint3 x)

Convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat(abacus_uint3 x)

Saturated convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rte(abacus_uint3 x)

Round to even convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtz(abacus_uint3 x)

Round to zero convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rte(abacus_uint3 x)

Round to even convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtz(abacus_uint3 x)

Round to zero convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4(abacus_uint4 x)

Convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat(abacus_uint4 x)

Saturated convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rte(abacus_uint4 x)

Round to even convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtz(abacus_uint4 x)

Round to zero convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rte(abacus_uint4 x)

Round to even convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtz(abacus_uint4 x)

Round to zero convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8(abacus_uint8 x)

Convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat(abacus_uint8 x)

Saturated convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rte(abacus_uint8 x)

Round to even convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtz(abacus_uint8 x)

Round to zero convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rte(abacus_uint8 x)

Round to even convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtz(abacus_uint8 x)

Round to zero convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16(abacus_uint16 x)

Convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat(abacus_uint16 x)

Saturated convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rte(abacus_uint16 x)

Round to even convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtz(abacus_uint16 x)

Round to zero convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rte(abacus_uint16 x)

Round to even convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtz(abacus_uint16 x)

Round to zero convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort(abacus_uint x)

Convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat(abacus_uint x)

Saturated convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rte(abacus_uint x)

Round to even convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtn(abacus_uint x)

Round to negative infinity convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtz(abacus_uint x)

Round to zero convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtp(abacus_uint x)

Round to positive infinity convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rte(abacus_uint x)

Round to even convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtn(abacus_uint x)

Round to negative infinity convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtz(abacus_uint x)

Round to zero convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtp(abacus_uint x)

Round to positive infinity convert from uint to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2(abacus_uint2 x)

Convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat(abacus_uint2 x)

Saturated convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rte(abacus_uint2 x)

Round to even convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtz(abacus_uint2 x)

Round to zero convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rte(abacus_uint2 x)

Round to even convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtz(abacus_uint2 x)

Round to zero convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3(abacus_uint3 x)

Convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat(abacus_uint3 x)

Saturated convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rte(abacus_uint3 x)

Round to even convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtz(abacus_uint3 x)

Round to zero convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rte(abacus_uint3 x)

Round to even convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtz(abacus_uint3 x)

Round to zero convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4(abacus_uint4 x)

Convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat(abacus_uint4 x)

Saturated convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rte(abacus_uint4 x)

Round to even convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtz(abacus_uint4 x)

Round to zero convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rte(abacus_uint4 x)

Round to even convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtz(abacus_uint4 x)

Round to zero convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8(abacus_uint8 x)

Convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat(abacus_uint8 x)

Saturated convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rte(abacus_uint8 x)

Round to even convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtz(abacus_uint8 x)

Round to zero convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rte(abacus_uint8 x)

Round to even convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtz(abacus_uint8 x)

Round to zero convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16(abacus_uint16 x)

Convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat(abacus_uint16 x)

Saturated convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rte(abacus_uint16 x)

Round to even convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtz(abacus_uint16 x)

Round to zero convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rte(abacus_uint16 x)

Round to even convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtz(abacus_uint16 x)

Round to zero convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint(abacus_uint x)

Convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat(abacus_uint x)

Saturated convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rte(abacus_uint x)

Round to even convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtn(abacus_uint x)

Round to negative infinity convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtz(abacus_uint x)

Round to zero convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtp(abacus_uint x)

Round to positive infinity convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rte(abacus_uint x)

Round to even convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtn(abacus_uint x)

Round to negative infinity convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtz(abacus_uint x)

Round to zero convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtp(abacus_uint x)

Round to positive infinity convert from uint to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2(abacus_uint2 x)

Convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat(abacus_uint2 x)

Saturated convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rte(abacus_uint2 x)

Round to even convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtz(abacus_uint2 x)

Round to zero convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rte(abacus_uint2 x)

Round to even convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtz(abacus_uint2 x)

Round to zero convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3(abacus_uint3 x)

Convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat(abacus_uint3 x)

Saturated convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rte(abacus_uint3 x)

Round to even convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtz(abacus_uint3 x)

Round to zero convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rte(abacus_uint3 x)

Round to even convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtz(abacus_uint3 x)

Round to zero convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4(abacus_uint4 x)

Convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat(abacus_uint4 x)

Saturated convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rte(abacus_uint4 x)

Round to even convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtz(abacus_uint4 x)

Round to zero convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rte(abacus_uint4 x)

Round to even convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtz(abacus_uint4 x)

Round to zero convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8(abacus_uint8 x)

Convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat(abacus_uint8 x)

Saturated convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rte(abacus_uint8 x)

Round to even convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtz(abacus_uint8 x)

Round to zero convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rte(abacus_uint8 x)

Round to even convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtz(abacus_uint8 x)

Round to zero convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16(abacus_uint16 x)

Convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat(abacus_uint16 x)

Saturated convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rte(abacus_uint16 x)

Round to even convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtz(abacus_uint16 x)

Round to zero convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rte(abacus_uint16 x)

Round to even convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtz(abacus_uint16 x)

Round to zero convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong(abacus_uint x)

Convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat(abacus_uint x)

Saturated convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rte(abacus_uint x)

Round to even convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtn(abacus_uint x)

Round to negative infinity convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtz(abacus_uint x)

Round to zero convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtp(abacus_uint x)

Round to positive infinity convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rte(abacus_uint x)

Round to even convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtn(abacus_uint x)

Round to negative infinity convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtz(abacus_uint x)

Round to zero convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtp(abacus_uint x)

Round to positive infinity convert from uint to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2(abacus_uint2 x)

Convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat(abacus_uint2 x)

Saturated convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rte(abacus_uint2 x)

Round to even convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtz(abacus_uint2 x)

Round to zero convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rte(abacus_uint2 x)

Round to even convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtz(abacus_uint2 x)

Round to zero convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3(abacus_uint3 x)

Convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat(abacus_uint3 x)

Saturated convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rte(abacus_uint3 x)

Round to even convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtz(abacus_uint3 x)

Round to zero convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rte(abacus_uint3 x)

Round to even convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtz(abacus_uint3 x)

Round to zero convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4(abacus_uint4 x)

Convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat(abacus_uint4 x)

Saturated convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rte(abacus_uint4 x)

Round to even convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtz(abacus_uint4 x)

Round to zero convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rte(abacus_uint4 x)

Round to even convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtz(abacus_uint4 x)

Round to zero convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8(abacus_uint8 x)

Convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat(abacus_uint8 x)

Saturated convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rte(abacus_uint8 x)

Round to even convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtz(abacus_uint8 x)

Round to zero convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rte(abacus_uint8 x)

Round to even convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtz(abacus_uint8 x)

Round to zero convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16(abacus_uint16 x)

Convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat(abacus_uint16 x)

Saturated convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rte(abacus_uint16 x)

Round to even convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtz(abacus_uint16 x)

Round to zero convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rte(abacus_uint16 x)

Round to even convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtz(abacus_uint16 x)

Round to zero convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_float ABACUS_EXPORT_API __abacus_convert_float(abacus_uint x)

Convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat(abacus_uint x)

Saturated convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rte(abacus_uint x)

Round to even convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtn(abacus_uint x)

Round to negative infinity convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtz(abacus_uint x)

Round to zero convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtp(abacus_uint x)

Round to positive infinity convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rte(abacus_uint x)

Round to even convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtn(abacus_uint x)

Round to negative infinity convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtz(abacus_uint x)

Round to zero convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtp(abacus_uint x)

Round to positive infinity convert from uint to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2(abacus_uint2 x)

Convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat(abacus_uint2 x)

Saturated convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rte(abacus_uint2 x)

Round to even convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtz(abacus_uint2 x)

Round to zero convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rte(abacus_uint2 x)

Round to even convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtn(abacus_uint2 x)

Round to negative infinity convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtz(abacus_uint2 x)

Round to zero convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtp(abacus_uint2 x)

Round to positive infinity convert from uint2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3(abacus_uint3 x)

Convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat(abacus_uint3 x)

Saturated convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rte(abacus_uint3 x)

Round to even convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtz(abacus_uint3 x)

Round to zero convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rte(abacus_uint3 x)

Round to even convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtn(abacus_uint3 x)

Round to negative infinity convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtz(abacus_uint3 x)

Round to zero convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtp(abacus_uint3 x)

Round to positive infinity convert from uint3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4(abacus_uint4 x)

Convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat(abacus_uint4 x)

Saturated convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rte(abacus_uint4 x)

Round to even convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtz(abacus_uint4 x)

Round to zero convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rte(abacus_uint4 x)

Round to even convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtn(abacus_uint4 x)

Round to negative infinity convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtz(abacus_uint4 x)

Round to zero convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtp(abacus_uint4 x)

Round to positive infinity convert from uint4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8(abacus_uint8 x)

Convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat(abacus_uint8 x)

Saturated convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rte(abacus_uint8 x)

Round to even convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtz(abacus_uint8 x)

Round to zero convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rte(abacus_uint8 x)

Round to even convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtn(abacus_uint8 x)

Round to negative infinity convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtz(abacus_uint8 x)

Round to zero convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtp(abacus_uint8 x)

Round to positive infinity convert from uint8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16(abacus_uint16 x)

Convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat(abacus_uint16 x)

Saturated convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rte(abacus_uint16 x)

Round to even convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtz(abacus_uint16 x)

Round to zero convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rte(abacus_uint16 x)

Round to even convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtn(abacus_uint16 x)

Round to negative infinity convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtz(abacus_uint16 x)

Round to zero convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtp(abacus_uint16 x)

Round to positive infinity convert from uint16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_char ABACUS_EXPORT_API __abacus_convert_char(abacus_ulong x)

Convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat(abacus_ulong x)

Saturated convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rte(abacus_ulong x)

Round to even convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtz(abacus_ulong x)

Round to zero convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rte(abacus_ulong x)

Round to even convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtz(abacus_ulong x)

Round to zero convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2(abacus_ulong2 x)

Convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat(abacus_ulong2 x)

Saturated convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rte(abacus_ulong2 x)

Round to even convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rte(abacus_ulong2 x)

Round to even convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3(abacus_ulong3 x)

Convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat(abacus_ulong3 x)

Saturated convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rte(abacus_ulong3 x)

Round to even convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rte(abacus_ulong3 x)

Round to even convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4(abacus_ulong4 x)

Convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat(abacus_ulong4 x)

Saturated convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rte(abacus_ulong4 x)

Round to even convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rte(abacus_ulong4 x)

Round to even convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8(abacus_ulong8 x)

Convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat(abacus_ulong8 x)

Saturated convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rte(abacus_ulong8 x)

Round to even convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rte(abacus_ulong8 x)

Round to even convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16(abacus_ulong16 x)

Convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat(abacus_ulong16 x)

Saturated convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rte(abacus_ulong16 x)

Round to even convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rte(abacus_ulong16 x)

Round to even convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_convert_short(abacus_ulong x)

Convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat(abacus_ulong x)

Saturated convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rte(abacus_ulong x)

Round to even convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtz(abacus_ulong x)

Round to zero convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rte(abacus_ulong x)

Round to even convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtz(abacus_ulong x)

Round to zero convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2(abacus_ulong2 x)

Convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat(abacus_ulong2 x)

Saturated convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rte(abacus_ulong2 x)

Round to even convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rte(abacus_ulong2 x)

Round to even convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3(abacus_ulong3 x)

Convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat(abacus_ulong3 x)

Saturated convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rte(abacus_ulong3 x)

Round to even convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rte(abacus_ulong3 x)

Round to even convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4(abacus_ulong4 x)

Convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat(abacus_ulong4 x)

Saturated convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rte(abacus_ulong4 x)

Round to even convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rte(abacus_ulong4 x)

Round to even convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8(abacus_ulong8 x)

Convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat(abacus_ulong8 x)

Saturated convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rte(abacus_ulong8 x)

Round to even convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rte(abacus_ulong8 x)

Round to even convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16(abacus_ulong16 x)

Convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat(abacus_ulong16 x)

Saturated convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rte(abacus_ulong16 x)

Round to even convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rte(abacus_ulong16 x)

Round to even convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_convert_int(abacus_ulong x)

Convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat(abacus_ulong x)

Saturated convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rte(abacus_ulong x)

Round to even convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtz(abacus_ulong x)

Round to zero convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rte(abacus_ulong x)

Round to even convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtz(abacus_ulong x)

Round to zero convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2(abacus_ulong2 x)

Convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat(abacus_ulong2 x)

Saturated convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rte(abacus_ulong2 x)

Round to even convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rte(abacus_ulong2 x)

Round to even convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3(abacus_ulong3 x)

Convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat(abacus_ulong3 x)

Saturated convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rte(abacus_ulong3 x)

Round to even convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rte(abacus_ulong3 x)

Round to even convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4(abacus_ulong4 x)

Convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat(abacus_ulong4 x)

Saturated convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rte(abacus_ulong4 x)

Round to even convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rte(abacus_ulong4 x)

Round to even convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8(abacus_ulong8 x)

Convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat(abacus_ulong8 x)

Saturated convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rte(abacus_ulong8 x)

Round to even convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rte(abacus_ulong8 x)

Round to even convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16(abacus_ulong16 x)

Convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat(abacus_ulong16 x)

Saturated convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rte(abacus_ulong16 x)

Round to even convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rte(abacus_ulong16 x)

Round to even convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_convert_long(abacus_ulong x)

Convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat(abacus_ulong x)

Saturated convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rte(abacus_ulong x)

Round to even convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtz(abacus_ulong x)

Round to zero convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rte(abacus_ulong x)

Round to even convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtz(abacus_ulong x)

Round to zero convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2(abacus_ulong2 x)

Convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat(abacus_ulong2 x)

Saturated convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rte(abacus_ulong2 x)

Round to even convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rte(abacus_ulong2 x)

Round to even convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3(abacus_ulong3 x)

Convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat(abacus_ulong3 x)

Saturated convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rte(abacus_ulong3 x)

Round to even convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rte(abacus_ulong3 x)

Round to even convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4(abacus_ulong4 x)

Convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat(abacus_ulong4 x)

Saturated convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rte(abacus_ulong4 x)

Round to even convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rte(abacus_ulong4 x)

Round to even convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8(abacus_ulong8 x)

Convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat(abacus_ulong8 x)

Saturated convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rte(abacus_ulong8 x)

Round to even convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rte(abacus_ulong8 x)

Round to even convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16(abacus_ulong16 x)

Convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat(abacus_ulong16 x)

Saturated convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rte(abacus_ulong16 x)

Round to even convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rte(abacus_ulong16 x)

Round to even convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar(abacus_ulong x)

Convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat(abacus_ulong x)

Saturated convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rte(abacus_ulong x)

Round to even convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtz(abacus_ulong x)

Round to zero convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rte(abacus_ulong x)

Round to even convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtz(abacus_ulong x)

Round to zero convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2(abacus_ulong2 x)

Convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat(abacus_ulong2 x)

Saturated convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rte(abacus_ulong2 x)

Round to even convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rte(abacus_ulong2 x)

Round to even convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3(abacus_ulong3 x)

Convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat(abacus_ulong3 x)

Saturated convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rte(abacus_ulong3 x)

Round to even convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rte(abacus_ulong3 x)

Round to even convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4(abacus_ulong4 x)

Convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat(abacus_ulong4 x)

Saturated convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rte(abacus_ulong4 x)

Round to even convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rte(abacus_ulong4 x)

Round to even convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8(abacus_ulong8 x)

Convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat(abacus_ulong8 x)

Saturated convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rte(abacus_ulong8 x)

Round to even convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rte(abacus_ulong8 x)

Round to even convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16(abacus_ulong16 x)

Convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat(abacus_ulong16 x)

Saturated convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rte(abacus_ulong16 x)

Round to even convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rte(abacus_ulong16 x)

Round to even convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort(abacus_ulong x)

Convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat(abacus_ulong x)

Saturated convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rte(abacus_ulong x)

Round to even convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtz(abacus_ulong x)

Round to zero convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rte(abacus_ulong x)

Round to even convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtz(abacus_ulong x)

Round to zero convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2(abacus_ulong2 x)

Convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat(abacus_ulong2 x)

Saturated convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rte(abacus_ulong2 x)

Round to even convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rte(abacus_ulong2 x)

Round to even convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3(abacus_ulong3 x)

Convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat(abacus_ulong3 x)

Saturated convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rte(abacus_ulong3 x)

Round to even convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rte(abacus_ulong3 x)

Round to even convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4(abacus_ulong4 x)

Convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat(abacus_ulong4 x)

Saturated convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rte(abacus_ulong4 x)

Round to even convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rte(abacus_ulong4 x)

Round to even convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8(abacus_ulong8 x)

Convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat(abacus_ulong8 x)

Saturated convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rte(abacus_ulong8 x)

Round to even convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rte(abacus_ulong8 x)

Round to even convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16(abacus_ulong16 x)

Convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat(abacus_ulong16 x)

Saturated convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rte(abacus_ulong16 x)

Round to even convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rte(abacus_ulong16 x)

Round to even convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint(abacus_ulong x)

Convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat(abacus_ulong x)

Saturated convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rte(abacus_ulong x)

Round to even convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtz(abacus_ulong x)

Round to zero convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rte(abacus_ulong x)

Round to even convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtz(abacus_ulong x)

Round to zero convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2(abacus_ulong2 x)

Convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat(abacus_ulong2 x)

Saturated convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rte(abacus_ulong2 x)

Round to even convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rte(abacus_ulong2 x)

Round to even convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3(abacus_ulong3 x)

Convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat(abacus_ulong3 x)

Saturated convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rte(abacus_ulong3 x)

Round to even convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rte(abacus_ulong3 x)

Round to even convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4(abacus_ulong4 x)

Convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat(abacus_ulong4 x)

Saturated convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rte(abacus_ulong4 x)

Round to even convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rte(abacus_ulong4 x)

Round to even convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8(abacus_ulong8 x)

Convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat(abacus_ulong8 x)

Saturated convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rte(abacus_ulong8 x)

Round to even convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rte(abacus_ulong8 x)

Round to even convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16(abacus_ulong16 x)

Convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat(abacus_ulong16 x)

Saturated convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rte(abacus_ulong16 x)

Round to even convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rte(abacus_ulong16 x)

Round to even convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong(abacus_ulong x)

Convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat(abacus_ulong x)

Saturated convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rte(abacus_ulong x)

Round to even convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtz(abacus_ulong x)

Round to zero convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rte(abacus_ulong x)

Round to even convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtz(abacus_ulong x)

Round to zero convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2(abacus_ulong2 x)

Convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat(abacus_ulong2 x)

Saturated convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rte(abacus_ulong2 x)

Round to even convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rte(abacus_ulong2 x)

Round to even convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3(abacus_ulong3 x)

Convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat(abacus_ulong3 x)

Saturated convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rte(abacus_ulong3 x)

Round to even convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rte(abacus_ulong3 x)

Round to even convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4(abacus_ulong4 x)

Convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat(abacus_ulong4 x)

Saturated convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rte(abacus_ulong4 x)

Round to even convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rte(abacus_ulong4 x)

Round to even convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8(abacus_ulong8 x)

Convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat(abacus_ulong8 x)

Saturated convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rte(abacus_ulong8 x)

Round to even convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rte(abacus_ulong8 x)

Round to even convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16(abacus_ulong16 x)

Convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat(abacus_ulong16 x)

Saturated convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rte(abacus_ulong16 x)

Round to even convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rte(abacus_ulong16 x)

Round to even convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_float ABACUS_EXPORT_API __abacus_convert_float(abacus_ulong x)

Convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat(abacus_ulong x)

Saturated convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rte(abacus_ulong x)

Round to even convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtz(abacus_ulong x)

Round to zero convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rte(abacus_ulong x)

Round to even convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtn(abacus_ulong x)

Round to negative infinity convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtz(abacus_ulong x)

Round to zero convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtp(abacus_ulong x)

Round to positive infinity convert from ulong to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2(abacus_ulong2 x)

Convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat(abacus_ulong2 x)

Saturated convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rte(abacus_ulong2 x)

Round to even convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rte(abacus_ulong2 x)

Round to even convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtn(abacus_ulong2 x)

Round to negative infinity convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtz(abacus_ulong2 x)

Round to zero convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtp(abacus_ulong2 x)

Round to positive infinity convert from ulong2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3(abacus_ulong3 x)

Convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat(abacus_ulong3 x)

Saturated convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rte(abacus_ulong3 x)

Round to even convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rte(abacus_ulong3 x)

Round to even convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtn(abacus_ulong3 x)

Round to negative infinity convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtz(abacus_ulong3 x)

Round to zero convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtp(abacus_ulong3 x)

Round to positive infinity convert from ulong3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4(abacus_ulong4 x)

Convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat(abacus_ulong4 x)

Saturated convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rte(abacus_ulong4 x)

Round to even convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rte(abacus_ulong4 x)

Round to even convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtn(abacus_ulong4 x)

Round to negative infinity convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtz(abacus_ulong4 x)

Round to zero convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtp(abacus_ulong4 x)

Round to positive infinity convert from ulong4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8(abacus_ulong8 x)

Convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat(abacus_ulong8 x)

Saturated convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rte(abacus_ulong8 x)

Round to even convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rte(abacus_ulong8 x)

Round to even convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtn(abacus_ulong8 x)

Round to negative infinity convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtz(abacus_ulong8 x)

Round to zero convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtp(abacus_ulong8 x)

Round to positive infinity convert from ulong8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16(abacus_ulong16 x)

Convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat(abacus_ulong16 x)

Saturated convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rte(abacus_ulong16 x)

Round to even convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rte(abacus_ulong16 x)

Round to even convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtn(abacus_ulong16 x)

Round to negative infinity convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtz(abacus_ulong16 x)

Round to zero convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtp(abacus_ulong16 x)

Round to positive infinity convert from ulong16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_float16.

abacus_char ABACUS_EXPORT_API __abacus_convert_char(abacus_float x)

Convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat(abacus_float x)

Saturated convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rte(abacus_float x)

Round to even convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtn(abacus_float x)

Round to negative infinity convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtz(abacus_float x)

Round to zero convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_rtp(abacus_float x)

Round to positive infinity convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rte(abacus_float x)

Round to even convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtn(abacus_float x)

Round to negative infinity convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtz(abacus_float x)

Round to zero convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_convert_char_sat_rtp(abacus_float x)

Round to positive infinity convert from float to char.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2(abacus_float2 x)

Convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat(abacus_float2 x)

Saturated convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rte(abacus_float2 x)

Round to even convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtz(abacus_float2 x)

Round to zero convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rte(abacus_float2 x)

Round to even convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtz(abacus_float2 x)

Round to zero convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_convert_char2_sat_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to char2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3(abacus_float3 x)

Convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat(abacus_float3 x)

Saturated convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rte(abacus_float3 x)

Round to even convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtz(abacus_float3 x)

Round to zero convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rte(abacus_float3 x)

Round to even convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtz(abacus_float3 x)

Round to zero convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_convert_char3_sat_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to char3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4(abacus_float4 x)

Convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat(abacus_float4 x)

Saturated convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rte(abacus_float4 x)

Round to even convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtz(abacus_float4 x)

Round to zero convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rte(abacus_float4 x)

Round to even convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtz(abacus_float4 x)

Round to zero convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_convert_char4_sat_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to char4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8(abacus_float8 x)

Convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat(abacus_float8 x)

Saturated convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rte(abacus_float8 x)

Round to even convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtz(abacus_float8 x)

Round to zero convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rte(abacus_float8 x)

Round to even convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtz(abacus_float8 x)

Round to zero convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_convert_char8_sat_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to char8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16(abacus_float16 x)

Convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat(abacus_float16 x)

Saturated convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rte(abacus_float16 x)

Round to even convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtz(abacus_float16 x)

Round to zero convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rte(abacus_float16 x)

Round to even convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtz(abacus_float16 x)

Round to zero convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_convert_char16_sat_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to char16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_convert_short(abacus_float x)

Convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat(abacus_float x)

Saturated convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rte(abacus_float x)

Round to even convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtn(abacus_float x)

Round to negative infinity convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtz(abacus_float x)

Round to zero convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_rtp(abacus_float x)

Round to positive infinity convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rte(abacus_float x)

Round to even convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtn(abacus_float x)

Round to negative infinity convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtz(abacus_float x)

Round to zero convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_convert_short_sat_rtp(abacus_float x)

Round to positive infinity convert from float to short.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2(abacus_float2 x)

Convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat(abacus_float2 x)

Saturated convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rte(abacus_float2 x)

Round to even convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtz(abacus_float2 x)

Round to zero convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rte(abacus_float2 x)

Round to even convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtz(abacus_float2 x)

Round to zero convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_convert_short2_sat_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to short2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3(abacus_float3 x)

Convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat(abacus_float3 x)

Saturated convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rte(abacus_float3 x)

Round to even convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtz(abacus_float3 x)

Round to zero convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rte(abacus_float3 x)

Round to even convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtz(abacus_float3 x)

Round to zero convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_convert_short3_sat_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to short3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4(abacus_float4 x)

Convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat(abacus_float4 x)

Saturated convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rte(abacus_float4 x)

Round to even convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtz(abacus_float4 x)

Round to zero convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rte(abacus_float4 x)

Round to even convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtz(abacus_float4 x)

Round to zero convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_convert_short4_sat_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to short4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8(abacus_float8 x)

Convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat(abacus_float8 x)

Saturated convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rte(abacus_float8 x)

Round to even convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtz(abacus_float8 x)

Round to zero convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rte(abacus_float8 x)

Round to even convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtz(abacus_float8 x)

Round to zero convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_convert_short8_sat_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to short8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16(abacus_float16 x)

Convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat(abacus_float16 x)

Saturated convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rte(abacus_float16 x)

Round to even convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtz(abacus_float16 x)

Round to zero convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rte(abacus_float16 x)

Round to even convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtz(abacus_float16 x)

Round to zero convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_convert_short16_sat_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to short16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_convert_int(abacus_float x)

Convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat(abacus_float x)

Saturated convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rte(abacus_float x)

Round to even convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtn(abacus_float x)

Round to negative infinity convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtz(abacus_float x)

Round to zero convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_rtp(abacus_float x)

Round to positive infinity convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rte(abacus_float x)

Round to even convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtn(abacus_float x)

Round to negative infinity convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtz(abacus_float x)

Round to zero convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_convert_int_sat_rtp(abacus_float x)

Round to positive infinity convert from float to int.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2(abacus_float2 x)

Convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat(abacus_float2 x)

Saturated convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rte(abacus_float2 x)

Round to even convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtz(abacus_float2 x)

Round to zero convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rte(abacus_float2 x)

Round to even convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtz(abacus_float2 x)

Round to zero convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_convert_int2_sat_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to int2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3(abacus_float3 x)

Convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat(abacus_float3 x)

Saturated convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rte(abacus_float3 x)

Round to even convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtz(abacus_float3 x)

Round to zero convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rte(abacus_float3 x)

Round to even convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtz(abacus_float3 x)

Round to zero convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_convert_int3_sat_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to int3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4(abacus_float4 x)

Convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat(abacus_float4 x)

Saturated convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rte(abacus_float4 x)

Round to even convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtz(abacus_float4 x)

Round to zero convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rte(abacus_float4 x)

Round to even convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtz(abacus_float4 x)

Round to zero convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_convert_int4_sat_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to int4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8(abacus_float8 x)

Convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat(abacus_float8 x)

Saturated convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rte(abacus_float8 x)

Round to even convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtz(abacus_float8 x)

Round to zero convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rte(abacus_float8 x)

Round to even convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtz(abacus_float8 x)

Round to zero convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_convert_int8_sat_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to int8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16(abacus_float16 x)

Convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat(abacus_float16 x)

Saturated convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rte(abacus_float16 x)

Round to even convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtz(abacus_float16 x)

Round to zero convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rte(abacus_float16 x)

Round to even convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtz(abacus_float16 x)

Round to zero convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_convert_int16_sat_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to int16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_convert_long(abacus_float x)

Convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat(abacus_float x)

Saturated convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rte(abacus_float x)

Round to even convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtn(abacus_float x)

Round to negative infinity convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtz(abacus_float x)

Round to zero convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_rtp(abacus_float x)

Round to positive infinity convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rte(abacus_float x)

Round to even convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtn(abacus_float x)

Round to negative infinity convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtz(abacus_float x)

Round to zero convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_convert_long_sat_rtp(abacus_float x)

Round to positive infinity convert from float to long.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2(abacus_float2 x)

Convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat(abacus_float2 x)

Saturated convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rte(abacus_float2 x)

Round to even convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtz(abacus_float2 x)

Round to zero convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rte(abacus_float2 x)

Round to even convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtz(abacus_float2 x)

Round to zero convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_convert_long2_sat_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to long2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3(abacus_float3 x)

Convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat(abacus_float3 x)

Saturated convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rte(abacus_float3 x)

Round to even convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtz(abacus_float3 x)

Round to zero convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rte(abacus_float3 x)

Round to even convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtz(abacus_float3 x)

Round to zero convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_convert_long3_sat_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to long3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4(abacus_float4 x)

Convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat(abacus_float4 x)

Saturated convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rte(abacus_float4 x)

Round to even convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtz(abacus_float4 x)

Round to zero convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rte(abacus_float4 x)

Round to even convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtz(abacus_float4 x)

Round to zero convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_convert_long4_sat_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to long4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8(abacus_float8 x)

Convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat(abacus_float8 x)

Saturated convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rte(abacus_float8 x)

Round to even convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtz(abacus_float8 x)

Round to zero convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rte(abacus_float8 x)

Round to even convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtz(abacus_float8 x)

Round to zero convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_convert_long8_sat_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to long8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16(abacus_float16 x)

Convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat(abacus_float16 x)

Saturated convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rte(abacus_float16 x)

Round to even convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtz(abacus_float16 x)

Round to zero convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rte(abacus_float16 x)

Round to even convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtz(abacus_float16 x)

Round to zero convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_convert_long16_sat_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to long16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar(abacus_float x)

Convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat(abacus_float x)

Saturated convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rte(abacus_float x)

Round to even convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtn(abacus_float x)

Round to negative infinity convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtz(abacus_float x)

Round to zero convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_rtp(abacus_float x)

Round to positive infinity convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rte(abacus_float x)

Round to even convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtn(abacus_float x)

Round to negative infinity convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtz(abacus_float x)

Round to zero convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_convert_uchar_sat_rtp(abacus_float x)

Round to positive infinity convert from float to uchar.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2(abacus_float2 x)

Convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat(abacus_float2 x)

Saturated convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rte(abacus_float2 x)

Round to even convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtz(abacus_float2 x)

Round to zero convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rte(abacus_float2 x)

Round to even convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtz(abacus_float2 x)

Round to zero convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_convert_uchar2_sat_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to uchar2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3(abacus_float3 x)

Convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat(abacus_float3 x)

Saturated convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rte(abacus_float3 x)

Round to even convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtz(abacus_float3 x)

Round to zero convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rte(abacus_float3 x)

Round to even convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtz(abacus_float3 x)

Round to zero convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_convert_uchar3_sat_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to uchar3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4(abacus_float4 x)

Convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat(abacus_float4 x)

Saturated convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rte(abacus_float4 x)

Round to even convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtz(abacus_float4 x)

Round to zero convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rte(abacus_float4 x)

Round to even convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtz(abacus_float4 x)

Round to zero convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_convert_uchar4_sat_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to uchar4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8(abacus_float8 x)

Convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat(abacus_float8 x)

Saturated convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rte(abacus_float8 x)

Round to even convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtz(abacus_float8 x)

Round to zero convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rte(abacus_float8 x)

Round to even convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtz(abacus_float8 x)

Round to zero convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_convert_uchar8_sat_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to uchar8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16(abacus_float16 x)

Convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat(abacus_float16 x)

Saturated convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rte(abacus_float16 x)

Round to even convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtz(abacus_float16 x)

Round to zero convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rte(abacus_float16 x)

Round to even convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtz(abacus_float16 x)

Round to zero convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_convert_uchar16_sat_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to uchar16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort(abacus_float x)

Convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat(abacus_float x)

Saturated convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rte(abacus_float x)

Round to even convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtn(abacus_float x)

Round to negative infinity convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtz(abacus_float x)

Round to zero convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_rtp(abacus_float x)

Round to positive infinity convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rte(abacus_float x)

Round to even convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtn(abacus_float x)

Round to negative infinity convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtz(abacus_float x)

Round to zero convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_convert_ushort_sat_rtp(abacus_float x)

Round to positive infinity convert from float to ushort.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2(abacus_float2 x)

Convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat(abacus_float2 x)

Saturated convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rte(abacus_float2 x)

Round to even convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtz(abacus_float2 x)

Round to zero convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rte(abacus_float2 x)

Round to even convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtz(abacus_float2 x)

Round to zero convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_convert_ushort2_sat_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to ushort2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3(abacus_float3 x)

Convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat(abacus_float3 x)

Saturated convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rte(abacus_float3 x)

Round to even convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtz(abacus_float3 x)

Round to zero convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rte(abacus_float3 x)

Round to even convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtz(abacus_float3 x)

Round to zero convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_convert_ushort3_sat_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to ushort3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4(abacus_float4 x)

Convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat(abacus_float4 x)

Saturated convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rte(abacus_float4 x)

Round to even convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtz(abacus_float4 x)

Round to zero convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rte(abacus_float4 x)

Round to even convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtz(abacus_float4 x)

Round to zero convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_convert_ushort4_sat_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to ushort4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8(abacus_float8 x)

Convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat(abacus_float8 x)

Saturated convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rte(abacus_float8 x)

Round to even convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtz(abacus_float8 x)

Round to zero convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rte(abacus_float8 x)

Round to even convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtz(abacus_float8 x)

Round to zero convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_convert_ushort8_sat_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to ushort8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16(abacus_float16 x)

Convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat(abacus_float16 x)

Saturated convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rte(abacus_float16 x)

Round to even convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtz(abacus_float16 x)

Round to zero convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rte(abacus_float16 x)

Round to even convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtz(abacus_float16 x)

Round to zero convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_convert_ushort16_sat_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to ushort16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint(abacus_float x)

Convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat(abacus_float x)

Saturated convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rte(abacus_float x)

Round to even convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtn(abacus_float x)

Round to negative infinity convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtz(abacus_float x)

Round to zero convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_rtp(abacus_float x)

Round to positive infinity convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rte(abacus_float x)

Round to even convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtn(abacus_float x)

Round to negative infinity convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtz(abacus_float x)

Round to zero convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_convert_uint_sat_rtp(abacus_float x)

Round to positive infinity convert from float to uint.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2(abacus_float2 x)

Convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat(abacus_float2 x)

Saturated convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rte(abacus_float2 x)

Round to even convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtz(abacus_float2 x)

Round to zero convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rte(abacus_float2 x)

Round to even convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtz(abacus_float2 x)

Round to zero convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_convert_uint2_sat_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to uint2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3(abacus_float3 x)

Convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat(abacus_float3 x)

Saturated convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rte(abacus_float3 x)

Round to even convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtz(abacus_float3 x)

Round to zero convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rte(abacus_float3 x)

Round to even convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtz(abacus_float3 x)

Round to zero convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_convert_uint3_sat_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to uint3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4(abacus_float4 x)

Convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat(abacus_float4 x)

Saturated convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rte(abacus_float4 x)

Round to even convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtz(abacus_float4 x)

Round to zero convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rte(abacus_float4 x)

Round to even convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtz(abacus_float4 x)

Round to zero convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_convert_uint4_sat_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to uint4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8(abacus_float8 x)

Convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat(abacus_float8 x)

Saturated convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rte(abacus_float8 x)

Round to even convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtz(abacus_float8 x)

Round to zero convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rte(abacus_float8 x)

Round to even convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtz(abacus_float8 x)

Round to zero convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_convert_uint8_sat_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to uint8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16(abacus_float16 x)

Convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat(abacus_float16 x)

Saturated convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rte(abacus_float16 x)

Round to even convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtz(abacus_float16 x)

Round to zero convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rte(abacus_float16 x)

Round to even convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtz(abacus_float16 x)

Round to zero convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_convert_uint16_sat_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to uint16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong(abacus_float x)

Convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat(abacus_float x)

Saturated convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rte(abacus_float x)

Round to even convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtn(abacus_float x)

Round to negative infinity convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtz(abacus_float x)

Round to zero convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_rtp(abacus_float x)

Round to positive infinity convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rte(abacus_float x)

Round to even convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtn(abacus_float x)

Round to negative infinity convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtz(abacus_float x)

Round to zero convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_convert_ulong_sat_rtp(abacus_float x)

Round to positive infinity convert from float to ulong.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2(abacus_float2 x)

Convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat(abacus_float2 x)

Saturated convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rte(abacus_float2 x)

Round to even convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtz(abacus_float2 x)

Round to zero convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rte(abacus_float2 x)

Round to even convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtz(abacus_float2 x)

Round to zero convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_convert_ulong2_sat_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to ulong2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3(abacus_float3 x)

Convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat(abacus_float3 x)

Saturated convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rte(abacus_float3 x)

Round to even convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtz(abacus_float3 x)

Round to zero convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rte(abacus_float3 x)

Round to even convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtz(abacus_float3 x)

Round to zero convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_convert_ulong3_sat_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to ulong3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4(abacus_float4 x)

Convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat(abacus_float4 x)

Saturated convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rte(abacus_float4 x)

Round to even convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtz(abacus_float4 x)

Round to zero convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rte(abacus_float4 x)

Round to even convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtz(abacus_float4 x)

Round to zero convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_convert_ulong4_sat_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to ulong4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8(abacus_float8 x)

Convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat(abacus_float8 x)

Saturated convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rte(abacus_float8 x)

Round to even convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtz(abacus_float8 x)

Round to zero convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rte(abacus_float8 x)

Round to even convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtz(abacus_float8 x)

Round to zero convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_convert_ulong8_sat_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to ulong8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16(abacus_float16 x)

Convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat(abacus_float16 x)

Saturated convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rte(abacus_float16 x)

Round to even convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtz(abacus_float16 x)

Round to zero convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rte(abacus_float16 x)

Round to even convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtz(abacus_float16 x)

Round to zero convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_convert_ulong16_sat_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to ulong16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong16.

abacus_float ABACUS_EXPORT_API __abacus_convert_float(abacus_float x)

Convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat(abacus_float x)

Saturated convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rte(abacus_float x)

Round to even convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtn(abacus_float x)

Round to negative infinity convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtz(abacus_float x)

Round to zero convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_rtp(abacus_float x)

Round to positive infinity convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rte(abacus_float x)

Round to even convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtn(abacus_float x)

Round to negative infinity convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtz(abacus_float x)

Round to zero convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_convert_float_sat_rtp(abacus_float x)

Round to positive infinity convert from float to float.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2(abacus_float2 x)

Convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat(abacus_float2 x)

Saturated convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rte(abacus_float2 x)

Round to even convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtz(abacus_float2 x)

Round to zero convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rte(abacus_float2 x)

Round to even convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtn(abacus_float2 x)

Round to negative infinity convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtz(abacus_float2 x)

Round to zero convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_convert_float2_sat_rtp(abacus_float2 x)

Round to positive infinity convert from float2 to float2.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3(abacus_float3 x)

Convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat(abacus_float3 x)

Saturated convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rte(abacus_float3 x)

Round to even convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtz(abacus_float3 x)

Round to zero convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rte(abacus_float3 x)

Round to even convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtn(abacus_float3 x)

Round to negative infinity convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtz(abacus_float3 x)

Round to zero convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_convert_float3_sat_rtp(abacus_float3 x)

Round to positive infinity convert from float3 to float3.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4(abacus_float4 x)

Convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat(abacus_float4 x)

Saturated convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rte(abacus_float4 x)

Round to even convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtz(abacus_float4 x)

Round to zero convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rte(abacus_float4 x)

Round to even convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtn(abacus_float4 x)

Round to negative infinity convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtz(abacus_float4 x)

Round to zero convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_convert_float4_sat_rtp(abacus_float4 x)

Round to positive infinity convert from float4 to float4.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8(abacus_float8 x)

Convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat(abacus_float8 x)

Saturated convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rte(abacus_float8 x)

Round to even convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtz(abacus_float8 x)

Round to zero convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rte(abacus_float8 x)

Round to even convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtn(abacus_float8 x)

Round to negative infinity convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtz(abacus_float8 x)

Round to zero convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_convert_float8_sat_rtp(abacus_float8 x)

Round to positive infinity convert from float8 to float8.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16(abacus_float16 x)

Convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat(abacus_float16 x)

Saturated convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rte(abacus_float16 x)

Round to even convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtz(abacus_float16 x)

Round to zero convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rte(abacus_float16 x)

Round to even convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rte.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtn(abacus_float16 x)

Round to negative infinity convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtz(abacus_float16 x)

Round to zero convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_convert_float16_sat_rtp(abacus_float16 x)

Round to positive infinity convert from float16 to float16.

Standards compliant implementation of OpenCL 1.2 convert_rtp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/convert_T.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_char2 ABACUS_EXPORT_API __abacus_as_char2(abacus_char2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_as_uchar2(abacus_char2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_short ABACUS_EXPORT_API __abacus_as_short(abacus_char2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_short.

abacus_ushort ABACUS_EXPORT_API __abacus_as_ushort(abacus_char2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_ushort.

abacus_char2 ABACUS_EXPORT_API __abacus_as_char2(abacus_uchar2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_as_uchar2(abacus_uchar2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_short ABACUS_EXPORT_API __abacus_as_short(abacus_uchar2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_short.

abacus_ushort ABACUS_EXPORT_API __abacus_as_ushort(abacus_uchar2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_ushort.

abacus_char2 ABACUS_EXPORT_API __abacus_as_char2(abacus_short x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short.

Returns

A abacus_char2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_as_uchar2(abacus_short x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short.

Returns

A abacus_uchar2.

abacus_short ABACUS_EXPORT_API __abacus_as_short(abacus_short x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_ushort ABACUS_EXPORT_API __abacus_as_ushort(abacus_short x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_char2 ABACUS_EXPORT_API __abacus_as_char2(abacus_ushort x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_char2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_as_uchar2(abacus_ushort x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_uchar2.

abacus_short ABACUS_EXPORT_API __abacus_as_short(abacus_ushort x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_short.

abacus_ushort ABACUS_EXPORT_API __abacus_as_ushort(abacus_ushort x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_char4 ABACUS_EXPORT_API __abacus_as_char4(abacus_char4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_as_uchar4(abacus_char4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_short2 ABACUS_EXPORT_API __abacus_as_short2(abacus_char4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_as_ushort2(abacus_char4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_ushort2.

abacus_int ABACUS_EXPORT_API __abacus_as_int(abacus_char4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_as_uint(abacus_char4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uint.

abacus_float ABACUS_EXPORT_API __abacus_as_float(abacus_char4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_float.

abacus_char4 ABACUS_EXPORT_API __abacus_as_char4(abacus_uchar4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_as_uchar4(abacus_uchar4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_short2 ABACUS_EXPORT_API __abacus_as_short2(abacus_uchar4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_as_ushort2(abacus_uchar4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_ushort2.

abacus_int ABACUS_EXPORT_API __abacus_as_int(abacus_uchar4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_as_uint(abacus_uchar4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uint.

abacus_float ABACUS_EXPORT_API __abacus_as_float(abacus_uchar4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_float.

abacus_char4 ABACUS_EXPORT_API __abacus_as_char4(abacus_short2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_char4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_as_uchar4(abacus_short2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uchar4.

abacus_short2 ABACUS_EXPORT_API __abacus_as_short2(abacus_short2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_as_ushort2(abacus_short2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_int ABACUS_EXPORT_API __abacus_as_int(abacus_short2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_as_uint(abacus_short2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_uint.

abacus_float ABACUS_EXPORT_API __abacus_as_float(abacus_short2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_float.

abacus_char4 ABACUS_EXPORT_API __abacus_as_char4(abacus_ushort2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_char4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_as_uchar4(abacus_ushort2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uchar4.

abacus_short2 ABACUS_EXPORT_API __abacus_as_short2(abacus_ushort2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_as_ushort2(abacus_ushort2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_int ABACUS_EXPORT_API __abacus_as_int(abacus_ushort2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_as_uint(abacus_ushort2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_uint.

abacus_float ABACUS_EXPORT_API __abacus_as_float(abacus_ushort2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_float.

abacus_char4 ABACUS_EXPORT_API __abacus_as_char4(abacus_int x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int.

Returns

A abacus_char4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_as_uchar4(abacus_int x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uchar4.

abacus_short2 ABACUS_EXPORT_API __abacus_as_short2(abacus_int x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_as_ushort2(abacus_int x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int.

Returns

A abacus_ushort2.

abacus_int ABACUS_EXPORT_API __abacus_as_int(abacus_int x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_as_uint(abacus_int x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_float ABACUS_EXPORT_API __abacus_as_float(abacus_int x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int.

Returns

A abacus_float.

abacus_char4 ABACUS_EXPORT_API __abacus_as_char4(abacus_uint x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_char4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_as_uchar4(abacus_uint x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uchar4.

abacus_short2 ABACUS_EXPORT_API __abacus_as_short2(abacus_uint x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_as_ushort2(abacus_uint x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_ushort2.

abacus_int ABACUS_EXPORT_API __abacus_as_int(abacus_uint x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_as_uint(abacus_uint x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_float ABACUS_EXPORT_API __abacus_as_float(abacus_uint x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_char4 ABACUS_EXPORT_API __abacus_as_char4(abacus_float x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float.

Returns

A abacus_char4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_as_uchar4(abacus_float x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uchar4.

abacus_short2 ABACUS_EXPORT_API __abacus_as_short2(abacus_float x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_as_ushort2(abacus_float x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float.

Returns

A abacus_ushort2.

abacus_int ABACUS_EXPORT_API __abacus_as_int(abacus_float x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_as_uint(abacus_float x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float.

Returns

A abacus_uint.

abacus_float ABACUS_EXPORT_API __abacus_as_float(abacus_float x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_char8 ABACUS_EXPORT_API __abacus_as_char8(abacus_char8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_as_uchar8(abacus_char8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_char8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_char8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ushort4.

abacus_int2 ABACUS_EXPORT_API __abacus_as_int2(abacus_char8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_as_uint2(abacus_char8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_as_float2(abacus_char8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_float2.

abacus_long ABACUS_EXPORT_API __abacus_as_long(abacus_char8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_as_ulong(abacus_char8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_ulong.

abacus_char8 ABACUS_EXPORT_API __abacus_as_char8(abacus_uchar8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_as_uchar8(abacus_uchar8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_uchar8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_uchar8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ushort4.

abacus_int2 ABACUS_EXPORT_API __abacus_as_int2(abacus_uchar8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_as_uint2(abacus_uchar8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_as_float2(abacus_uchar8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_float2.

abacus_long ABACUS_EXPORT_API __abacus_as_long(abacus_uchar8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_as_ulong(abacus_uchar8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_ulong.

abacus_char8 ABACUS_EXPORT_API __abacus_as_char8(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_as_uchar8(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uchar8.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_int2 ABACUS_EXPORT_API __abacus_as_int2(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_as_uint2(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_as_float2(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_float2.

abacus_long ABACUS_EXPORT_API __abacus_as_long(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_as_ulong(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ulong.

abacus_char8 ABACUS_EXPORT_API __abacus_as_char8(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_as_uchar8(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uchar8.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_int2 ABACUS_EXPORT_API __abacus_as_int2(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_as_uint2(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_as_float2(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_float2.

abacus_long ABACUS_EXPORT_API __abacus_as_long(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_as_ulong(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ulong.

abacus_char8 ABACUS_EXPORT_API __abacus_as_char8(abacus_int2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_as_uchar8(abacus_int2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uchar8.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_int2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_int2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ushort4.

abacus_int2 ABACUS_EXPORT_API __abacus_as_int2(abacus_int2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_as_uint2(abacus_int2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_as_float2(abacus_int2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_float2.

abacus_long ABACUS_EXPORT_API __abacus_as_long(abacus_int2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_as_ulong(abacus_int2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_ulong.

abacus_char8 ABACUS_EXPORT_API __abacus_as_char8(abacus_uint2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_as_uchar8(abacus_uint2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uchar8.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_uint2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_uint2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ushort4.

abacus_int2 ABACUS_EXPORT_API __abacus_as_int2(abacus_uint2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_as_uint2(abacus_uint2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_as_float2(abacus_uint2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_long ABACUS_EXPORT_API __abacus_as_long(abacus_uint2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_as_ulong(abacus_uint2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_ulong.

abacus_char8 ABACUS_EXPORT_API __abacus_as_char8(abacus_float2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_as_uchar8(abacus_float2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uchar8.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_float2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_float2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ushort4.

abacus_int2 ABACUS_EXPORT_API __abacus_as_int2(abacus_float2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_as_uint2(abacus_float2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_as_float2(abacus_float2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_long ABACUS_EXPORT_API __abacus_as_long(abacus_float2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_as_ulong(abacus_float2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_ulong.

abacus_char8 ABACUS_EXPORT_API __abacus_as_char8(abacus_long x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_as_uchar8(abacus_long x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uchar8.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_long x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_long x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ushort4.

abacus_int2 ABACUS_EXPORT_API __abacus_as_int2(abacus_long x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_as_uint2(abacus_long x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_as_float2(abacus_long x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long.

Returns

A abacus_float2.

abacus_long ABACUS_EXPORT_API __abacus_as_long(abacus_long x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_as_ulong(abacus_long x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_char8 ABACUS_EXPORT_API __abacus_as_char8(abacus_ulong x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_as_uchar8(abacus_ulong x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uchar8.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_ulong x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_ulong x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ushort4.

abacus_int2 ABACUS_EXPORT_API __abacus_as_int2(abacus_ulong x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_as_uint2(abacus_ulong x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_as_float2(abacus_ulong x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_float2.

abacus_long ABACUS_EXPORT_API __abacus_as_long(abacus_ulong x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_as_ulong(abacus_ulong x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_char16 ABACUS_EXPORT_API __abacus_as_char16(abacus_char16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_as_uchar16(abacus_char16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_short8 ABACUS_EXPORT_API __abacus_as_short8(abacus_char16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_as_ushort8(abacus_char16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ushort8.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_char16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_char16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_char16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_float4.

abacus_long2 ABACUS_EXPORT_API __abacus_as_long2(abacus_char16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_as_ulong2(abacus_char16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_ulong2.

abacus_char16 ABACUS_EXPORT_API __abacus_as_char16(abacus_uchar16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_as_uchar16(abacus_uchar16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_short8 ABACUS_EXPORT_API __abacus_as_short8(abacus_uchar16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_as_ushort8(abacus_uchar16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ushort8.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_uchar16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_uchar16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_uchar16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_float4.

abacus_long2 ABACUS_EXPORT_API __abacus_as_long2(abacus_uchar16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_as_ulong2(abacus_uchar16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_ulong2.

abacus_char16 ABACUS_EXPORT_API __abacus_as_char16(abacus_short8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_as_uchar16(abacus_short8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uchar16.

abacus_short8 ABACUS_EXPORT_API __abacus_as_short8(abacus_short8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_as_ushort8(abacus_short8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_short8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_short8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_short8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_float4.

abacus_long2 ABACUS_EXPORT_API __abacus_as_long2(abacus_short8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_as_ulong2(abacus_short8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ulong2.

abacus_char16 ABACUS_EXPORT_API __abacus_as_char16(abacus_ushort8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_as_uchar16(abacus_ushort8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uchar16.

abacus_short8 ABACUS_EXPORT_API __abacus_as_short8(abacus_ushort8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_as_ushort8(abacus_ushort8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_ushort8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_ushort8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_ushort8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_float4.

abacus_long2 ABACUS_EXPORT_API __abacus_as_long2(abacus_ushort8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_as_ulong2(abacus_ushort8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ulong2.

abacus_char16 ABACUS_EXPORT_API __abacus_as_char16(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_as_uchar16(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uchar16.

abacus_short8 ABACUS_EXPORT_API __abacus_as_short8(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_as_ushort8(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ushort8.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_float4.

abacus_long2 ABACUS_EXPORT_API __abacus_as_long2(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_as_ulong2(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_ulong2.

abacus_char16 ABACUS_EXPORT_API __abacus_as_char16(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_as_uchar16(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uchar16.

abacus_short8 ABACUS_EXPORT_API __abacus_as_short8(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_as_ushort8(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ushort8.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_long2 ABACUS_EXPORT_API __abacus_as_long2(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_as_ulong2(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_ulong2.

abacus_char16 ABACUS_EXPORT_API __abacus_as_char16(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_as_uchar16(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uchar16.

abacus_short8 ABACUS_EXPORT_API __abacus_as_short8(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_as_ushort8(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ushort8.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_long2 ABACUS_EXPORT_API __abacus_as_long2(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_as_ulong2(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_ulong2.

abacus_char16 ABACUS_EXPORT_API __abacus_as_char16(abacus_long2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_as_uchar16(abacus_long2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uchar16.

abacus_short8 ABACUS_EXPORT_API __abacus_as_short8(abacus_long2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_as_ushort8(abacus_long2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ushort8.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_long2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_long2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_long2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_float4.

abacus_long2 ABACUS_EXPORT_API __abacus_as_long2(abacus_long2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_as_ulong2(abacus_long2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_char16 ABACUS_EXPORT_API __abacus_as_char16(abacus_ulong2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_as_uchar16(abacus_ulong2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uchar16.

abacus_short8 ABACUS_EXPORT_API __abacus_as_short8(abacus_ulong2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_as_ushort8(abacus_ulong2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ushort8.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_ulong2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_ulong2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_ulong2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_float4.

abacus_long2 ABACUS_EXPORT_API __abacus_as_long2(abacus_ulong2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_as_ulong2(abacus_ulong2 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_short16 ABACUS_EXPORT_API __abacus_as_short16(abacus_short16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_as_ushort16(abacus_short16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_int8 ABACUS_EXPORT_API __abacus_as_int8(abacus_short16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_as_uint8(abacus_short16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_uint8.

abacus_float8 ABACUS_EXPORT_API __abacus_as_float8(abacus_short16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_float8.

abacus_long4 ABACUS_EXPORT_API __abacus_as_long4(abacus_short16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_as_ulong4(abacus_short16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ulong4.

abacus_short16 ABACUS_EXPORT_API __abacus_as_short16(abacus_ushort16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_as_ushort16(abacus_ushort16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_int8 ABACUS_EXPORT_API __abacus_as_int8(abacus_ushort16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_as_uint8(abacus_ushort16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_uint8.

abacus_float8 ABACUS_EXPORT_API __abacus_as_float8(abacus_ushort16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_float8.

abacus_long4 ABACUS_EXPORT_API __abacus_as_long4(abacus_ushort16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_as_ulong4(abacus_ushort16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ulong4.

abacus_short16 ABACUS_EXPORT_API __abacus_as_short16(abacus_int8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_as_ushort16(abacus_int8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ushort16.

abacus_int8 ABACUS_EXPORT_API __abacus_as_int8(abacus_int8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_as_uint8(abacus_int8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_float8 ABACUS_EXPORT_API __abacus_as_float8(abacus_int8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_float8.

abacus_long4 ABACUS_EXPORT_API __abacus_as_long4(abacus_int8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_as_ulong4(abacus_int8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_ulong4.

abacus_short16 ABACUS_EXPORT_API __abacus_as_short16(abacus_uint8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_as_ushort16(abacus_uint8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ushort16.

abacus_int8 ABACUS_EXPORT_API __abacus_as_int8(abacus_uint8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_as_uint8(abacus_uint8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_float8 ABACUS_EXPORT_API __abacus_as_float8(abacus_uint8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_long4 ABACUS_EXPORT_API __abacus_as_long4(abacus_uint8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_as_ulong4(abacus_uint8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_ulong4.

abacus_short16 ABACUS_EXPORT_API __abacus_as_short16(abacus_float8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_as_ushort16(abacus_float8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ushort16.

abacus_int8 ABACUS_EXPORT_API __abacus_as_int8(abacus_float8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_as_uint8(abacus_float8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_float8 ABACUS_EXPORT_API __abacus_as_float8(abacus_float8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_long4 ABACUS_EXPORT_API __abacus_as_long4(abacus_float8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_as_ulong4(abacus_float8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_ulong4.

abacus_short16 ABACUS_EXPORT_API __abacus_as_short16(abacus_long4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_as_ushort16(abacus_long4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ushort16.

abacus_int8 ABACUS_EXPORT_API __abacus_as_int8(abacus_long4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_as_uint8(abacus_long4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_uint8.

abacus_float8 ABACUS_EXPORT_API __abacus_as_float8(abacus_long4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_float8.

abacus_long4 ABACUS_EXPORT_API __abacus_as_long4(abacus_long4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_as_ulong4(abacus_long4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_short16 ABACUS_EXPORT_API __abacus_as_short16(abacus_ulong4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_as_ushort16(abacus_ulong4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ushort16.

abacus_int8 ABACUS_EXPORT_API __abacus_as_int8(abacus_ulong4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_as_uint8(abacus_ulong4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_uint8.

abacus_float8 ABACUS_EXPORT_API __abacus_as_float8(abacus_ulong4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_float8.

abacus_long4 ABACUS_EXPORT_API __abacus_as_long4(abacus_ulong4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_as_ulong4(abacus_ulong4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_int16 ABACUS_EXPORT_API __abacus_as_int16(abacus_int16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_uint16 ABACUS_EXPORT_API __abacus_as_uint16(abacus_int16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_float16 ABACUS_EXPORT_API __abacus_as_float16(abacus_int16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_float16.

abacus_long8 ABACUS_EXPORT_API __abacus_as_long8(abacus_int16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_long8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_as_ulong8(abacus_int16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_ulong8.

abacus_int16 ABACUS_EXPORT_API __abacus_as_int16(abacus_uint16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_uint16 ABACUS_EXPORT_API __abacus_as_uint16(abacus_uint16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_float16 ABACUS_EXPORT_API __abacus_as_float16(abacus_uint16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_long8 ABACUS_EXPORT_API __abacus_as_long8(abacus_uint16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_long8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_as_ulong8(abacus_uint16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_ulong8.

abacus_int16 ABACUS_EXPORT_API __abacus_as_int16(abacus_float16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_uint16 ABACUS_EXPORT_API __abacus_as_uint16(abacus_float16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_float16 ABACUS_EXPORT_API __abacus_as_float16(abacus_float16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_long8 ABACUS_EXPORT_API __abacus_as_long8(abacus_float16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_long8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_as_ulong8(abacus_float16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_ulong8.

abacus_int16 ABACUS_EXPORT_API __abacus_as_int16(abacus_long8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int16.

abacus_uint16 ABACUS_EXPORT_API __abacus_as_uint16(abacus_long8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_uint16.

abacus_float16 ABACUS_EXPORT_API __abacus_as_float16(abacus_long8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_float16.

abacus_long8 ABACUS_EXPORT_API __abacus_as_long8(abacus_long8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_as_ulong8(abacus_long8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_int16 ABACUS_EXPORT_API __abacus_as_int16(abacus_ulong8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_int16.

abacus_uint16 ABACUS_EXPORT_API __abacus_as_uint16(abacus_ulong8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_uint16.

abacus_float16 ABACUS_EXPORT_API __abacus_as_float16(abacus_ulong8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_float16.

abacus_long8 ABACUS_EXPORT_API __abacus_as_long8(abacus_ulong8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_as_ulong8(abacus_ulong8 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_long16 ABACUS_EXPORT_API __abacus_as_long16(abacus_long16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_as_ulong16(abacus_long16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_long16 ABACUS_EXPORT_API __abacus_as_long16(abacus_ulong16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_as_ulong16(abacus_ulong16 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_char4 ABACUS_EXPORT_API __abacus_as_char4(abacus_char3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char4.

abacus_char3 ABACUS_EXPORT_API __abacus_as_char3(abacus_char4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char3.

abacus_short4 ABACUS_EXPORT_API __abacus_as_short4(abacus_short3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short4.

abacus_short3 ABACUS_EXPORT_API __abacus_as_short3(abacus_short4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short3.

abacus_int4 ABACUS_EXPORT_API __abacus_as_int4(abacus_int3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int4.

abacus_int3 ABACUS_EXPORT_API __abacus_as_int3(abacus_int4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int3.

abacus_long4 ABACUS_EXPORT_API __abacus_as_long4(abacus_long3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long4.

abacus_long3 ABACUS_EXPORT_API __abacus_as_long3(abacus_long4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_as_uchar4(abacus_uchar3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar4.

abacus_uchar3 ABACUS_EXPORT_API __abacus_as_uchar3(abacus_uchar4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_as_ushort4(abacus_ushort3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort4.

abacus_ushort3 ABACUS_EXPORT_API __abacus_as_ushort3(abacus_ushort4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort3.

abacus_uint4 ABACUS_EXPORT_API __abacus_as_uint4(abacus_uint3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint4.

abacus_uint3 ABACUS_EXPORT_API __abacus_as_uint3(abacus_uint4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_as_ulong4(abacus_ulong3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong4.

abacus_ulong3 ABACUS_EXPORT_API __abacus_as_ulong3(abacus_ulong4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong3.

abacus_float4 ABACUS_EXPORT_API __abacus_as_float4(abacus_float3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float4.

abacus_float3 ABACUS_EXPORT_API __abacus_as_float3(abacus_float4 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_as_uchar3(abacus_char3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_char3 ABACUS_EXPORT_API __abacus_as_char3(abacus_uchar3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_as_ushort3(abacus_short3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_short3 ABACUS_EXPORT_API __abacus_as_short3(abacus_ushort3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_uint3 ABACUS_EXPORT_API __abacus_as_uint3(abacus_int3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_int3 ABACUS_EXPORT_API __abacus_as_int3(abacus_uint3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_as_ulong3(abacus_long3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_long3 ABACUS_EXPORT_API __abacus_as_long3(abacus_ulong3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_float3 ABACUS_EXPORT_API __abacus_as_float3(abacus_int3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_as_int3(abacus_float3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_float3 ABACUS_EXPORT_API __abacus_as_float3(abacus_uint3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_uint3 ABACUS_EXPORT_API __abacus_as_uint3(abacus_float3 x)

Bitcast.

Standards compliant implementation of OpenCL 1.2 as.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/as_typen.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_uint3.

abacus common

group abacus_common

Functions

abacus_float ABACUS_EXPORT_API __abacus_clamp(abacus_float x, abacus_float y, abacus_float z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • z[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_degrees(abacus_float x)

Converts radians to degrees.

Standards compliant implementation of OpenCL 1.2 degrees.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/degrees.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_max(abacus_float x, abacus_float y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_min(abacus_float x, abacus_float y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_mix(abacus_float x, abacus_float y, abacus_float a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • a[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_radians(abacus_float x)

Converts degrees to radians.

Standards compliant implementation of OpenCL 1.2 radians.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/radians.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_sign(abacus_float x)

Sign of a value.

Standards compliant implementation of OpenCL 1.2 sign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sign.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API sign(abacus_float x)

Wrapper for __abacus_sign.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_smoothstep(abacus_float x, abacus_float y, abacus_float a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • a[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_step(abacus_float e, abacus_float x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float.

  • x[in] A abacus_float.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_clamp(abacus_float2 x, abacus_float2 y, abacus_float2 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • z[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_degrees(abacus_float2 x)

Converts radians to degrees.

Standards compliant implementation of OpenCL 1.2 degrees.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/degrees.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_max(abacus_float2 x, abacus_float2 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_min(abacus_float2 x, abacus_float2 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_mix(abacus_float2 x, abacus_float2 y, abacus_float2 a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • a[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_radians(abacus_float2 x)

Converts degrees to radians.

Standards compliant implementation of OpenCL 1.2 radians.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/radians.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_sign(abacus_float2 x)

Sign of a value.

Standards compliant implementation of OpenCL 1.2 sign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sign.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API sign(abacus_float2 x)

Wrapper for __abacus_sign.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float2 x, abacus_float2 y, abacus_float2 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • a[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_step(abacus_float2 e, abacus_float2 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float2.

  • x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_clamp(abacus_float3 x, abacus_float3 y, abacus_float3 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • z[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_degrees(abacus_float3 x)

Converts radians to degrees.

Standards compliant implementation of OpenCL 1.2 degrees.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/degrees.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_max(abacus_float3 x, abacus_float3 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_min(abacus_float3 x, abacus_float3 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_mix(abacus_float3 x, abacus_float3 y, abacus_float3 a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • a[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_radians(abacus_float3 x)

Converts degrees to radians.

Standards compliant implementation of OpenCL 1.2 radians.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/radians.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_sign(abacus_float3 x)

Sign of a value.

Standards compliant implementation of OpenCL 1.2 sign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sign.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API sign(abacus_float3 x)

Wrapper for __abacus_sign.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float3 x, abacus_float3 y, abacus_float3 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • a[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_step(abacus_float3 e, abacus_float3 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float3.

  • x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_clamp(abacus_float4 x, abacus_float4 y, abacus_float4 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • z[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_degrees(abacus_float4 x)

Converts radians to degrees.

Standards compliant implementation of OpenCL 1.2 degrees.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/degrees.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_max(abacus_float4 x, abacus_float4 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_min(abacus_float4 x, abacus_float4 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_mix(abacus_float4 x, abacus_float4 y, abacus_float4 a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • a[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_radians(abacus_float4 x)

Converts degrees to radians.

Standards compliant implementation of OpenCL 1.2 radians.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/radians.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_sign(abacus_float4 x)

Sign of a value.

Standards compliant implementation of OpenCL 1.2 sign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sign.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API sign(abacus_float4 x)

Wrapper for __abacus_sign.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float4 x, abacus_float4 y, abacus_float4 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • a[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_step(abacus_float4 e, abacus_float4 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float4.

  • x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_clamp(abacus_float8 x, abacus_float8 y, abacus_float8 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • z[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_degrees(abacus_float8 x)

Converts radians to degrees.

Standards compliant implementation of OpenCL 1.2 degrees.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/degrees.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_max(abacus_float8 x, abacus_float8 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_min(abacus_float8 x, abacus_float8 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_mix(abacus_float8 x, abacus_float8 y, abacus_float8 a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • a[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_radians(abacus_float8 x)

Converts degrees to radians.

Standards compliant implementation of OpenCL 1.2 radians.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/radians.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_sign(abacus_float8 x)

Sign of a value.

Standards compliant implementation of OpenCL 1.2 sign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sign.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API sign(abacus_float8 x)

Wrapper for __abacus_sign.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float8 x, abacus_float8 y, abacus_float8 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • a[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_step(abacus_float8 e, abacus_float8 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float8.

  • x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_clamp(abacus_float16 x, abacus_float16 y, abacus_float16 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • z[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_degrees(abacus_float16 x)

Converts radians to degrees.

Standards compliant implementation of OpenCL 1.2 degrees.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/degrees.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_max(abacus_float16 x, abacus_float16 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_min(abacus_float16 x, abacus_float16 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_mix(abacus_float16 x, abacus_float16 y, abacus_float16 a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • a[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_radians(abacus_float16 x)

Converts degrees to radians.

Standards compliant implementation of OpenCL 1.2 radians.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/radians.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_sign(abacus_float16 x)

Sign of a value.

Standards compliant implementation of OpenCL 1.2 sign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sign.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API sign(abacus_float16 x)

Wrapper for __abacus_sign.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float16 x, abacus_float16 y, abacus_float16 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • a[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_step(abacus_float16 e, abacus_float16 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float16.

  • x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float2 ABACUS_EXPORT_API __abacus_clamp(abacus_float2 x, abacus_float y, abacus_float z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float.

  • z[in] A abacus_float.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_max(abacus_float2 x, abacus_float y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_min(abacus_float2 x, abacus_float y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_mix(abacus_float2 x, abacus_float2 y, abacus_float a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • a[in] A abacus_float.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float x, abacus_float y, abacus_float2 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • a[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_step(abacus_float e, abacus_float2 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float.

  • x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_clamp(abacus_float3 x, abacus_float y, abacus_float z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float.

  • z[in] A abacus_float.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_max(abacus_float3 x, abacus_float y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_min(abacus_float3 x, abacus_float y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_mix(abacus_float3 x, abacus_float3 y, abacus_float a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • a[in] A abacus_float.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float x, abacus_float y, abacus_float3 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • a[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_step(abacus_float e, abacus_float3 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float.

  • x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_clamp(abacus_float4 x, abacus_float y, abacus_float z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float.

  • z[in] A abacus_float.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_max(abacus_float4 x, abacus_float y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_min(abacus_float4 x, abacus_float y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_mix(abacus_float4 x, abacus_float4 y, abacus_float a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • a[in] A abacus_float.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float x, abacus_float y, abacus_float4 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • a[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_step(abacus_float e, abacus_float4 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float.

  • x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_clamp(abacus_float8 x, abacus_float y, abacus_float z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float.

  • z[in] A abacus_float.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_max(abacus_float8 x, abacus_float y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_min(abacus_float8 x, abacus_float y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_mix(abacus_float8 x, abacus_float8 y, abacus_float a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • a[in] A abacus_float.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float x, abacus_float y, abacus_float8 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • a[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_step(abacus_float e, abacus_float8 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float.

  • x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_clamp(abacus_float16 x, abacus_float y, abacus_float z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clamp.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float.

  • z[in] A abacus_float.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_max(abacus_float16 x, abacus_float y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/max.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_min(abacus_float16 x, abacus_float y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/min.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_mix(abacus_float16 x, abacus_float16 y, abacus_float a)

Linear blend of x and y.

x + (y - x) * a. a must be a value in the range 0.0 … 1.0. If a is not in the range 0.0 … 1.0, the return values are undefined.

Standards compliant implementation of OpenCL 1.2 mix.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mix.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • a[in] A abacus_float.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_smoothstep(abacus_float x, abacus_float y, abacus_float16 a)

Step and interpolate.

Returns 0.0 if a <= x and 1.0 if a >= y and performs smooth Hermite interpolation between 0 and 1 when x < a < y. Results are undefined if x >= y or if x, y or a is a NaN.

Standards compliant implementation of OpenCL 1.2 smoothstep.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/smoothstep.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • a[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_step(abacus_float e, abacus_float16 x)

Returns 0.0 if x < e, else 1.0.

Standards compliant implementation of OpenCL 1.2 step.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/step.html

Parameters
  • e[in] A abacus_float.

  • x[in] A abacus_float16.

Returns

A abacus_float16.

abacus config

Warning

doxygengroup: Cannot find group “abacus_config” in doxygen xml output for project “ComputeAorta” from directory: /home/runner/work/oneapi-construction-kit/oneapi-construction-kit/build_doc/doc/doxygen/xml

abacus geometric

group abacus_geometric

Functions

abacus_float ABACUS_EXPORT_API __abacus_dot(abacus_float x, abacus_float y)

Dot product.

Dot product of x and y.

Standards compliant implementation of OpenCL 1.2 dot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/dot.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_distance(abacus_float x, abacus_float y)

Vector distance.

This is calculated as length(x - y).

Standards compliant implementation of OpenCL 1.2 distance.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/distance.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_length(abacus_float x)

Vector length.

Standards compliant implementation of OpenCL 1.2 length.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/length.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_normalize(abacus_float x)

Vector in the same direction as x but with a length of 1.

Standards compliant implementation of OpenCL 1.2 normalize.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/normalize.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API normalize(abacus_float x)

Wrapper for __abacus_normalize.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fast_distance(abacus_float x, abacus_float y)

Vector distance.

This is calculated as fast_length(x - y).

Standards compliant implementation of OpenCL 1.2 fast_distance.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_distance.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fast_length(abacus_float x)

Vector length.

Standards compliant implementation of OpenCL 1.2 fast_length.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_length.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fast_normalize(abacus_float x)

Vector in the same direction as x but with a length of 1.

Standards compliant implementation of OpenCL 1.2 fast_normalize.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_normalize.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_dot(abacus_float2 x, abacus_float2 y)

Dot product.

Dot product of x and y.

Standards compliant implementation of OpenCL 1.2 dot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/dot.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_distance(abacus_float2 x, abacus_float2 y)

Vector distance.

This is calculated as length(x - y).

Standards compliant implementation of OpenCL 1.2 distance.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/distance.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_length(abacus_float2 x)

Vector length.

Standards compliant implementation of OpenCL 1.2 length.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/length.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_normalize(abacus_float2 x)

Vector in the same direction as x but with a length of 1.

Standards compliant implementation of OpenCL 1.2 normalize.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/normalize.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API normalize(abacus_float2 x)

Wrapper for __abacus_normalize.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float ABACUS_EXPORT_API __abacus_fast_distance(abacus_float2 x, abacus_float2 y)

Vector distance.

This is calculated as fast_length(x - y).

Standards compliant implementation of OpenCL 1.2 fast_distance.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_distance.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fast_length(abacus_float2 x)

Vector length.

Standards compliant implementation of OpenCL 1.2 fast_length.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_length.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_fast_normalize(abacus_float2 x)

Vector in the same direction as x but with a length of 1.

Standards compliant implementation of OpenCL 1.2 fast_normalize.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_normalize.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float ABACUS_EXPORT_API __abacus_dot(abacus_float3 x, abacus_float3 y)

Dot product.

Dot product of x and y.

Standards compliant implementation of OpenCL 1.2 dot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/dot.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_distance(abacus_float3 x, abacus_float3 y)

Vector distance.

This is calculated as length(x - y).

Standards compliant implementation of OpenCL 1.2 distance.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/distance.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_length(abacus_float3 x)

Vector length.

Standards compliant implementation of OpenCL 1.2 length.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/length.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float.

abacus_float3 ABACUS_EXPORT_API __abacus_normalize(abacus_float3 x)

Vector in the same direction as x but with a length of 1.

Standards compliant implementation of OpenCL 1.2 normalize.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/normalize.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API normalize(abacus_float3 x)

Wrapper for __abacus_normalize.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float ABACUS_EXPORT_API __abacus_fast_distance(abacus_float3 x, abacus_float3 y)

Vector distance.

This is calculated as fast_length(x - y).

Standards compliant implementation of OpenCL 1.2 fast_distance.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_distance.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fast_length(abacus_float3 x)

Vector length.

Standards compliant implementation of OpenCL 1.2 fast_length.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_length.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float.

abacus_float3 ABACUS_EXPORT_API __abacus_fast_normalize(abacus_float3 x)

Vector in the same direction as x but with a length of 1.

Standards compliant implementation of OpenCL 1.2 fast_normalize.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_normalize.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float ABACUS_EXPORT_API __abacus_dot(abacus_float4 x, abacus_float4 y)

Dot product.

Dot product of x and y.

Standards compliant implementation of OpenCL 1.2 dot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/dot.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_distance(abacus_float4 x, abacus_float4 y)

Vector distance.

This is calculated as length(x - y).

Standards compliant implementation of OpenCL 1.2 distance.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/distance.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_length(abacus_float4 x)

Vector length.

Standards compliant implementation of OpenCL 1.2 length.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/length.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float.

abacus_float4 ABACUS_EXPORT_API __abacus_normalize(abacus_float4 x)

Vector in the same direction as x but with a length of 1.

Standards compliant implementation of OpenCL 1.2 normalize.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/normalize.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API normalize(abacus_float4 x)

Wrapper for __abacus_normalize.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float ABACUS_EXPORT_API __abacus_fast_distance(abacus_float4 x, abacus_float4 y)

Vector distance.

This is calculated as fast_length(x - y).

Standards compliant implementation of OpenCL 1.2 fast_distance.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_distance.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fast_length(abacus_float4 x)

Vector length.

Standards compliant implementation of OpenCL 1.2 fast_length.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_length.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float.

abacus_float4 ABACUS_EXPORT_API __abacus_fast_normalize(abacus_float4 x)

Vector in the same direction as x but with a length of 1.

Standards compliant implementation of OpenCL 1.2 fast_normalize.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fast_normalize.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float3 ABACUS_EXPORT_API __abacus_cross(abacus_float3 x, abacus_float3 y)

Cross product.

Cross product of x and y. The .w components of x and y are ignored, and the result .w is 0.

Standards compliant implementation of OpenCL 1.2 cross.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cross.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API cross(abacus_float3 x, abacus_float3 y)

Wrapper for __abacus_cross.

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_cross(abacus_float4 x, abacus_float4 y)

Cross product.

Cross product of x and y. The .w components of x and y are ignored, and the result .w is 0.

Standards compliant implementation of OpenCL 1.2 cross.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cross.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API cross(abacus_float4 x, abacus_float4 y)

Wrapper for __abacus_cross.

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus integer

group abacus_integer

Functions

abacus_uchar ABACUS_EXPORT_API __abacus_abs(abacus_char x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_abs(abacus_uchar x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_abs_diff(abacus_char x, abacus_char y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_abs_diff(abacus_uchar x, abacus_uchar y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_abs(abacus_char2 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_abs(abacus_uchar2 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_abs_diff(abacus_char2 x, abacus_char2 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uchar2 x, abacus_uchar2 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_abs(abacus_char3 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_abs(abacus_uchar3 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_abs_diff(abacus_char3 x, abacus_char3 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uchar3 x, abacus_uchar3 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_abs(abacus_char4 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_abs(abacus_uchar4 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_abs_diff(abacus_char4 x, abacus_char4 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uchar4 x, abacus_uchar4 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_abs(abacus_char8 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_abs(abacus_uchar8 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_abs_diff(abacus_char8 x, abacus_char8 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uchar8 x, abacus_uchar8 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_abs(abacus_char16 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_abs(abacus_uchar16 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_abs_diff(abacus_char16 x, abacus_char16 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uchar16 x, abacus_uchar16 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_abs(abacus_short x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_abs(abacus_ushort x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_abs_diff(abacus_short x, abacus_short y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_abs_diff(abacus_ushort x, abacus_ushort y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_abs(abacus_short2 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_abs(abacus_ushort2 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_abs_diff(abacus_short2 x, abacus_short2 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ushort2 x, abacus_ushort2 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_abs(abacus_short3 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_abs(abacus_ushort3 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_abs_diff(abacus_short3 x, abacus_short3 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ushort3 x, abacus_ushort3 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_abs(abacus_short4 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_abs(abacus_ushort4 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_abs_diff(abacus_short4 x, abacus_short4 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ushort4 x, abacus_ushort4 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_abs(abacus_short8 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_abs(abacus_ushort8 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_abs_diff(abacus_short8 x, abacus_short8 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ushort8 x, abacus_ushort8 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_abs(abacus_short16 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_abs(abacus_ushort16 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_abs_diff(abacus_short16 x, abacus_short16 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ushort16 x, abacus_ushort16 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_abs(abacus_int x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_abs(abacus_uint x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_abs_diff(abacus_int x, abacus_int y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_abs_diff(abacus_uint x, abacus_uint y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_abs(abacus_int2 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_abs(abacus_uint2 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_abs_diff(abacus_int2 x, abacus_int2 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uint2 x, abacus_uint2 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_abs(abacus_int3 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_abs(abacus_uint3 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_abs_diff(abacus_int3 x, abacus_int3 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uint3 x, abacus_uint3 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_abs(abacus_int4 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_abs(abacus_uint4 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_abs_diff(abacus_int4 x, abacus_int4 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uint4 x, abacus_uint4 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_abs(abacus_int8 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_abs(abacus_uint8 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_abs_diff(abacus_int8 x, abacus_int8 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uint8 x, abacus_uint8 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_abs(abacus_int16 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_abs(abacus_uint16 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_abs_diff(abacus_int16 x, abacus_int16 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_abs_diff(abacus_uint16 x, abacus_uint16 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_abs(abacus_long x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_abs(abacus_ulong x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_abs_diff(abacus_long x, abacus_long y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_abs_diff(abacus_ulong x, abacus_ulong y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_abs(abacus_long2 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_abs(abacus_ulong2 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_abs_diff(abacus_long2 x, abacus_long2 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ulong2 x, abacus_ulong2 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_abs(abacus_long3 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_abs(abacus_ulong3 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_abs_diff(abacus_long3 x, abacus_long3 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ulong3 x, abacus_ulong3 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_abs(abacus_long4 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_abs(abacus_ulong4 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_abs_diff(abacus_long4 x, abacus_long4 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ulong4 x, abacus_ulong4 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_abs(abacus_long8 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_abs(abacus_ulong8 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_abs_diff(abacus_long8 x, abacus_long8 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ulong8 x, abacus_ulong8 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_abs(abacus_long16 x)

|x|

The absolute value of x.

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_abs(abacus_ulong16 x)

x

The absolute value of x (which is x since x is an unsigned type).

Standards compliant implementation of OpenCL 1.2 abs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_abs_diff(abacus_long16 x, abacus_long16 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_abs_diff(abacus_ulong16 x, abacus_ulong16 y)

|x - y| without modulo overflow.

The absolute value of x - y, without modulo overflow.

Standards compliant implementation of OpenCL 1.2 abs_diff.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/abs.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_char ABACUS_EXPORT_API __abacus_add_sat(abacus_char x, abacus_char y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_clz(abacus_char x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_ctz(abacus_char x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_clamp(abacus_char x, abacus_char y, abacus_char z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

  • z[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_hadd(abacus_char x, abacus_char y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_max(abacus_char x, abacus_char y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_min(abacus_char x, abacus_char y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_mad_hi(abacus_char x, abacus_char y, abacus_char z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

  • z[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_mad_sat(abacus_char x, abacus_char y, abacus_char z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

  • z[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_mul_hi(abacus_char x, abacus_char y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_popcount(abacus_char x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_rhadd(abacus_char x, abacus_char y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_rotate(abacus_char x, abacus_char y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_sub_sat(abacus_char x, abacus_char y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_char.

  • y[in] A abacus_char.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_add_sat(abacus_char2 x, abacus_char2 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_clz(abacus_char2 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_ctz(abacus_char2 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_clamp(abacus_char2 x, abacus_char2 y, abacus_char2 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

  • z[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_hadd(abacus_char2 x, abacus_char2 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_max(abacus_char2 x, abacus_char2 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_min(abacus_char2 x, abacus_char2 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_mad_hi(abacus_char2 x, abacus_char2 y, abacus_char2 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

  • z[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_mad_sat(abacus_char2 x, abacus_char2 y, abacus_char2 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

  • z[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_mul_hi(abacus_char2 x, abacus_char2 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_popcount(abacus_char2 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_rhadd(abacus_char2 x, abacus_char2 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_rotate(abacus_char2 x, abacus_char2 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_sub_sat(abacus_char2 x, abacus_char2 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_add_sat(abacus_char3 x, abacus_char3 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_clz(abacus_char3 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_ctz(abacus_char3 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_clamp(abacus_char3 x, abacus_char3 y, abacus_char3 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

  • z[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_hadd(abacus_char3 x, abacus_char3 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_max(abacus_char3 x, abacus_char3 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_min(abacus_char3 x, abacus_char3 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_mad_hi(abacus_char3 x, abacus_char3 y, abacus_char3 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

  • z[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_mad_sat(abacus_char3 x, abacus_char3 y, abacus_char3 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

  • z[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_mul_hi(abacus_char3 x, abacus_char3 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_popcount(abacus_char3 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_rhadd(abacus_char3 x, abacus_char3 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_rotate(abacus_char3 x, abacus_char3 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_sub_sat(abacus_char3 x, abacus_char3 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_add_sat(abacus_char4 x, abacus_char4 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_clz(abacus_char4 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_ctz(abacus_char4 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_clamp(abacus_char4 x, abacus_char4 y, abacus_char4 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

  • z[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_hadd(abacus_char4 x, abacus_char4 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_max(abacus_char4 x, abacus_char4 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_min(abacus_char4 x, abacus_char4 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_mad_hi(abacus_char4 x, abacus_char4 y, abacus_char4 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

  • z[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_mad_sat(abacus_char4 x, abacus_char4 y, abacus_char4 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

  • z[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_mul_hi(abacus_char4 x, abacus_char4 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_popcount(abacus_char4 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_rhadd(abacus_char4 x, abacus_char4 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_rotate(abacus_char4 x, abacus_char4 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_sub_sat(abacus_char4 x, abacus_char4 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_add_sat(abacus_char8 x, abacus_char8 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_clz(abacus_char8 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_ctz(abacus_char8 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_clamp(abacus_char8 x, abacus_char8 y, abacus_char8 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

  • z[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_hadd(abacus_char8 x, abacus_char8 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_max(abacus_char8 x, abacus_char8 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_min(abacus_char8 x, abacus_char8 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_mad_hi(abacus_char8 x, abacus_char8 y, abacus_char8 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

  • z[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_mad_sat(abacus_char8 x, abacus_char8 y, abacus_char8 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

  • z[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_mul_hi(abacus_char8 x, abacus_char8 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_popcount(abacus_char8 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_rhadd(abacus_char8 x, abacus_char8 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_rotate(abacus_char8 x, abacus_char8 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_sub_sat(abacus_char8 x, abacus_char8 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_add_sat(abacus_char16 x, abacus_char16 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_clz(abacus_char16 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_ctz(abacus_char16 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_clamp(abacus_char16 x, abacus_char16 y, abacus_char16 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

  • z[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_hadd(abacus_char16 x, abacus_char16 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_max(abacus_char16 x, abacus_char16 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_min(abacus_char16 x, abacus_char16 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_mad_hi(abacus_char16 x, abacus_char16 y, abacus_char16 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

  • z[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_mad_sat(abacus_char16 x, abacus_char16 y, abacus_char16 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

  • z[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_mul_hi(abacus_char16 x, abacus_char16 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_popcount(abacus_char16 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_rhadd(abacus_char16 x, abacus_char16 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_rotate(abacus_char16 x, abacus_char16 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_sub_sat(abacus_char16 x, abacus_char16 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_add_sat(abacus_short x, abacus_short y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_clz(abacus_short x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_ctz(abacus_short x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_clamp(abacus_short x, abacus_short y, abacus_short z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

  • z[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_hadd(abacus_short x, abacus_short y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_max(abacus_short x, abacus_short y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_min(abacus_short x, abacus_short y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_mad_hi(abacus_short x, abacus_short y, abacus_short z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

  • z[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_mad_sat(abacus_short x, abacus_short y, abacus_short z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

  • z[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_mul_hi(abacus_short x, abacus_short y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_popcount(abacus_short x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_rhadd(abacus_short x, abacus_short y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_rotate(abacus_short x, abacus_short y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_sub_sat(abacus_short x, abacus_short y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_short.

  • y[in] A abacus_short.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_add_sat(abacus_short2 x, abacus_short2 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_clz(abacus_short2 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_ctz(abacus_short2 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_clamp(abacus_short2 x, abacus_short2 y, abacus_short2 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

  • z[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_hadd(abacus_short2 x, abacus_short2 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_max(abacus_short2 x, abacus_short2 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_min(abacus_short2 x, abacus_short2 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_mad_hi(abacus_short2 x, abacus_short2 y, abacus_short2 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

  • z[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_mad_sat(abacus_short2 x, abacus_short2 y, abacus_short2 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

  • z[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_mul_hi(abacus_short2 x, abacus_short2 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_popcount(abacus_short2 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_rhadd(abacus_short2 x, abacus_short2 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_rotate(abacus_short2 x, abacus_short2 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_sub_sat(abacus_short2 x, abacus_short2 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_add_sat(abacus_short3 x, abacus_short3 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_clz(abacus_short3 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_ctz(abacus_short3 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_clamp(abacus_short3 x, abacus_short3 y, abacus_short3 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

  • z[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_hadd(abacus_short3 x, abacus_short3 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_max(abacus_short3 x, abacus_short3 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_min(abacus_short3 x, abacus_short3 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_mad_hi(abacus_short3 x, abacus_short3 y, abacus_short3 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

  • z[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_mad_sat(abacus_short3 x, abacus_short3 y, abacus_short3 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

  • z[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_mul_hi(abacus_short3 x, abacus_short3 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_popcount(abacus_short3 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_rhadd(abacus_short3 x, abacus_short3 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_rotate(abacus_short3 x, abacus_short3 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_sub_sat(abacus_short3 x, abacus_short3 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_add_sat(abacus_short4 x, abacus_short4 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_clz(abacus_short4 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_ctz(abacus_short4 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_clamp(abacus_short4 x, abacus_short4 y, abacus_short4 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

  • z[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_hadd(abacus_short4 x, abacus_short4 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_max(abacus_short4 x, abacus_short4 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_min(abacus_short4 x, abacus_short4 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_mad_hi(abacus_short4 x, abacus_short4 y, abacus_short4 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

  • z[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_mad_sat(abacus_short4 x, abacus_short4 y, abacus_short4 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

  • z[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_mul_hi(abacus_short4 x, abacus_short4 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_popcount(abacus_short4 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_rhadd(abacus_short4 x, abacus_short4 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_rotate(abacus_short4 x, abacus_short4 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_sub_sat(abacus_short4 x, abacus_short4 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_add_sat(abacus_short8 x, abacus_short8 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_clz(abacus_short8 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_ctz(abacus_short8 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_clamp(abacus_short8 x, abacus_short8 y, abacus_short8 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

  • z[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_hadd(abacus_short8 x, abacus_short8 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_max(abacus_short8 x, abacus_short8 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_min(abacus_short8 x, abacus_short8 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_mad_hi(abacus_short8 x, abacus_short8 y, abacus_short8 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

  • z[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_mad_sat(abacus_short8 x, abacus_short8 y, abacus_short8 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

  • z[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_mul_hi(abacus_short8 x, abacus_short8 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_popcount(abacus_short8 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_rhadd(abacus_short8 x, abacus_short8 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_rotate(abacus_short8 x, abacus_short8 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_sub_sat(abacus_short8 x, abacus_short8 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_add_sat(abacus_short16 x, abacus_short16 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_clz(abacus_short16 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_ctz(abacus_short16 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_clamp(abacus_short16 x, abacus_short16 y, abacus_short16 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

  • z[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_hadd(abacus_short16 x, abacus_short16 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_max(abacus_short16 x, abacus_short16 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_min(abacus_short16 x, abacus_short16 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_mad_hi(abacus_short16 x, abacus_short16 y, abacus_short16 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

  • z[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_mad_sat(abacus_short16 x, abacus_short16 y, abacus_short16 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

  • z[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_mul_hi(abacus_short16 x, abacus_short16 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_popcount(abacus_short16 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_rhadd(abacus_short16 x, abacus_short16 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_rotate(abacus_short16 x, abacus_short16 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_sub_sat(abacus_short16 x, abacus_short16 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_add_sat(abacus_int x, abacus_int y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_clz(abacus_int x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_ctz(abacus_int x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_clamp(abacus_int x, abacus_int y, abacus_int z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

  • z[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_hadd(abacus_int x, abacus_int y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_max(abacus_int x, abacus_int y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_min(abacus_int x, abacus_int y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_mad_hi(abacus_int x, abacus_int y, abacus_int z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

  • z[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_mad_sat(abacus_int x, abacus_int y, abacus_int z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

  • z[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_mul_hi(abacus_int x, abacus_int y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_popcount(abacus_int x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_rhadd(abacus_int x, abacus_int y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_rotate(abacus_int x, abacus_int y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_sub_sat(abacus_int x, abacus_int y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_add_sat(abacus_int2 x, abacus_int2 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_clz(abacus_int2 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_ctz(abacus_int2 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_clamp(abacus_int2 x, abacus_int2 y, abacus_int2 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

  • z[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_hadd(abacus_int2 x, abacus_int2 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_max(abacus_int2 x, abacus_int2 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_min(abacus_int2 x, abacus_int2 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_mad_hi(abacus_int2 x, abacus_int2 y, abacus_int2 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

  • z[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_mad_sat(abacus_int2 x, abacus_int2 y, abacus_int2 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

  • z[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_mul_hi(abacus_int2 x, abacus_int2 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_popcount(abacus_int2 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_rhadd(abacus_int2 x, abacus_int2 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_rotate(abacus_int2 x, abacus_int2 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_sub_sat(abacus_int2 x, abacus_int2 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_add_sat(abacus_int3 x, abacus_int3 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_clz(abacus_int3 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_ctz(abacus_int3 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_clamp(abacus_int3 x, abacus_int3 y, abacus_int3 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

  • z[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_hadd(abacus_int3 x, abacus_int3 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_max(abacus_int3 x, abacus_int3 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_min(abacus_int3 x, abacus_int3 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_mad_hi(abacus_int3 x, abacus_int3 y, abacus_int3 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

  • z[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_mad_sat(abacus_int3 x, abacus_int3 y, abacus_int3 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

  • z[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_mul_hi(abacus_int3 x, abacus_int3 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_popcount(abacus_int3 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_rhadd(abacus_int3 x, abacus_int3 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_rotate(abacus_int3 x, abacus_int3 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_sub_sat(abacus_int3 x, abacus_int3 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_add_sat(abacus_int4 x, abacus_int4 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_clz(abacus_int4 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_ctz(abacus_int4 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_clamp(abacus_int4 x, abacus_int4 y, abacus_int4 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

  • z[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_hadd(abacus_int4 x, abacus_int4 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_max(abacus_int4 x, abacus_int4 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_min(abacus_int4 x, abacus_int4 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_mad_hi(abacus_int4 x, abacus_int4 y, abacus_int4 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

  • z[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_mad_sat(abacus_int4 x, abacus_int4 y, abacus_int4 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

  • z[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_mul_hi(abacus_int4 x, abacus_int4 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_popcount(abacus_int4 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_rhadd(abacus_int4 x, abacus_int4 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_rotate(abacus_int4 x, abacus_int4 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_sub_sat(abacus_int4 x, abacus_int4 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_add_sat(abacus_int8 x, abacus_int8 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_clz(abacus_int8 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_ctz(abacus_int8 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_clamp(abacus_int8 x, abacus_int8 y, abacus_int8 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

  • z[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_hadd(abacus_int8 x, abacus_int8 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_max(abacus_int8 x, abacus_int8 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_min(abacus_int8 x, abacus_int8 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_mad_hi(abacus_int8 x, abacus_int8 y, abacus_int8 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

  • z[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_mad_sat(abacus_int8 x, abacus_int8 y, abacus_int8 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

  • z[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_mul_hi(abacus_int8 x, abacus_int8 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_popcount(abacus_int8 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_rhadd(abacus_int8 x, abacus_int8 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_rotate(abacus_int8 x, abacus_int8 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_sub_sat(abacus_int8 x, abacus_int8 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_add_sat(abacus_int16 x, abacus_int16 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_clz(abacus_int16 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_ctz(abacus_int16 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_clamp(abacus_int16 x, abacus_int16 y, abacus_int16 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

  • z[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_hadd(abacus_int16 x, abacus_int16 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_max(abacus_int16 x, abacus_int16 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_min(abacus_int16 x, abacus_int16 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_mad_hi(abacus_int16 x, abacus_int16 y, abacus_int16 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

  • z[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_mad_sat(abacus_int16 x, abacus_int16 y, abacus_int16 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

  • z[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_mul_hi(abacus_int16 x, abacus_int16 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_popcount(abacus_int16 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_rhadd(abacus_int16 x, abacus_int16 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_rotate(abacus_int16 x, abacus_int16 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_sub_sat(abacus_int16 x, abacus_int16 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_add_sat(abacus_long x, abacus_long y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_clz(abacus_long x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_ctz(abacus_long x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_clamp(abacus_long x, abacus_long y, abacus_long z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

  • z[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_hadd(abacus_long x, abacus_long y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_max(abacus_long x, abacus_long y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_min(abacus_long x, abacus_long y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_mad_hi(abacus_long x, abacus_long y, abacus_long z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

  • z[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_mad_sat(abacus_long x, abacus_long y, abacus_long z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

  • z[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_mul_hi(abacus_long x, abacus_long y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_popcount(abacus_long x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_rhadd(abacus_long x, abacus_long y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_rotate(abacus_long x, abacus_long y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_sub_sat(abacus_long x, abacus_long y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_long.

  • y[in] A abacus_long.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_add_sat(abacus_long2 x, abacus_long2 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_clz(abacus_long2 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_ctz(abacus_long2 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_clamp(abacus_long2 x, abacus_long2 y, abacus_long2 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

  • z[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_hadd(abacus_long2 x, abacus_long2 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_max(abacus_long2 x, abacus_long2 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_min(abacus_long2 x, abacus_long2 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_mad_hi(abacus_long2 x, abacus_long2 y, abacus_long2 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

  • z[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_mad_sat(abacus_long2 x, abacus_long2 y, abacus_long2 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

  • z[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_mul_hi(abacus_long2 x, abacus_long2 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_popcount(abacus_long2 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_rhadd(abacus_long2 x, abacus_long2 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_rotate(abacus_long2 x, abacus_long2 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_sub_sat(abacus_long2 x, abacus_long2 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_add_sat(abacus_long3 x, abacus_long3 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_clz(abacus_long3 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_ctz(abacus_long3 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_clamp(abacus_long3 x, abacus_long3 y, abacus_long3 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

  • z[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_hadd(abacus_long3 x, abacus_long3 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_max(abacus_long3 x, abacus_long3 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_min(abacus_long3 x, abacus_long3 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_mad_hi(abacus_long3 x, abacus_long3 y, abacus_long3 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

  • z[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_mad_sat(abacus_long3 x, abacus_long3 y, abacus_long3 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

  • z[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_mul_hi(abacus_long3 x, abacus_long3 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_popcount(abacus_long3 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_rhadd(abacus_long3 x, abacus_long3 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_rotate(abacus_long3 x, abacus_long3 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_sub_sat(abacus_long3 x, abacus_long3 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_add_sat(abacus_long4 x, abacus_long4 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_clz(abacus_long4 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_ctz(abacus_long4 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_clamp(abacus_long4 x, abacus_long4 y, abacus_long4 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

  • z[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_hadd(abacus_long4 x, abacus_long4 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_max(abacus_long4 x, abacus_long4 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_min(abacus_long4 x, abacus_long4 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_mad_hi(abacus_long4 x, abacus_long4 y, abacus_long4 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

  • z[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_mad_sat(abacus_long4 x, abacus_long4 y, abacus_long4 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

  • z[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_mul_hi(abacus_long4 x, abacus_long4 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_popcount(abacus_long4 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_rhadd(abacus_long4 x, abacus_long4 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_rotate(abacus_long4 x, abacus_long4 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_sub_sat(abacus_long4 x, abacus_long4 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_add_sat(abacus_long8 x, abacus_long8 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_clz(abacus_long8 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_ctz(abacus_long8 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_clamp(abacus_long8 x, abacus_long8 y, abacus_long8 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

  • z[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_hadd(abacus_long8 x, abacus_long8 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_max(abacus_long8 x, abacus_long8 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_min(abacus_long8 x, abacus_long8 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_mad_hi(abacus_long8 x, abacus_long8 y, abacus_long8 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

  • z[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_mad_sat(abacus_long8 x, abacus_long8 y, abacus_long8 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

  • z[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_mul_hi(abacus_long8 x, abacus_long8 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_popcount(abacus_long8 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_rhadd(abacus_long8 x, abacus_long8 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_rotate(abacus_long8 x, abacus_long8 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_sub_sat(abacus_long8 x, abacus_long8 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_add_sat(abacus_long16 x, abacus_long16 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_clz(abacus_long16 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_ctz(abacus_long16 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_clamp(abacus_long16 x, abacus_long16 y, abacus_long16 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

  • z[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_hadd(abacus_long16 x, abacus_long16 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_max(abacus_long16 x, abacus_long16 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_min(abacus_long16 x, abacus_long16 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_mad_hi(abacus_long16 x, abacus_long16 y, abacus_long16 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

  • z[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_mad_sat(abacus_long16 x, abacus_long16 y, abacus_long16 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

  • z[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_mul_hi(abacus_long16 x, abacus_long16 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_popcount(abacus_long16 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_rhadd(abacus_long16 x, abacus_long16 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_rotate(abacus_long16 x, abacus_long16 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_sub_sat(abacus_long16 x, abacus_long16 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

Returns

A abacus_long16.

abacus_uchar ABACUS_EXPORT_API __abacus_add_sat(abacus_uchar x, abacus_uchar y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_clz(abacus_uchar x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_ctz(abacus_uchar x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_clamp(abacus_uchar x, abacus_uchar y, abacus_uchar z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

  • z[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_hadd(abacus_uchar x, abacus_uchar y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_max(abacus_uchar x, abacus_uchar y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_min(abacus_uchar x, abacus_uchar y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_mad_hi(abacus_uchar x, abacus_uchar y, abacus_uchar z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

  • z[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_mad_sat(abacus_uchar x, abacus_uchar y, abacus_uchar z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

  • z[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_mul_hi(abacus_uchar x, abacus_uchar y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_popcount(abacus_uchar x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_rhadd(abacus_uchar x, abacus_uchar y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_rotate(abacus_uchar x, abacus_uchar y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_sub_sat(abacus_uchar x, abacus_uchar y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uchar.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_uchar2 ABACUS_EXPORT_API __abacus_add_sat(abacus_uchar2 x, abacus_uchar2 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_clz(abacus_uchar2 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_ctz(abacus_uchar2 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar2 x, abacus_uchar2 y, abacus_uchar2 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

  • z[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_hadd(abacus_uchar2 x, abacus_uchar2 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_max(abacus_uchar2 x, abacus_uchar2 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_min(abacus_uchar2 x, abacus_uchar2 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uchar2 x, abacus_uchar2 y, abacus_uchar2 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

  • z[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uchar2 x, abacus_uchar2 y, abacus_uchar2 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

  • z[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uchar2 x, abacus_uchar2 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_popcount(abacus_uchar2 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_rhadd(abacus_uchar2 x, abacus_uchar2 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_rotate(abacus_uchar2 x, abacus_uchar2 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uchar2 x, abacus_uchar2 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_add_sat(abacus_uchar3 x, abacus_uchar3 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_clz(abacus_uchar3 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_ctz(abacus_uchar3 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar3 x, abacus_uchar3 y, abacus_uchar3 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

  • z[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_hadd(abacus_uchar3 x, abacus_uchar3 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_max(abacus_uchar3 x, abacus_uchar3 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_min(abacus_uchar3 x, abacus_uchar3 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uchar3 x, abacus_uchar3 y, abacus_uchar3 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

  • z[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uchar3 x, abacus_uchar3 y, abacus_uchar3 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

  • z[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uchar3 x, abacus_uchar3 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_popcount(abacus_uchar3 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_rhadd(abacus_uchar3 x, abacus_uchar3 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_rotate(abacus_uchar3 x, abacus_uchar3 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uchar3 x, abacus_uchar3 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_add_sat(abacus_uchar4 x, abacus_uchar4 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_clz(abacus_uchar4 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_ctz(abacus_uchar4 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar4 x, abacus_uchar4 y, abacus_uchar4 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

  • z[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_hadd(abacus_uchar4 x, abacus_uchar4 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_max(abacus_uchar4 x, abacus_uchar4 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_min(abacus_uchar4 x, abacus_uchar4 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uchar4 x, abacus_uchar4 y, abacus_uchar4 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

  • z[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uchar4 x, abacus_uchar4 y, abacus_uchar4 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

  • z[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uchar4 x, abacus_uchar4 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_popcount(abacus_uchar4 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_rhadd(abacus_uchar4 x, abacus_uchar4 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_rotate(abacus_uchar4 x, abacus_uchar4 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uchar4 x, abacus_uchar4 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_add_sat(abacus_uchar8 x, abacus_uchar8 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_clz(abacus_uchar8 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_ctz(abacus_uchar8 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar8 x, abacus_uchar8 y, abacus_uchar8 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

  • z[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_hadd(abacus_uchar8 x, abacus_uchar8 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_max(abacus_uchar8 x, abacus_uchar8 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_min(abacus_uchar8 x, abacus_uchar8 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uchar8 x, abacus_uchar8 y, abacus_uchar8 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

  • z[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uchar8 x, abacus_uchar8 y, abacus_uchar8 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

  • z[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uchar8 x, abacus_uchar8 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_popcount(abacus_uchar8 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_rhadd(abacus_uchar8 x, abacus_uchar8 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_rotate(abacus_uchar8 x, abacus_uchar8 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uchar8 x, abacus_uchar8 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_add_sat(abacus_uchar16 x, abacus_uchar16 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_clz(abacus_uchar16 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_ctz(abacus_uchar16 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar16 x, abacus_uchar16 y, abacus_uchar16 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

  • z[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_hadd(abacus_uchar16 x, abacus_uchar16 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_max(abacus_uchar16 x, abacus_uchar16 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_min(abacus_uchar16 x, abacus_uchar16 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uchar16 x, abacus_uchar16 y, abacus_uchar16 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

  • z[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uchar16 x, abacus_uchar16 y, abacus_uchar16 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

  • z[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uchar16 x, abacus_uchar16 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_popcount(abacus_uchar16 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_rhadd(abacus_uchar16 x, abacus_uchar16 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_rotate(abacus_uchar16 x, abacus_uchar16 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uchar16 x, abacus_uchar16 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_ushort ABACUS_EXPORT_API __abacus_add_sat(abacus_ushort x, abacus_ushort y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_clz(abacus_ushort x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_ctz(abacus_ushort x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_clamp(abacus_ushort x, abacus_ushort y, abacus_ushort z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

  • z[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_hadd(abacus_ushort x, abacus_ushort y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_max(abacus_ushort x, abacus_ushort y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_min(abacus_ushort x, abacus_ushort y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_mad_hi(abacus_ushort x, abacus_ushort y, abacus_ushort z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

  • z[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_mad_sat(abacus_ushort x, abacus_ushort y, abacus_ushort z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

  • z[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_mul_hi(abacus_ushort x, abacus_ushort y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_popcount(abacus_ushort x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_rhadd(abacus_ushort x, abacus_ushort y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_rotate(abacus_ushort x, abacus_ushort y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_sub_sat(abacus_ushort x, abacus_ushort y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ushort.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_ushort2 ABACUS_EXPORT_API __abacus_add_sat(abacus_ushort2 x, abacus_ushort2 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_clz(abacus_ushort2 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_ctz(abacus_ushort2 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort2 x, abacus_ushort2 y, abacus_ushort2 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

  • z[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_hadd(abacus_ushort2 x, abacus_ushort2 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_max(abacus_ushort2 x, abacus_ushort2 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_min(abacus_ushort2 x, abacus_ushort2 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ushort2 x, abacus_ushort2 y, abacus_ushort2 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

  • z[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ushort2 x, abacus_ushort2 y, abacus_ushort2 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

  • z[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ushort2 x, abacus_ushort2 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_popcount(abacus_ushort2 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_rhadd(abacus_ushort2 x, abacus_ushort2 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_rotate(abacus_ushort2 x, abacus_ushort2 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ushort2 x, abacus_ushort2 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_add_sat(abacus_ushort3 x, abacus_ushort3 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_clz(abacus_ushort3 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_ctz(abacus_ushort3 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort3 x, abacus_ushort3 y, abacus_ushort3 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

  • z[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_hadd(abacus_ushort3 x, abacus_ushort3 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_max(abacus_ushort3 x, abacus_ushort3 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_min(abacus_ushort3 x, abacus_ushort3 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ushort3 x, abacus_ushort3 y, abacus_ushort3 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

  • z[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ushort3 x, abacus_ushort3 y, abacus_ushort3 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

  • z[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ushort3 x, abacus_ushort3 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_popcount(abacus_ushort3 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_rhadd(abacus_ushort3 x, abacus_ushort3 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_rotate(abacus_ushort3 x, abacus_ushort3 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ushort3 x, abacus_ushort3 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_add_sat(abacus_ushort4 x, abacus_ushort4 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_clz(abacus_ushort4 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_ctz(abacus_ushort4 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort4 x, abacus_ushort4 y, abacus_ushort4 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

  • z[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_hadd(abacus_ushort4 x, abacus_ushort4 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_max(abacus_ushort4 x, abacus_ushort4 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_min(abacus_ushort4 x, abacus_ushort4 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ushort4 x, abacus_ushort4 y, abacus_ushort4 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

  • z[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ushort4 x, abacus_ushort4 y, abacus_ushort4 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

  • z[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ushort4 x, abacus_ushort4 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_popcount(abacus_ushort4 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_rhadd(abacus_ushort4 x, abacus_ushort4 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_rotate(abacus_ushort4 x, abacus_ushort4 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ushort4 x, abacus_ushort4 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_add_sat(abacus_ushort8 x, abacus_ushort8 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_clz(abacus_ushort8 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_ctz(abacus_ushort8 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort8 x, abacus_ushort8 y, abacus_ushort8 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

  • z[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_hadd(abacus_ushort8 x, abacus_ushort8 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_max(abacus_ushort8 x, abacus_ushort8 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_min(abacus_ushort8 x, abacus_ushort8 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ushort8 x, abacus_ushort8 y, abacus_ushort8 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

  • z[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ushort8 x, abacus_ushort8 y, abacus_ushort8 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

  • z[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ushort8 x, abacus_ushort8 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_popcount(abacus_ushort8 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_rhadd(abacus_ushort8 x, abacus_ushort8 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_rotate(abacus_ushort8 x, abacus_ushort8 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ushort8 x, abacus_ushort8 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_add_sat(abacus_ushort16 x, abacus_ushort16 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_clz(abacus_ushort16 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_ctz(abacus_ushort16 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort16 x, abacus_ushort16 y, abacus_ushort16 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

  • z[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_hadd(abacus_ushort16 x, abacus_ushort16 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_max(abacus_ushort16 x, abacus_ushort16 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_min(abacus_ushort16 x, abacus_ushort16 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ushort16 x, abacus_ushort16 y, abacus_ushort16 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

  • z[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ushort16 x, abacus_ushort16 y, abacus_ushort16 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

  • z[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ushort16 x, abacus_ushort16 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_popcount(abacus_ushort16 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_rhadd(abacus_ushort16 x, abacus_ushort16 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_rotate(abacus_ushort16 x, abacus_ushort16 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ushort16 x, abacus_ushort16 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_uint ABACUS_EXPORT_API __abacus_add_sat(abacus_uint x, abacus_uint y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_clz(abacus_uint x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_ctz(abacus_uint x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_clamp(abacus_uint x, abacus_uint y, abacus_uint z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

  • z[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_hadd(abacus_uint x, abacus_uint y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_max(abacus_uint x, abacus_uint y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_min(abacus_uint x, abacus_uint y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_mad_hi(abacus_uint x, abacus_uint y, abacus_uint z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

  • z[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_mad_sat(abacus_uint x, abacus_uint y, abacus_uint z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

  • z[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_mul_hi(abacus_uint x, abacus_uint y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_popcount(abacus_uint x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_rhadd(abacus_uint x, abacus_uint y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_rotate(abacus_uint x, abacus_uint y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_sub_sat(abacus_uint x, abacus_uint y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_add_sat(abacus_uint2 x, abacus_uint2 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_clz(abacus_uint2 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_ctz(abacus_uint2 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_clamp(abacus_uint2 x, abacus_uint2 y, abacus_uint2 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

  • z[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_hadd(abacus_uint2 x, abacus_uint2 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_max(abacus_uint2 x, abacus_uint2 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_min(abacus_uint2 x, abacus_uint2 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uint2 x, abacus_uint2 y, abacus_uint2 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

  • z[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uint2 x, abacus_uint2 y, abacus_uint2 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

  • z[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uint2 x, abacus_uint2 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_popcount(abacus_uint2 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_rhadd(abacus_uint2 x, abacus_uint2 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_rotate(abacus_uint2 x, abacus_uint2 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uint2 x, abacus_uint2 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_add_sat(abacus_uint3 x, abacus_uint3 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_clz(abacus_uint3 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_ctz(abacus_uint3 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_clamp(abacus_uint3 x, abacus_uint3 y, abacus_uint3 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

  • z[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_hadd(abacus_uint3 x, abacus_uint3 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_max(abacus_uint3 x, abacus_uint3 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_min(abacus_uint3 x, abacus_uint3 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uint3 x, abacus_uint3 y, abacus_uint3 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

  • z[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uint3 x, abacus_uint3 y, abacus_uint3 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

  • z[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uint3 x, abacus_uint3 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_popcount(abacus_uint3 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_rhadd(abacus_uint3 x, abacus_uint3 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_rotate(abacus_uint3 x, abacus_uint3 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uint3 x, abacus_uint3 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_add_sat(abacus_uint4 x, abacus_uint4 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_clz(abacus_uint4 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_ctz(abacus_uint4 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_clamp(abacus_uint4 x, abacus_uint4 y, abacus_uint4 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

  • z[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_hadd(abacus_uint4 x, abacus_uint4 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_max(abacus_uint4 x, abacus_uint4 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_min(abacus_uint4 x, abacus_uint4 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uint4 x, abacus_uint4 y, abacus_uint4 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

  • z[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uint4 x, abacus_uint4 y, abacus_uint4 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

  • z[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uint4 x, abacus_uint4 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_popcount(abacus_uint4 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_rhadd(abacus_uint4 x, abacus_uint4 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_rotate(abacus_uint4 x, abacus_uint4 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uint4 x, abacus_uint4 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_add_sat(abacus_uint8 x, abacus_uint8 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_clz(abacus_uint8 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_ctz(abacus_uint8 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_clamp(abacus_uint8 x, abacus_uint8 y, abacus_uint8 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

  • z[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_hadd(abacus_uint8 x, abacus_uint8 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_max(abacus_uint8 x, abacus_uint8 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_min(abacus_uint8 x, abacus_uint8 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uint8 x, abacus_uint8 y, abacus_uint8 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

  • z[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uint8 x, abacus_uint8 y, abacus_uint8 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

  • z[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uint8 x, abacus_uint8 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_popcount(abacus_uint8 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_rhadd(abacus_uint8 x, abacus_uint8 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_rotate(abacus_uint8 x, abacus_uint8 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uint8 x, abacus_uint8 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_add_sat(abacus_uint16 x, abacus_uint16 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_clz(abacus_uint16 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_ctz(abacus_uint16 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_clamp(abacus_uint16 x, abacus_uint16 y, abacus_uint16 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

  • z[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_hadd(abacus_uint16 x, abacus_uint16 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_max(abacus_uint16 x, abacus_uint16 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_min(abacus_uint16 x, abacus_uint16 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_mad_hi(abacus_uint16 x, abacus_uint16 y, abacus_uint16 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

  • z[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_mad_sat(abacus_uint16 x, abacus_uint16 y, abacus_uint16 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

  • z[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_mul_hi(abacus_uint16 x, abacus_uint16 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_popcount(abacus_uint16 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_rhadd(abacus_uint16 x, abacus_uint16 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_rotate(abacus_uint16 x, abacus_uint16 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_sub_sat(abacus_uint16 x, abacus_uint16 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_ulong ABACUS_EXPORT_API __abacus_add_sat(abacus_ulong x, abacus_ulong y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_clz(abacus_ulong x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_ctz(abacus_ulong x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_clamp(abacus_ulong x, abacus_ulong y, abacus_ulong z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

  • z[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_hadd(abacus_ulong x, abacus_ulong y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_max(abacus_ulong x, abacus_ulong y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_min(abacus_ulong x, abacus_ulong y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_mad_hi(abacus_ulong x, abacus_ulong y, abacus_ulong z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

  • z[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_mad_sat(abacus_ulong x, abacus_ulong y, abacus_ulong z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

  • z[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_mul_hi(abacus_ulong x, abacus_ulong y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_popcount(abacus_ulong x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_rhadd(abacus_ulong x, abacus_ulong y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_rotate(abacus_ulong x, abacus_ulong y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_sub_sat(abacus_ulong x, abacus_ulong y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ulong.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_ulong2 ABACUS_EXPORT_API __abacus_add_sat(abacus_ulong2 x, abacus_ulong2 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_clz(abacus_ulong2 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_ctz(abacus_ulong2 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong2 x, abacus_ulong2 y, abacus_ulong2 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

  • z[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_hadd(abacus_ulong2 x, abacus_ulong2 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_max(abacus_ulong2 x, abacus_ulong2 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_min(abacus_ulong2 x, abacus_ulong2 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ulong2 x, abacus_ulong2 y, abacus_ulong2 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

  • z[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ulong2 x, abacus_ulong2 y, abacus_ulong2 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

  • z[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ulong2 x, abacus_ulong2 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_popcount(abacus_ulong2 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_rhadd(abacus_ulong2 x, abacus_ulong2 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_rotate(abacus_ulong2 x, abacus_ulong2 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ulong2 x, abacus_ulong2 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_add_sat(abacus_ulong3 x, abacus_ulong3 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_clz(abacus_ulong3 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_ctz(abacus_ulong3 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong3 x, abacus_ulong3 y, abacus_ulong3 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

  • z[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_hadd(abacus_ulong3 x, abacus_ulong3 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_max(abacus_ulong3 x, abacus_ulong3 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_min(abacus_ulong3 x, abacus_ulong3 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ulong3 x, abacus_ulong3 y, abacus_ulong3 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

  • z[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ulong3 x, abacus_ulong3 y, abacus_ulong3 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

  • z[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ulong3 x, abacus_ulong3 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_popcount(abacus_ulong3 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_rhadd(abacus_ulong3 x, abacus_ulong3 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_rotate(abacus_ulong3 x, abacus_ulong3 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ulong3 x, abacus_ulong3 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_add_sat(abacus_ulong4 x, abacus_ulong4 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_clz(abacus_ulong4 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_ctz(abacus_ulong4 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong4 x, abacus_ulong4 y, abacus_ulong4 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

  • z[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_hadd(abacus_ulong4 x, abacus_ulong4 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_max(abacus_ulong4 x, abacus_ulong4 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_min(abacus_ulong4 x, abacus_ulong4 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ulong4 x, abacus_ulong4 y, abacus_ulong4 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

  • z[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ulong4 x, abacus_ulong4 y, abacus_ulong4 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

  • z[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ulong4 x, abacus_ulong4 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_popcount(abacus_ulong4 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_rhadd(abacus_ulong4 x, abacus_ulong4 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_rotate(abacus_ulong4 x, abacus_ulong4 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ulong4 x, abacus_ulong4 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_add_sat(abacus_ulong8 x, abacus_ulong8 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_clz(abacus_ulong8 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_ctz(abacus_ulong8 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong8 x, abacus_ulong8 y, abacus_ulong8 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

  • z[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_hadd(abacus_ulong8 x, abacus_ulong8 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_max(abacus_ulong8 x, abacus_ulong8 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_min(abacus_ulong8 x, abacus_ulong8 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ulong8 x, abacus_ulong8 y, abacus_ulong8 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

  • z[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ulong8 x, abacus_ulong8 y, abacus_ulong8 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

  • z[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ulong8 x, abacus_ulong8 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_popcount(abacus_ulong8 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_rhadd(abacus_ulong8 x, abacus_ulong8 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_rotate(abacus_ulong8 x, abacus_ulong8 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ulong8 x, abacus_ulong8 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_add_sat(abacus_ulong16 x, abacus_ulong16 y)

(x + y) and saturates result.

add_sat returns (x + y) and saturates result.

Standards compliant implementation of OpenCL 1.2 add_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/add_sat.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_clz(abacus_ulong16 x)

The number of leading 0-bits in x.

clz returns the number of leading 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 1.2 clz.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_ctz(abacus_ulong16 x)

The number of trailing 0-bits in x.

ctz returns the number of trailing 0-bits in x, starting at the most significant bit position.

Standards compliant implementation of OpenCL 2.0 ctz.

See

https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/clz.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong16 x, abacus_ulong16 y, abacus_ulong16 z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

  • z[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_hadd(abacus_ulong16 x, abacus_ulong16 y)

(x + y) >> 1 without modulo overflow.

hadd returns (x + y) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 hadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_max(abacus_ulong16 x, abacus_ulong16 y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_min(abacus_ulong16 x, abacus_ulong16 y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_mad_hi(abacus_ulong16 x, abacus_ulong16 y, abacus_ulong16 z)

__abacus_mul_hi(a , b) + c.

mad_hi returns __abacus_mul_hi(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_hi.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

  • z[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_mad_sat(abacus_ulong16 x, abacus_ulong16 y, abacus_ulong16 z)

a * b + c and saturate the result.

mad_hi a * b + c and saturate the result.

Standards compliant implementation of OpenCL 1.2 mad_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad_sat.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

  • z[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_mul_hi(abacus_ulong16 x, abacus_ulong16 y)

High half of the product of x and y.

x * y and returns the high half of the product of x and y.

Standards compliant implementation of OpenCL 1.2 mul_hi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul_hi.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_popcount(abacus_ulong16 x)

Returns the number of non-zero bits in x.

popcount returns the number of non-zero bits in x.

Standards compliant implementation of OpenCL 1.2 popcount.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/popcount.html

Parameters

x[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_rhadd(abacus_ulong16 x, abacus_ulong16 y)

(x + y) >> 1 without modulo overflow.

rhadd returns (x + y + 1) >> 1. The intermediate sum does not modulo overflow.

Standards compliant implementation of OpenCL 1.2 rhadd.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hadd.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_rotate(abacus_ulong16 x, abacus_ulong16 y)

Rotate bits left.

For each element in v, the bits are shifted left by the number of bits given by the corresponding element in i (subject to usual shift modulo rules). Bits shifted off the left side of the element are shifted back in from the right.

Standards compliant implementation of OpenCL 1.2 rotate.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rotate.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_sub_sat(abacus_ulong16 x, abacus_ulong16 y)

(x - y) and saturates result.

sub_sat returns (x - y) and saturates result.

Standards compliant implementation of OpenCL 1.2 sub_sat.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sub_sat.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_short ABACUS_EXPORT_API __abacus_upsample(abacus_char hi, abacus_uchar lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_char.

  • lo[in] A abacus_uchar.

Returns

A abacus_short.

abacus_ushort ABACUS_EXPORT_API __abacus_upsample(abacus_uchar hi, abacus_uchar lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uchar.

  • lo[in] A abacus_uchar.

Returns

A abacus_ushort.

abacus_short2 ABACUS_EXPORT_API __abacus_upsample(abacus_char2 hi, abacus_uchar2 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_char2.

  • lo[in] A abacus_uchar2.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_upsample(abacus_uchar2 hi, abacus_uchar2 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uchar2.

  • lo[in] A abacus_uchar2.

Returns

A abacus_ushort2.

abacus_short3 ABACUS_EXPORT_API __abacus_upsample(abacus_char3 hi, abacus_uchar3 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_char3.

  • lo[in] A abacus_uchar3.

Returns

A abacus_short3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_upsample(abacus_uchar3 hi, abacus_uchar3 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uchar3.

  • lo[in] A abacus_uchar3.

Returns

A abacus_ushort3.

abacus_short4 ABACUS_EXPORT_API __abacus_upsample(abacus_char4 hi, abacus_uchar4 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_char4.

  • lo[in] A abacus_uchar4.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_upsample(abacus_uchar4 hi, abacus_uchar4 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uchar4.

  • lo[in] A abacus_uchar4.

Returns

A abacus_ushort4.

abacus_short8 ABACUS_EXPORT_API __abacus_upsample(abacus_char8 hi, abacus_uchar8 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_char8.

  • lo[in] A abacus_uchar8.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_upsample(abacus_uchar8 hi, abacus_uchar8 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uchar8.

  • lo[in] A abacus_uchar8.

Returns

A abacus_ushort8.

abacus_short16 ABACUS_EXPORT_API __abacus_upsample(abacus_char16 hi, abacus_uchar16 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_char16.

  • lo[in] A abacus_uchar16.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_upsample(abacus_uchar16 hi, abacus_uchar16 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uchar16.

  • lo[in] A abacus_uchar16.

Returns

A abacus_ushort16.

abacus_int ABACUS_EXPORT_API __abacus_upsample(abacus_short hi, abacus_ushort lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_short.

  • lo[in] A abacus_ushort.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_upsample(abacus_ushort hi, abacus_ushort lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_ushort.

  • lo[in] A abacus_ushort.

Returns

A abacus_uint.

abacus_int2 ABACUS_EXPORT_API __abacus_upsample(abacus_short2 hi, abacus_ushort2 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_short2.

  • lo[in] A abacus_ushort2.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_upsample(abacus_ushort2 hi, abacus_ushort2 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_ushort2.

  • lo[in] A abacus_ushort2.

Returns

A abacus_uint2.

abacus_int3 ABACUS_EXPORT_API __abacus_upsample(abacus_short3 hi, abacus_ushort3 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_short3.

  • lo[in] A abacus_ushort3.

Returns

A abacus_int3.

abacus_uint3 ABACUS_EXPORT_API __abacus_upsample(abacus_ushort3 hi, abacus_ushort3 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_ushort3.

  • lo[in] A abacus_ushort3.

Returns

A abacus_uint3.

abacus_int4 ABACUS_EXPORT_API __abacus_upsample(abacus_short4 hi, abacus_ushort4 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_short4.

  • lo[in] A abacus_ushort4.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_upsample(abacus_ushort4 hi, abacus_ushort4 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_ushort4.

  • lo[in] A abacus_ushort4.

Returns

A abacus_uint4.

abacus_int8 ABACUS_EXPORT_API __abacus_upsample(abacus_short8 hi, abacus_ushort8 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_short8.

  • lo[in] A abacus_ushort8.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_upsample(abacus_ushort8 hi, abacus_ushort8 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_ushort8.

  • lo[in] A abacus_ushort8.

Returns

A abacus_uint8.

abacus_int16 ABACUS_EXPORT_API __abacus_upsample(abacus_short16 hi, abacus_ushort16 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_short16.

  • lo[in] A abacus_ushort16.

Returns

A abacus_int16.

abacus_uint16 ABACUS_EXPORT_API __abacus_upsample(abacus_ushort16 hi, abacus_ushort16 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_ushort16.

  • lo[in] A abacus_ushort16.

Returns

A abacus_uint16.

abacus_long ABACUS_EXPORT_API __abacus_upsample(abacus_int hi, abacus_uint lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_int.

  • lo[in] A abacus_uint.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_upsample(abacus_uint hi, abacus_uint lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uint.

  • lo[in] A abacus_uint.

Returns

A abacus_ulong.

abacus_long2 ABACUS_EXPORT_API __abacus_upsample(abacus_int2 hi, abacus_uint2 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_int2.

  • lo[in] A abacus_uint2.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_upsample(abacus_uint2 hi, abacus_uint2 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uint2.

  • lo[in] A abacus_uint2.

Returns

A abacus_ulong2.

abacus_long3 ABACUS_EXPORT_API __abacus_upsample(abacus_int3 hi, abacus_uint3 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_int3.

  • lo[in] A abacus_uint3.

Returns

A abacus_long3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_upsample(abacus_uint3 hi, abacus_uint3 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uint3.

  • lo[in] A abacus_uint3.

Returns

A abacus_ulong3.

abacus_long4 ABACUS_EXPORT_API __abacus_upsample(abacus_int4 hi, abacus_uint4 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_int4.

  • lo[in] A abacus_uint4.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_upsample(abacus_uint4 hi, abacus_uint4 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uint4.

  • lo[in] A abacus_uint4.

Returns

A abacus_ulong4.

abacus_long8 ABACUS_EXPORT_API __abacus_upsample(abacus_int8 hi, abacus_uint8 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_int8.

  • lo[in] A abacus_uint8.

Returns

A abacus_long8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_upsample(abacus_uint8 hi, abacus_uint8 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uint8.

  • lo[in] A abacus_uint8.

Returns

A abacus_ulong8.

abacus_long16 ABACUS_EXPORT_API __abacus_upsample(abacus_int16 hi, abacus_uint16 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_int16.

  • lo[in] A abacus_uint16.

Returns

A abacus_long16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_upsample(abacus_uint16 hi, abacus_uint16 lo)

Combines two smaller types into a large one.

Standards compliant implementation of OpenCL 1.2 upsample.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/upsample.html

Parameters
  • hi[in] A abacus_uint16.

  • lo[in] A abacus_uint16.

Returns

A abacus_ulong16.

abacus_char2 ABACUS_EXPORT_API __abacus_clamp(abacus_char2 x, abacus_char y, abacus_char z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char.

  • z[in] A abacus_char.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_max(abacus_char2 x, abacus_char y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_min(abacus_char2 x, abacus_char y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_clamp(abacus_char3 x, abacus_char y, abacus_char z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char.

  • z[in] A abacus_char.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_max(abacus_char3 x, abacus_char y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_min(abacus_char3 x, abacus_char y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_clamp(abacus_char4 x, abacus_char y, abacus_char z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char.

  • z[in] A abacus_char.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_max(abacus_char4 x, abacus_char y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_min(abacus_char4 x, abacus_char y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_clamp(abacus_char8 x, abacus_char y, abacus_char z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char.

  • z[in] A abacus_char.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_max(abacus_char8 x, abacus_char y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_min(abacus_char8 x, abacus_char y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_clamp(abacus_char16 x, abacus_char y, abacus_char z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char.

  • z[in] A abacus_char.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_max(abacus_char16 x, abacus_char y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_min(abacus_char16 x, abacus_char y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char.

Returns

A abacus_char16.

abacus_short2 ABACUS_EXPORT_API __abacus_clamp(abacus_short2 x, abacus_short y, abacus_short z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short.

  • z[in] A abacus_short.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_max(abacus_short2 x, abacus_short y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_min(abacus_short2 x, abacus_short y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_clamp(abacus_short3 x, abacus_short y, abacus_short z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short.

  • z[in] A abacus_short.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_max(abacus_short3 x, abacus_short y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_min(abacus_short3 x, abacus_short y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_clamp(abacus_short4 x, abacus_short y, abacus_short z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short.

  • z[in] A abacus_short.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_max(abacus_short4 x, abacus_short y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_min(abacus_short4 x, abacus_short y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_clamp(abacus_short8 x, abacus_short y, abacus_short z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short.

  • z[in] A abacus_short.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_max(abacus_short8 x, abacus_short y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_min(abacus_short8 x, abacus_short y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_clamp(abacus_short16 x, abacus_short y, abacus_short z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short.

  • z[in] A abacus_short.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_max(abacus_short16 x, abacus_short y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_min(abacus_short16 x, abacus_short y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short.

Returns

A abacus_short16.

abacus_int2 ABACUS_EXPORT_API __abacus_clamp(abacus_int2 x, abacus_int y, abacus_int z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int.

  • z[in] A abacus_int.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_max(abacus_int2 x, abacus_int y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_min(abacus_int2 x, abacus_int y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_clamp(abacus_int3 x, abacus_int y, abacus_int z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int.

  • z[in] A abacus_int.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_max(abacus_int3 x, abacus_int y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_min(abacus_int3 x, abacus_int y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_clamp(abacus_int4 x, abacus_int y, abacus_int z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int.

  • z[in] A abacus_int.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_max(abacus_int4 x, abacus_int y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_min(abacus_int4 x, abacus_int y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_clamp(abacus_int8 x, abacus_int y, abacus_int z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int.

  • z[in] A abacus_int.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_max(abacus_int8 x, abacus_int y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_min(abacus_int8 x, abacus_int y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_clamp(abacus_int16 x, abacus_int y, abacus_int z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int.

  • z[in] A abacus_int.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_max(abacus_int16 x, abacus_int y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_min(abacus_int16 x, abacus_int y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int.

Returns

A abacus_int16.

abacus_long2 ABACUS_EXPORT_API __abacus_clamp(abacus_long2 x, abacus_long y, abacus_long z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long.

  • z[in] A abacus_long.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_max(abacus_long2 x, abacus_long y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_min(abacus_long2 x, abacus_long y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_clamp(abacus_long3 x, abacus_long y, abacus_long z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long.

  • z[in] A abacus_long.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_max(abacus_long3 x, abacus_long y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_min(abacus_long3 x, abacus_long y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_clamp(abacus_long4 x, abacus_long y, abacus_long z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long.

  • z[in] A abacus_long.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_max(abacus_long4 x, abacus_long y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_min(abacus_long4 x, abacus_long y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_clamp(abacus_long8 x, abacus_long y, abacus_long z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long.

  • z[in] A abacus_long.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_max(abacus_long8 x, abacus_long y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_min(abacus_long8 x, abacus_long y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_clamp(abacus_long16 x, abacus_long y, abacus_long z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long.

  • z[in] A abacus_long.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_max(abacus_long16 x, abacus_long y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_min(abacus_long16 x, abacus_long y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long.

Returns

A abacus_long16.

abacus_uchar2 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar2 x, abacus_uchar y, abacus_uchar z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar.

  • z[in] A abacus_uchar.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_max(abacus_uchar2 x, abacus_uchar y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_min(abacus_uchar2 x, abacus_uchar y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar3 x, abacus_uchar y, abacus_uchar z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar.

  • z[in] A abacus_uchar.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_max(abacus_uchar3 x, abacus_uchar y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_min(abacus_uchar3 x, abacus_uchar y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar4 x, abacus_uchar y, abacus_uchar z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar.

  • z[in] A abacus_uchar.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_max(abacus_uchar4 x, abacus_uchar y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_min(abacus_uchar4 x, abacus_uchar y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar8 x, abacus_uchar y, abacus_uchar z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar.

  • z[in] A abacus_uchar.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_max(abacus_uchar8 x, abacus_uchar y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_min(abacus_uchar8 x, abacus_uchar y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_clamp(abacus_uchar16 x, abacus_uchar y, abacus_uchar z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar.

  • z[in] A abacus_uchar.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_max(abacus_uchar16 x, abacus_uchar y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_min(abacus_uchar16 x, abacus_uchar y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar.

Returns

A abacus_uchar16.

abacus_ushort2 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort2 x, abacus_ushort y, abacus_ushort z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort.

  • z[in] A abacus_ushort.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_max(abacus_ushort2 x, abacus_ushort y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_min(abacus_ushort2 x, abacus_ushort y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort3 x, abacus_ushort y, abacus_ushort z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort.

  • z[in] A abacus_ushort.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_max(abacus_ushort3 x, abacus_ushort y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_min(abacus_ushort3 x, abacus_ushort y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort4 x, abacus_ushort y, abacus_ushort z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort.

  • z[in] A abacus_ushort.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_max(abacus_ushort4 x, abacus_ushort y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_min(abacus_ushort4 x, abacus_ushort y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort8 x, abacus_ushort y, abacus_ushort z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort.

  • z[in] A abacus_ushort.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_max(abacus_ushort8 x, abacus_ushort y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_min(abacus_ushort8 x, abacus_ushort y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_clamp(abacus_ushort16 x, abacus_ushort y, abacus_ushort z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort.

  • z[in] A abacus_ushort.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_max(abacus_ushort16 x, abacus_ushort y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_min(abacus_ushort16 x, abacus_ushort y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort.

Returns

A abacus_ushort16.

abacus_uint2 ABACUS_EXPORT_API __abacus_clamp(abacus_uint2 x, abacus_uint y, abacus_uint z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint.

  • z[in] A abacus_uint.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_max(abacus_uint2 x, abacus_uint y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_min(abacus_uint2 x, abacus_uint y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_clamp(abacus_uint3 x, abacus_uint y, abacus_uint z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint.

  • z[in] A abacus_uint.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_max(abacus_uint3 x, abacus_uint y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_min(abacus_uint3 x, abacus_uint y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_clamp(abacus_uint4 x, abacus_uint y, abacus_uint z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint.

  • z[in] A abacus_uint.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_max(abacus_uint4 x, abacus_uint y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_min(abacus_uint4 x, abacus_uint y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_clamp(abacus_uint8 x, abacus_uint y, abacus_uint z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint.

  • z[in] A abacus_uint.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_max(abacus_uint8 x, abacus_uint y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_min(abacus_uint8 x, abacus_uint y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_clamp(abacus_uint16 x, abacus_uint y, abacus_uint z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint.

  • z[in] A abacus_uint.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_max(abacus_uint16 x, abacus_uint y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_min(abacus_uint16 x, abacus_uint y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint.

Returns

A abacus_uint16.

abacus_ulong2 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong2 x, abacus_ulong y, abacus_ulong z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong.

  • z[in] A abacus_ulong.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_max(abacus_ulong2 x, abacus_ulong y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_min(abacus_ulong2 x, abacus_ulong y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong3 x, abacus_ulong y, abacus_ulong z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong.

  • z[in] A abacus_ulong.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_max(abacus_ulong3 x, abacus_ulong y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_min(abacus_ulong3 x, abacus_ulong y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong4 x, abacus_ulong y, abacus_ulong z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong.

  • z[in] A abacus_ulong.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_max(abacus_ulong4 x, abacus_ulong y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_min(abacus_ulong4 x, abacus_ulong y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong8 x, abacus_ulong y, abacus_ulong z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong.

  • z[in] A abacus_ulong.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_max(abacus_ulong8 x, abacus_ulong y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_min(abacus_ulong8 x, abacus_ulong y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_clamp(abacus_ulong16 x, abacus_ulong y, abacus_ulong z)

min(max(x, y), z).

clamp returns min(max(x, y), z). Results are undefined if y > z.

Standards compliant implementation of OpenCL 1.2 clamp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerClamp.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong.

  • z[in] A abacus_ulong.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_max(abacus_ulong16 x, abacus_ulong y)

The greater of x or y.

Standards compliant implementation of OpenCL 1.2 max.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMax.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_min(abacus_ulong16 x, abacus_ulong y)

The lesser of x or y.

Standards compliant implementation of OpenCL 1.2 min.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/integerMin.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong.

Returns

A abacus_ulong16.

abacus_int ABACUS_EXPORT_API __abacus_mad24(abacus_int x, abacus_int y, abacus_int z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

  • z[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_mul24(abacus_int x, abacus_int y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_int.

  • y[in] A abacus_int.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_mad24(abacus_int2 x, abacus_int2 y, abacus_int2 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

  • z[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_mul24(abacus_int2 x, abacus_int2 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_mad24(abacus_int3 x, abacus_int3 y, abacus_int3 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

  • z[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_mul24(abacus_int3 x, abacus_int3 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_mad24(abacus_int4 x, abacus_int4 y, abacus_int4 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

  • z[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_mul24(abacus_int4 x, abacus_int4 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_mad24(abacus_int8 x, abacus_int8 y, abacus_int8 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

  • z[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_mul24(abacus_int8 x, abacus_int8 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_mad24(abacus_int16 x, abacus_int16 y, abacus_int16 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

  • z[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_mul24(abacus_int16 x, abacus_int16 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

Returns

A abacus_int16.

abacus_uint ABACUS_EXPORT_API __abacus_mad24(abacus_uint x, abacus_uint y, abacus_uint z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

  • z[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_mul24(abacus_uint x, abacus_uint y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_uint.

  • y[in] A abacus_uint.

Returns

A abacus_uint.

abacus_uint2 ABACUS_EXPORT_API __abacus_mad24(abacus_uint2 x, abacus_uint2 y, abacus_uint2 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

  • z[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_mul24(abacus_uint2 x, abacus_uint2 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_mad24(abacus_uint3 x, abacus_uint3 y, abacus_uint3 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

  • z[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_mul24(abacus_uint3 x, abacus_uint3 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_mad24(abacus_uint4 x, abacus_uint4 y, abacus_uint4 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

  • z[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_mul24(abacus_uint4 x, abacus_uint4 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_mad24(abacus_uint8 x, abacus_uint8 y, abacus_uint8 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

  • z[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_mul24(abacus_uint8 x, abacus_uint8 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_mad24(abacus_uint16 x, abacus_uint16 y, abacus_uint16 z)

__abacus_mul24(a , b) + c.

mad24 returns __abacus_mul24(a, b) + c.

Standards compliant implementation of OpenCL 1.2 mad24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad24.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

  • z[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_mul24(abacus_uint16 x, abacus_uint16 y)

Multiply 24-bit integer values a and b.

Standards compliant implementation of OpenCL 1.2 mul24.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mul24.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus math

group abacus_math

Functions

abacus_float ABACUS_EXPORT_API __abacus_acos(abacus_float x)

Arc cosine function.

Standards compliant implementation of OpenCL 1.2 acos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acos.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_acosh(abacus_float x)

Hyperbolic inverse cosine function.

Standards compliant implementation of OpenCL 1.2 acosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acosh.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_acospi(abacus_float x)

Arc cosine over function.

Standards compliant implementation of OpenCL 1.2 acospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acospi.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_asin(abacus_float x)

Arc sine function.

Standards compliant implementation of OpenCL 1.2 asin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asin.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_asinh(abacus_float x)

Hyperbolic inverse sine function.

Standards compliant implementation of OpenCL 1.2 asinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinh.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_asinpi(abacus_float x)

Arc sine over function.

Standards compliant implementation of OpenCL 1.2 asinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinpi.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_atan(abacus_float x)

Arc tangent function.

Standards compliant implementation of OpenCL 1.2 atan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_atanh(abacus_float x)

Hyperbolic inverse tangent function.

Standards compliant implementation of OpenCL 1.2 atanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanh.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_atanpi(abacus_float x)

Arc tangent over function.

Standards compliant implementation of OpenCL 1.2 atanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanpi.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_atan2(abacus_float y, abacus_float x)

Arc tangent y / x function.

Standards compliant implementation of OpenCL 1.2 atan2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2.html

Parameters
  • y[in] A abacus_float.

  • x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_atan2pi(abacus_float y, abacus_float x)

__abacus_atan2(y, x) / .

Standards compliant implementation of OpenCL 1.2 atan2pi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2pi.html

Parameters
  • y[in] A abacus_float.

  • x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_ceil(abacus_float x)

Round to whole number towards +.

Standards compliant implementation of OpenCL 1.2 ceil.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ceil.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_cbrt(abacus_float x)

Cube root function.

Standards compliant implementation of OpenCL 1.2 cbrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cbrt.html

Parameters

x – The number to process.

Returns

The cube root of x.

abacus_float ABACUS_EXPORT_API __abacus_cos(abacus_float x)

Cosine function.

Standards compliant implementation of OpenCL 1.2 cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_cosh(abacus_float x)

Hyperbolic cosine function.

Standards compliant implementation of OpenCL 1.2 cosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_cospi(abacus_float x)

cospiine by function.

Standards compliant implementation of OpenCL 1.2 cospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_copysign(abacus_float x, abacus_float y)

Copies the sign of one number to another.

Standards compliant implementation of OpenCL 1.2 copysign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/copysign.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

x with the sign of y.

abacus_float ABACUS_EXPORT_API __abacus_erf(abacus_float x)

Error in integrating the normal distribution function.

Standards compliant implementation of OpenCL 1.2 erf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_erfc(abacus_float x)

Complementary error function.

Standards compliant implementation of OpenCL 1.2 erfc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_exp(abacus_float x)

Exponential base e function.

Standards compliant implementation of OpenCL 1.2 exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_exp2(abacus_float x)

Exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_exp10(abacus_float x)

Exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_expm1(abacus_float x)

ex - 1 function.

Standards compliant implementation of OpenCL 1.2 expm1.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fabs(abacus_float x)

Absolute value function.

Standards compliant implementation of OpenCL 1.2 fabs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fabs.html

Parameters

x[in] The number to process.

Returns

The fabs of x.

abacus_float ABACUS_EXPORT_API __abacus_fdim(abacus_float x, abacus_float y)

Positive difference between two values function.

Standards compliant implementation of OpenCL 1.2 fdim.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fdim.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_floor(abacus_float x)

Round to whole number towards -.

Standards compliant implementation of OpenCL 1.2 floor.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/floor.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fma(abacus_float x, abacus_float y, abacus_float z)

Fused multiply add (x * y) + z without intermediate rounding.

Standards compliant implementation of OpenCL 1.2 fma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fma.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • z[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fmax(abacus_float x, abacus_float y)

The max of two numbers.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fmin(abacus_float x, abacus_float y)

The min of two numbers.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fmod(abacus_float x, abacus_float y)

x % m function.

Standards compliant implementation of OpenCL 1.2 fmod.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmod.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_fract(abacus_float x, abacus_float *whole_number)

Fractional part of x function.

Standards compliant implementation of OpenCL 1.2 fract.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fract.html

Parameters
  • x[in] A abacus_float.

  • whole_number[out] The floor x.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_frexp(abacus_float x, abacus_int *exponent)

Extract mantissa and exponent x function.

Standards compliant implementation of OpenCL 1.2 frexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/frexp.html

Parameters
  • x[in] A abacus_float.

  • exponent[out] The exponent of x.

Returns

A abacus_float, in range [0.5f..1.0f).

abacus_float ABACUS_EXPORT_API __abacus_hypot(abacus_float x, abacus_float y)

(x2 + y2)

Standards compliant implementation of OpenCL 1.2 hypot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hypot.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_ilogb(abacus_float x)

Extract exponent as an integer value function.

Standards compliant implementation of OpenCL 1.2 ilogb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ilogb.html

Parameters

x[in] A abacus_float.

Returns

A abacus_int.

abacus_float ABACUS_EXPORT_API __abacus_lgamma(abacus_float x)

Log gamma function.

Standards compliant implementation of OpenCL 1.2 lgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_lgamma_r(abacus_float x, abacus_int *out_sign)

Log gamma with sign function.

Standards compliant implementation of OpenCL 1.2 lgamma_r.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters
  • x[in] The number to process.

  • out_sign[out] The sign of the gamma function.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_ldexp(abacus_float x, abacus_int n)

x * 2n function.

Standards compliant implementation of OpenCL 1.2 ldexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ldexp.html

Parameters
  • x[in] A abacus_float.

  • n[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_log(abacus_float x)

Logarithm base e function.

Standards compliant implementation of OpenCL 1.2 log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_log2(abacus_float x)

Logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_log10(abacus_float x)

Logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_logb(abacus_float x)

Extract exponent as an floating point value function.

Standards compliant implementation of OpenCL 1.2 logb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_log1p(abacus_float x)

ln(1 + x) function.

Standards compliant implementation of OpenCL 1.2 log1p.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log1p.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_mad(abacus_float x, abacus_float y, abacus_float z)

Multiply add (x * y) + z.

Standards compliant implementation of OpenCL 1.2 mad.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • z[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_maxmag(abacus_float x, abacus_float y)

Greatest magnitude function.

Standards compliant implementation of OpenCL 1.2 maxmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/maxmag.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_minmag(abacus_float x, abacus_float y)

Smallest magnitude function.

Standards compliant implementation of OpenCL 1.2 minmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/minmag.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_modf(abacus_float x, abacus_float *whole_number)

Decompose x function.

Standards compliant implementation of OpenCL 1.2 modf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/modf.html

Parameters
  • x[in] A abacus_float.

  • whole_number[out] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_nan(abacus_uint x)

Quiet nan function.

Standards compliant implementation of OpenCL 1.2 nan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nan.html

Parameters

x[in] A abacus_uint.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_nextafter(abacus_float x, abacus_float y)

Next representable number of x in the direction of y function.

Standards compliant implementation of OpenCL 1.2 nextafter.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nextafter.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_pow(abacus_float x, abacus_float y)

x^y.

Standards compliant implementation of OpenCL 1.2 pow.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_pown(abacus_float x, abacus_int y)

x^y.

Standards compliant implementation of OpenCL 1.2 pown.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_powr(abacus_float x, abacus_float y)

x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_remainder(abacus_float x, abacus_float y)

x - (round(x / y) * y).

Standards compliant implementation of OpenCL 1.2 remainder.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remainder.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_remquo(abacus_float x, abacus_float y, abacus_int *quotient)

Remainder and quotient function.

Standards compliant implementation of OpenCL 1.2 remquo.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remquo.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

  • quotient[out] The quotient of x.

Returns

A abacus_float, in range [0.5f..1.0f).

abacus_float ABACUS_EXPORT_API __abacus_rint(abacus_float x)

Round to nearest even integer.

Standards compliant implementation of OpenCL 1.2 rint.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rint.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_rootn(abacus_float x, abacus_int y)

x^(1/y).

Standards compliant implementation of OpenCL 1.2 rootn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rootn.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_int.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_round(abacus_float x)

Round to whole number, halfway cases away from zero.

Standards compliant implementation of OpenCL 1.2 round.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/round.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_rsqrt(abacus_float x)

1 / x function.

Standards compliant implementation of OpenCL 1.2 rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_sin(abacus_float x)

Sine function.

Standards compliant implementation of OpenCL 1.2 sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_sinh(abacus_float x)

Hyperbolic sine function.

Standards compliant implementation of OpenCL 1.2 sinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_sinpi(abacus_float x)

Sine by function.

Standards compliant implementation of OpenCL 1.2 sinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sinpi.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_sincos(abacus_float x, abacus_float *whole_number)

Sine and cosine function.

Standards compliant implementation of OpenCL 1.2 sincos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sincos.html

Parameters
  • x[in] A abacus_float.

  • whole_number[out] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_sqrt(abacus_float x)

x function.

Standards compliant implementation of OpenCL 1.2 sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_tan(abacus_float x)

Tangent function.

Standards compliant implementation of OpenCL 1.2 tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_tanh(abacus_float x)

Hyperbolic tangent function.

Standards compliant implementation of OpenCL 1.2 tanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_tanpi(abacus_float x)

Tangent by function.

Standards compliant implementation of OpenCL 1.2 tanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_tgamma(abacus_float x)

Gamma function.

Stgammadards compliant implementation of OpenCL 1.2 tgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_trunc(abacus_float x)

Round to whole number towards 0.

Standards compliant implementation of OpenCL 1.2 trunc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/trunc.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_acos(abacus_float2 x)

Arc cosine function.

Standards compliant implementation of OpenCL 1.2 acos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acos.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_acosh(abacus_float2 x)

Hyperbolic inverse cosine function.

Standards compliant implementation of OpenCL 1.2 acosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acosh.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_acospi(abacus_float2 x)

Arc cosine over function.

Standards compliant implementation of OpenCL 1.2 acospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acospi.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_asin(abacus_float2 x)

Arc sine function.

Standards compliant implementation of OpenCL 1.2 asin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asin.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_asinh(abacus_float2 x)

Hyperbolic inverse sine function.

Standards compliant implementation of OpenCL 1.2 asinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinh.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_asinpi(abacus_float2 x)

Arc sine over function.

Standards compliant implementation of OpenCL 1.2 asinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinpi.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_atan(abacus_float2 x)

Arc tangent function.

Standards compliant implementation of OpenCL 1.2 atan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_atanh(abacus_float2 x)

Hyperbolic inverse tangent function.

Standards compliant implementation of OpenCL 1.2 atanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanh.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_atanpi(abacus_float2 x)

Arc tangent over function.

Standards compliant implementation of OpenCL 1.2 atanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanpi.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_atan2(abacus_float2 y, abacus_float2 x)

Arc tangent y / x function.

Standards compliant implementation of OpenCL 1.2 atan2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2.html

Parameters
  • y[in] A abacus_float2.

  • x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_atan2pi(abacus_float2 y, abacus_float2 x)

__abacus_atan2(y, x) / .

Standards compliant implementation of OpenCL 1.2 atan2pi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2pi.html

Parameters
  • y[in] A abacus_float2.

  • x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_ceil(abacus_float2 x)

Round to whole number towards +.

Standards compliant implementation of OpenCL 1.2 ceil.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ceil.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_cbrt(abacus_float2 x)

Cube root function.

Standards compliant implementation of OpenCL 1.2 cbrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cbrt.html

Parameters

x – The number to process.

Returns

The cube root of x.

abacus_float2 ABACUS_EXPORT_API __abacus_cos(abacus_float2 x)

Cosine function.

Standards compliant implementation of OpenCL 1.2 cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_cosh(abacus_float2 x)

Hyperbolic cosine function.

Standards compliant implementation of OpenCL 1.2 cosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_cospi(abacus_float2 x)

cospiine by function.

Standards compliant implementation of OpenCL 1.2 cospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_copysign(abacus_float2 x, abacus_float2 y)

Copies the sign of one number to another.

Standards compliant implementation of OpenCL 1.2 copysign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/copysign.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

x with the sign of y.

abacus_float2 ABACUS_EXPORT_API __abacus_erf(abacus_float2 x)

Error in integrating the normal distribution function.

Standards compliant implementation of OpenCL 1.2 erf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_erfc(abacus_float2 x)

Complementary error function.

Standards compliant implementation of OpenCL 1.2 erfc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_exp(abacus_float2 x)

Exponential base e function.

Standards compliant implementation of OpenCL 1.2 exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_exp2(abacus_float2 x)

Exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_exp10(abacus_float2 x)

Exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_expm1(abacus_float2 x)

ex - 1 function.

Standards compliant implementation of OpenCL 1.2 expm1.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_fabs(abacus_float2 x)

Absolute value function.

Standards compliant implementation of OpenCL 1.2 fabs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fabs.html

Parameters

x[in] The number to process.

Returns

The fabs of x.

abacus_float2 ABACUS_EXPORT_API __abacus_fdim(abacus_float2 x, abacus_float2 y)

Positive difference between two values function.

Standards compliant implementation of OpenCL 1.2 fdim.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fdim.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_floor(abacus_float2 x)

Round to whole number towards -.

Standards compliant implementation of OpenCL 1.2 floor.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/floor.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_fma(abacus_float2 x, abacus_float2 y, abacus_float2 z)

Fused multiply add (x * y) + z without intermediate rounding.

Standards compliant implementation of OpenCL 1.2 fma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fma.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • z[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_fmax(abacus_float2 x, abacus_float2 y)

The max of two numbers.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_fmin(abacus_float2 x, abacus_float2 y)

The min of two numbers.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_fmod(abacus_float2 x, abacus_float2 y)

x % m function.

Standards compliant implementation of OpenCL 1.2 fmod.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmod.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_fract(abacus_float2 x, abacus_float2 *whole_number)

Fractional part of x function.

Standards compliant implementation of OpenCL 1.2 fract.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fract.html

Parameters
  • x[in] A abacus_float2.

  • whole_number[out] The floor x.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_frexp(abacus_float2 x, abacus_int2 *exponent)

Extract mantissa and exponent x function.

Standards compliant implementation of OpenCL 1.2 frexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/frexp.html

Parameters
  • x[in] A abacus_float2.

  • exponent[out] The exponent of x.

Returns

A abacus_float2, in range [0.5f..1.0f).

abacus_float2 ABACUS_EXPORT_API __abacus_hypot(abacus_float2 x, abacus_float2 y)

(x2 + y2)

Standards compliant implementation of OpenCL 1.2 hypot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hypot.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_ilogb(abacus_float2 x)

Extract exponent as an integer value function.

Standards compliant implementation of OpenCL 1.2 ilogb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ilogb.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_int2.

abacus_float2 ABACUS_EXPORT_API __abacus_lgamma(abacus_float2 x)

Log gamma function.

Standards compliant implementation of OpenCL 1.2 lgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_lgamma_r(abacus_float2 x, abacus_int2 *out_sign)

Log gamma with sign function.

Standards compliant implementation of OpenCL 1.2 lgamma_r.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters
  • x[in] The number to process.

  • out_sign[out] The sign of the gamma function.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_ldexp(abacus_float2 x, abacus_int2 n)

x * 2n function.

Standards compliant implementation of OpenCL 1.2 ldexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ldexp.html

Parameters
  • x[in] A abacus_float2.

  • n[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_log(abacus_float2 x)

Logarithm base e function.

Standards compliant implementation of OpenCL 1.2 log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_log2(abacus_float2 x)

Logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_log10(abacus_float2 x)

Logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_logb(abacus_float2 x)

Extract exponent as an floating point value function.

Standards compliant implementation of OpenCL 1.2 logb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_log1p(abacus_float2 x)

ln(1 + x) function.

Standards compliant implementation of OpenCL 1.2 log1p.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log1p.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_mad(abacus_float2 x, abacus_float2 y, abacus_float2 z)

Multiply add (x * y) + z.

Standards compliant implementation of OpenCL 1.2 mad.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • z[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_maxmag(abacus_float2 x, abacus_float2 y)

Greatest magnitude function.

Standards compliant implementation of OpenCL 1.2 maxmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/maxmag.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_minmag(abacus_float2 x, abacus_float2 y)

Smallest magnitude function.

Standards compliant implementation of OpenCL 1.2 minmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/minmag.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_modf(abacus_float2 x, abacus_float2 *whole_number)

Decompose x function.

Standards compliant implementation of OpenCL 1.2 modf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/modf.html

Parameters
  • x[in] A abacus_float2.

  • whole_number[out] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_nan(abacus_uint2 x)

Quiet nan function.

Standards compliant implementation of OpenCL 1.2 nan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nan.html

Parameters

x[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_nextafter(abacus_float2 x, abacus_float2 y)

Next representable number of x in the direction of y function.

Standards compliant implementation of OpenCL 1.2 nextafter.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nextafter.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_pow(abacus_float2 x, abacus_float2 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pow.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_pown(abacus_float2 x, abacus_int2 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pown.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_powr(abacus_float2 x, abacus_float2 y)

x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_remainder(abacus_float2 x, abacus_float2 y)

x - (round(x / y) * y).

Standards compliant implementation of OpenCL 1.2 remainder.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remainder.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_remquo(abacus_float2 x, abacus_float2 y, abacus_int2 *quotient)

Remainder and quotient function.

Standards compliant implementation of OpenCL 1.2 remquo.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remquo.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • quotient[out] The quotient of x.

Returns

A abacus_float2, in range [0.5f..1.0f).

abacus_float2 ABACUS_EXPORT_API __abacus_rint(abacus_float2 x)

Round to nearest even integer.

Standards compliant implementation of OpenCL 1.2 rint.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rint.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_rootn(abacus_float2 x, abacus_int2 y)

x^(1/y).

Standards compliant implementation of OpenCL 1.2 rootn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rootn.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_int2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_round(abacus_float2 x)

Round to whole number, halfway cases away from zero.

Standards compliant implementation of OpenCL 1.2 round.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/round.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_rsqrt(abacus_float2 x)

1 / x function.

Standards compliant implementation of OpenCL 1.2 rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_sin(abacus_float2 x)

Sine function.

Standards compliant implementation of OpenCL 1.2 sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_sinh(abacus_float2 x)

Hyperbolic sine function.

Standards compliant implementation of OpenCL 1.2 sinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_sinpi(abacus_float2 x)

Sine by function.

Standards compliant implementation of OpenCL 1.2 sinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sinpi.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_sincos(abacus_float2 x, abacus_float2 *whole_number)

Sine and cosine function.

Standards compliant implementation of OpenCL 1.2 sincos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sincos.html

Parameters
  • x[in] A abacus_float2.

  • whole_number[out] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_sqrt(abacus_float2 x)

x function.

Standards compliant implementation of OpenCL 1.2 sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_tan(abacus_float2 x)

Tangent function.

Standards compliant implementation of OpenCL 1.2 tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_tanh(abacus_float2 x)

Hyperbolic tangent function.

Standards compliant implementation of OpenCL 1.2 tanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_tanpi(abacus_float2 x)

Tangent by function.

Standards compliant implementation of OpenCL 1.2 tanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_tgamma(abacus_float2 x)

Gamma function.

Stgammadards compliant implementation of OpenCL 1.2 tgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_trunc(abacus_float2 x)

Round to whole number towards 0.

Standards compliant implementation of OpenCL 1.2 trunc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/trunc.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_acos(abacus_float3 x)

Arc cosine function.

Standards compliant implementation of OpenCL 1.2 acos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acos.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_acosh(abacus_float3 x)

Hyperbolic inverse cosine function.

Standards compliant implementation of OpenCL 1.2 acosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acosh.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_acospi(abacus_float3 x)

Arc cosine over function.

Standards compliant implementation of OpenCL 1.2 acospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acospi.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_asin(abacus_float3 x)

Arc sine function.

Standards compliant implementation of OpenCL 1.2 asin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asin.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_asinh(abacus_float3 x)

Hyperbolic inverse sine function.

Standards compliant implementation of OpenCL 1.2 asinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinh.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_asinpi(abacus_float3 x)

Arc sine over function.

Standards compliant implementation of OpenCL 1.2 asinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinpi.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_atan(abacus_float3 x)

Arc tangent function.

Standards compliant implementation of OpenCL 1.2 atan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_atanh(abacus_float3 x)

Hyperbolic inverse tangent function.

Standards compliant implementation of OpenCL 1.2 atanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanh.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_atanpi(abacus_float3 x)

Arc tangent over function.

Standards compliant implementation of OpenCL 1.2 atanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanpi.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_atan2(abacus_float3 y, abacus_float3 x)

Arc tangent y / x function.

Standards compliant implementation of OpenCL 1.2 atan2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2.html

Parameters
  • y[in] A abacus_float3.

  • x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_atan2pi(abacus_float3 y, abacus_float3 x)

__abacus_atan2(y, x) / .

Standards compliant implementation of OpenCL 1.2 atan2pi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2pi.html

Parameters
  • y[in] A abacus_float3.

  • x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_ceil(abacus_float3 x)

Round to whole number towards +.

Standards compliant implementation of OpenCL 1.2 ceil.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ceil.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_cbrt(abacus_float3 x)

Cube root function.

Standards compliant implementation of OpenCL 1.2 cbrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cbrt.html

Parameters

x – The number to process.

Returns

The cube root of x.

abacus_float3 ABACUS_EXPORT_API __abacus_cos(abacus_float3 x)

Cosine function.

Standards compliant implementation of OpenCL 1.2 cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_cosh(abacus_float3 x)

Hyperbolic cosine function.

Standards compliant implementation of OpenCL 1.2 cosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_cospi(abacus_float3 x)

cospiine by function.

Standards compliant implementation of OpenCL 1.2 cospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_copysign(abacus_float3 x, abacus_float3 y)

Copies the sign of one number to another.

Standards compliant implementation of OpenCL 1.2 copysign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/copysign.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

x with the sign of y.

abacus_float3 ABACUS_EXPORT_API __abacus_erf(abacus_float3 x)

Error in integrating the normal distribution function.

Standards compliant implementation of OpenCL 1.2 erf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_erfc(abacus_float3 x)

Complementary error function.

Standards compliant implementation of OpenCL 1.2 erfc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_exp(abacus_float3 x)

Exponential base e function.

Standards compliant implementation of OpenCL 1.2 exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_exp2(abacus_float3 x)

Exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_exp10(abacus_float3 x)

Exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_expm1(abacus_float3 x)

ex - 1 function.

Standards compliant implementation of OpenCL 1.2 expm1.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_fabs(abacus_float3 x)

Absolute value function.

Standards compliant implementation of OpenCL 1.2 fabs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fabs.html

Parameters

x[in] The number to process.

Returns

The fabs of x.

abacus_float3 ABACUS_EXPORT_API __abacus_fdim(abacus_float3 x, abacus_float3 y)

Positive difference between two values function.

Standards compliant implementation of OpenCL 1.2 fdim.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fdim.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_floor(abacus_float3 x)

Round to whole number towards -.

Standards compliant implementation of OpenCL 1.2 floor.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/floor.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_fma(abacus_float3 x, abacus_float3 y, abacus_float3 z)

Fused multiply add (x * y) + z without intermediate rounding.

Standards compliant implementation of OpenCL 1.2 fma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fma.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • z[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_fmax(abacus_float3 x, abacus_float3 y)

The max of two numbers.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_fmin(abacus_float3 x, abacus_float3 y)

The min of two numbers.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_fmod(abacus_float3 x, abacus_float3 y)

x % m function.

Standards compliant implementation of OpenCL 1.2 fmod.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmod.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_fract(abacus_float3 x, abacus_float3 *whole_number)

Fractional part of x function.

Standards compliant implementation of OpenCL 1.2 fract.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fract.html

Parameters
  • x[in] A abacus_float3.

  • whole_number[out] The floor x.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_frexp(abacus_float3 x, abacus_int3 *exponent)

Extract mantissa and exponent x function.

Standards compliant implementation of OpenCL 1.2 frexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/frexp.html

Parameters
  • x[in] A abacus_float3.

  • exponent[out] The exponent of x.

Returns

A abacus_float3, in range [0.5f..1.0f).

abacus_float3 ABACUS_EXPORT_API __abacus_hypot(abacus_float3 x, abacus_float3 y)

(x2 + y2)

Standards compliant implementation of OpenCL 1.2 hypot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hypot.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_ilogb(abacus_float3 x)

Extract exponent as an integer value function.

Standards compliant implementation of OpenCL 1.2 ilogb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ilogb.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_int3.

abacus_float3 ABACUS_EXPORT_API __abacus_lgamma(abacus_float3 x)

Log gamma function.

Standards compliant implementation of OpenCL 1.2 lgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_lgamma_r(abacus_float3 x, abacus_int3 *out_sign)

Log gamma with sign function.

Standards compliant implementation of OpenCL 1.2 lgamma_r.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters
  • x[in] The number to process.

  • out_sign[out] The sign of the gamma function.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_ldexp(abacus_float3 x, abacus_int3 n)

x * 2n function.

Standards compliant implementation of OpenCL 1.2 ldexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ldexp.html

Parameters
  • x[in] A abacus_float3.

  • n[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_log(abacus_float3 x)

Logarithm base e function.

Standards compliant implementation of OpenCL 1.2 log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_log2(abacus_float3 x)

Logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_log10(abacus_float3 x)

Logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_logb(abacus_float3 x)

Extract exponent as an floating point value function.

Standards compliant implementation of OpenCL 1.2 logb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_log1p(abacus_float3 x)

ln(1 + x) function.

Standards compliant implementation of OpenCL 1.2 log1p.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log1p.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_mad(abacus_float3 x, abacus_float3 y, abacus_float3 z)

Multiply add (x * y) + z.

Standards compliant implementation of OpenCL 1.2 mad.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • z[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_maxmag(abacus_float3 x, abacus_float3 y)

Greatest magnitude function.

Standards compliant implementation of OpenCL 1.2 maxmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/maxmag.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_minmag(abacus_float3 x, abacus_float3 y)

Smallest magnitude function.

Standards compliant implementation of OpenCL 1.2 minmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/minmag.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_modf(abacus_float3 x, abacus_float3 *whole_number)

Decompose x function.

Standards compliant implementation of OpenCL 1.2 modf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/modf.html

Parameters
  • x[in] A abacus_float3.

  • whole_number[out] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_nan(abacus_uint3 x)

Quiet nan function.

Standards compliant implementation of OpenCL 1.2 nan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nan.html

Parameters

x[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_nextafter(abacus_float3 x, abacus_float3 y)

Next representable number of x in the direction of y function.

Standards compliant implementation of OpenCL 1.2 nextafter.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nextafter.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_pow(abacus_float3 x, abacus_float3 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pow.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_pown(abacus_float3 x, abacus_int3 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pown.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_powr(abacus_float3 x, abacus_float3 y)

x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_remainder(abacus_float3 x, abacus_float3 y)

x - (round(x / y) * y).

Standards compliant implementation of OpenCL 1.2 remainder.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remainder.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_remquo(abacus_float3 x, abacus_float3 y, abacus_int3 *quotient)

Remainder and quotient function.

Standards compliant implementation of OpenCL 1.2 remquo.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remquo.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • quotient[out] The quotient of x.

Returns

A abacus_float3, in range [0.5f..1.0f).

abacus_float3 ABACUS_EXPORT_API __abacus_rint(abacus_float3 x)

Round to nearest even integer.

Standards compliant implementation of OpenCL 1.2 rint.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rint.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_rootn(abacus_float3 x, abacus_int3 y)

x^(1/y).

Standards compliant implementation of OpenCL 1.2 rootn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rootn.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_int3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_round(abacus_float3 x)

Round to whole number, halfway cases away from zero.

Standards compliant implementation of OpenCL 1.2 round.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/round.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_rsqrt(abacus_float3 x)

1 / x function.

Standards compliant implementation of OpenCL 1.2 rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_sin(abacus_float3 x)

Sine function.

Standards compliant implementation of OpenCL 1.2 sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_sinh(abacus_float3 x)

Hyperbolic sine function.

Standards compliant implementation of OpenCL 1.2 sinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_sinpi(abacus_float3 x)

Sine by function.

Standards compliant implementation of OpenCL 1.2 sinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sinpi.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_sincos(abacus_float3 x, abacus_float3 *whole_number)

Sine and cosine function.

Standards compliant implementation of OpenCL 1.2 sincos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sincos.html

Parameters
  • x[in] A abacus_float3.

  • whole_number[out] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_sqrt(abacus_float3 x)

x function.

Standards compliant implementation of OpenCL 1.2 sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_tan(abacus_float3 x)

Tangent function.

Standards compliant implementation of OpenCL 1.2 tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_tanh(abacus_float3 x)

Hyperbolic tangent function.

Standards compliant implementation of OpenCL 1.2 tanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_tanpi(abacus_float3 x)

Tangent by function.

Standards compliant implementation of OpenCL 1.2 tanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_tgamma(abacus_float3 x)

Gamma function.

Stgammadards compliant implementation of OpenCL 1.2 tgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_trunc(abacus_float3 x)

Round to whole number towards 0.

Standards compliant implementation of OpenCL 1.2 trunc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/trunc.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_acos(abacus_float4 x)

Arc cosine function.

Standards compliant implementation of OpenCL 1.2 acos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acos.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_acosh(abacus_float4 x)

Hyperbolic inverse cosine function.

Standards compliant implementation of OpenCL 1.2 acosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acosh.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_acospi(abacus_float4 x)

Arc cosine over function.

Standards compliant implementation of OpenCL 1.2 acospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acospi.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_asin(abacus_float4 x)

Arc sine function.

Standards compliant implementation of OpenCL 1.2 asin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asin.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_asinh(abacus_float4 x)

Hyperbolic inverse sine function.

Standards compliant implementation of OpenCL 1.2 asinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinh.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_asinpi(abacus_float4 x)

Arc sine over function.

Standards compliant implementation of OpenCL 1.2 asinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinpi.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_atan(abacus_float4 x)

Arc tangent function.

Standards compliant implementation of OpenCL 1.2 atan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_atanh(abacus_float4 x)

Hyperbolic inverse tangent function.

Standards compliant implementation of OpenCL 1.2 atanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanh.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_atanpi(abacus_float4 x)

Arc tangent over function.

Standards compliant implementation of OpenCL 1.2 atanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanpi.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_atan2(abacus_float4 y, abacus_float4 x)

Arc tangent y / x function.

Standards compliant implementation of OpenCL 1.2 atan2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2.html

Parameters
  • y[in] A abacus_float4.

  • x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_atan2pi(abacus_float4 y, abacus_float4 x)

__abacus_atan2(y, x) / .

Standards compliant implementation of OpenCL 1.2 atan2pi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2pi.html

Parameters
  • y[in] A abacus_float4.

  • x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_ceil(abacus_float4 x)

Round to whole number towards +.

Standards compliant implementation of OpenCL 1.2 ceil.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ceil.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_cbrt(abacus_float4 x)

Cube root function.

Standards compliant implementation of OpenCL 1.2 cbrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cbrt.html

Parameters

x – The number to process.

Returns

The cube root of x.

abacus_float4 ABACUS_EXPORT_API __abacus_cos(abacus_float4 x)

Cosine function.

Standards compliant implementation of OpenCL 1.2 cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_cosh(abacus_float4 x)

Hyperbolic cosine function.

Standards compliant implementation of OpenCL 1.2 cosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_cospi(abacus_float4 x)

cospiine by function.

Standards compliant implementation of OpenCL 1.2 cospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_copysign(abacus_float4 x, abacus_float4 y)

Copies the sign of one number to another.

Standards compliant implementation of OpenCL 1.2 copysign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/copysign.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

x with the sign of y.

abacus_float4 ABACUS_EXPORT_API __abacus_erf(abacus_float4 x)

Error in integrating the normal distribution function.

Standards compliant implementation of OpenCL 1.2 erf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_erfc(abacus_float4 x)

Complementary error function.

Standards compliant implementation of OpenCL 1.2 erfc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_exp(abacus_float4 x)

Exponential base e function.

Standards compliant implementation of OpenCL 1.2 exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_exp2(abacus_float4 x)

Exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_exp10(abacus_float4 x)

Exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_expm1(abacus_float4 x)

ex - 1 function.

Standards compliant implementation of OpenCL 1.2 expm1.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_fabs(abacus_float4 x)

Absolute value function.

Standards compliant implementation of OpenCL 1.2 fabs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fabs.html

Parameters

x[in] The number to process.

Returns

The fabs of x.

abacus_float4 ABACUS_EXPORT_API __abacus_fdim(abacus_float4 x, abacus_float4 y)

Positive difference between two values function.

Standards compliant implementation of OpenCL 1.2 fdim.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fdim.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_floor(abacus_float4 x)

Round to whole number towards -.

Standards compliant implementation of OpenCL 1.2 floor.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/floor.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_fma(abacus_float4 x, abacus_float4 y, abacus_float4 z)

Fused multiply add (x * y) + z without intermediate rounding.

Standards compliant implementation of OpenCL 1.2 fma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fma.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • z[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_fmax(abacus_float4 x, abacus_float4 y)

The max of two numbers.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_fmin(abacus_float4 x, abacus_float4 y)

The min of two numbers.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_fmod(abacus_float4 x, abacus_float4 y)

x % m function.

Standards compliant implementation of OpenCL 1.2 fmod.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmod.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_fract(abacus_float4 x, abacus_float4 *whole_number)

Fractional part of x function.

Standards compliant implementation of OpenCL 1.2 fract.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fract.html

Parameters
  • x[in] A abacus_float4.

  • whole_number[out] The floor x.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_frexp(abacus_float4 x, abacus_int4 *exponent)

Extract mantissa and exponent x function.

Standards compliant implementation of OpenCL 1.2 frexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/frexp.html

Parameters
  • x[in] A abacus_float4.

  • exponent[out] The exponent of x.

Returns

A abacus_float4, in range [0.5f..1.0f).

abacus_float4 ABACUS_EXPORT_API __abacus_hypot(abacus_float4 x, abacus_float4 y)

(x2 + y2)

Standards compliant implementation of OpenCL 1.2 hypot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hypot.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_ilogb(abacus_float4 x)

Extract exponent as an integer value function.

Standards compliant implementation of OpenCL 1.2 ilogb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ilogb.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_int4.

abacus_float4 ABACUS_EXPORT_API __abacus_lgamma(abacus_float4 x)

Log gamma function.

Standards compliant implementation of OpenCL 1.2 lgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_lgamma_r(abacus_float4 x, abacus_int4 *out_sign)

Log gamma with sign function.

Standards compliant implementation of OpenCL 1.2 lgamma_r.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters
  • x[in] The number to process.

  • out_sign[out] The sign of the gamma function.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_ldexp(abacus_float4 x, abacus_int4 n)

x * 2n function.

Standards compliant implementation of OpenCL 1.2 ldexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ldexp.html

Parameters
  • x[in] A abacus_float4.

  • n[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_log(abacus_float4 x)

Logarithm base e function.

Standards compliant implementation of OpenCL 1.2 log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_log2(abacus_float4 x)

Logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_log10(abacus_float4 x)

Logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_logb(abacus_float4 x)

Extract exponent as an floating point value function.

Standards compliant implementation of OpenCL 1.2 logb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_log1p(abacus_float4 x)

ln(1 + x) function.

Standards compliant implementation of OpenCL 1.2 log1p.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log1p.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_mad(abacus_float4 x, abacus_float4 y, abacus_float4 z)

Multiply add (x * y) + z.

Standards compliant implementation of OpenCL 1.2 mad.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • z[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_maxmag(abacus_float4 x, abacus_float4 y)

Greatest magnitude function.

Standards compliant implementation of OpenCL 1.2 maxmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/maxmag.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_minmag(abacus_float4 x, abacus_float4 y)

Smallest magnitude function.

Standards compliant implementation of OpenCL 1.2 minmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/minmag.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_modf(abacus_float4 x, abacus_float4 *whole_number)

Decompose x function.

Standards compliant implementation of OpenCL 1.2 modf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/modf.html

Parameters
  • x[in] A abacus_float4.

  • whole_number[out] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_nan(abacus_uint4 x)

Quiet nan function.

Standards compliant implementation of OpenCL 1.2 nan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nan.html

Parameters

x[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_nextafter(abacus_float4 x, abacus_float4 y)

Next representable number of x in the direction of y function.

Standards compliant implementation of OpenCL 1.2 nextafter.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nextafter.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_pow(abacus_float4 x, abacus_float4 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pow.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_pown(abacus_float4 x, abacus_int4 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pown.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_powr(abacus_float4 x, abacus_float4 y)

x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_remainder(abacus_float4 x, abacus_float4 y)

x - (round(x / y) * y).

Standards compliant implementation of OpenCL 1.2 remainder.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remainder.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_remquo(abacus_float4 x, abacus_float4 y, abacus_int4 *quotient)

Remainder and quotient function.

Standards compliant implementation of OpenCL 1.2 remquo.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remquo.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • quotient[out] The quotient of x.

Returns

A abacus_float4, in range [0.5f..1.0f).

abacus_float4 ABACUS_EXPORT_API __abacus_rint(abacus_float4 x)

Round to nearest even integer.

Standards compliant implementation of OpenCL 1.2 rint.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rint.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_rootn(abacus_float4 x, abacus_int4 y)

x^(1/y).

Standards compliant implementation of OpenCL 1.2 rootn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rootn.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_int4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_round(abacus_float4 x)

Round to whole number, halfway cases away from zero.

Standards compliant implementation of OpenCL 1.2 round.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/round.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_rsqrt(abacus_float4 x)

1 / x function.

Standards compliant implementation of OpenCL 1.2 rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_sin(abacus_float4 x)

Sine function.

Standards compliant implementation of OpenCL 1.2 sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_sinh(abacus_float4 x)

Hyperbolic sine function.

Standards compliant implementation of OpenCL 1.2 sinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_sinpi(abacus_float4 x)

Sine by function.

Standards compliant implementation of OpenCL 1.2 sinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sinpi.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_sincos(abacus_float4 x, abacus_float4 *whole_number)

Sine and cosine function.

Standards compliant implementation of OpenCL 1.2 sincos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sincos.html

Parameters
  • x[in] A abacus_float4.

  • whole_number[out] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_sqrt(abacus_float4 x)

x function.

Standards compliant implementation of OpenCL 1.2 sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_tan(abacus_float4 x)

Tangent function.

Standards compliant implementation of OpenCL 1.2 tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_tanh(abacus_float4 x)

Hyperbolic tangent function.

Standards compliant implementation of OpenCL 1.2 tanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_tanpi(abacus_float4 x)

Tangent by function.

Standards compliant implementation of OpenCL 1.2 tanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_tgamma(abacus_float4 x)

Gamma function.

Stgammadards compliant implementation of OpenCL 1.2 tgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_trunc(abacus_float4 x)

Round to whole number towards 0.

Standards compliant implementation of OpenCL 1.2 trunc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/trunc.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_acos(abacus_float8 x)

Arc cosine function.

Standards compliant implementation of OpenCL 1.2 acos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acos.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_acosh(abacus_float8 x)

Hyperbolic inverse cosine function.

Standards compliant implementation of OpenCL 1.2 acosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acosh.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_acospi(abacus_float8 x)

Arc cosine over function.

Standards compliant implementation of OpenCL 1.2 acospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acospi.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_asin(abacus_float8 x)

Arc sine function.

Standards compliant implementation of OpenCL 1.2 asin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asin.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_asinh(abacus_float8 x)

Hyperbolic inverse sine function.

Standards compliant implementation of OpenCL 1.2 asinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinh.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_asinpi(abacus_float8 x)

Arc sine over function.

Standards compliant implementation of OpenCL 1.2 asinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinpi.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_atan(abacus_float8 x)

Arc tangent function.

Standards compliant implementation of OpenCL 1.2 atan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_atanh(abacus_float8 x)

Hyperbolic inverse tangent function.

Standards compliant implementation of OpenCL 1.2 atanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanh.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_atanpi(abacus_float8 x)

Arc tangent over function.

Standards compliant implementation of OpenCL 1.2 atanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanpi.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_atan2(abacus_float8 y, abacus_float8 x)

Arc tangent y / x function.

Standards compliant implementation of OpenCL 1.2 atan2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2.html

Parameters
  • y[in] A abacus_float8.

  • x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_atan2pi(abacus_float8 y, abacus_float8 x)

__abacus_atan2(y, x) / .

Standards compliant implementation of OpenCL 1.2 atan2pi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2pi.html

Parameters
  • y[in] A abacus_float8.

  • x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_ceil(abacus_float8 x)

Round to whole number towards +.

Standards compliant implementation of OpenCL 1.2 ceil.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ceil.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_cbrt(abacus_float8 x)

Cube root function.

Standards compliant implementation of OpenCL 1.2 cbrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cbrt.html

Parameters

x – The number to process.

Returns

The cube root of x.

abacus_float8 ABACUS_EXPORT_API __abacus_cos(abacus_float8 x)

Cosine function.

Standards compliant implementation of OpenCL 1.2 cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_cosh(abacus_float8 x)

Hyperbolic cosine function.

Standards compliant implementation of OpenCL 1.2 cosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_cospi(abacus_float8 x)

cospiine by function.

Standards compliant implementation of OpenCL 1.2 cospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_copysign(abacus_float8 x, abacus_float8 y)

Copies the sign of one number to another.

Standards compliant implementation of OpenCL 1.2 copysign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/copysign.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

x with the sign of y.

abacus_float8 ABACUS_EXPORT_API __abacus_erf(abacus_float8 x)

Error in integrating the normal distribution function.

Standards compliant implementation of OpenCL 1.2 erf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_erfc(abacus_float8 x)

Complementary error function.

Standards compliant implementation of OpenCL 1.2 erfc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_exp(abacus_float8 x)

Exponential base e function.

Standards compliant implementation of OpenCL 1.2 exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_exp2(abacus_float8 x)

Exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_exp10(abacus_float8 x)

Exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_expm1(abacus_float8 x)

ex - 1 function.

Standards compliant implementation of OpenCL 1.2 expm1.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_fabs(abacus_float8 x)

Absolute value function.

Standards compliant implementation of OpenCL 1.2 fabs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fabs.html

Parameters

x[in] The number to process.

Returns

The fabs of x.

abacus_float8 ABACUS_EXPORT_API __abacus_fdim(abacus_float8 x, abacus_float8 y)

Positive difference between two values function.

Standards compliant implementation of OpenCL 1.2 fdim.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fdim.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_floor(abacus_float8 x)

Round to whole number towards -.

Standards compliant implementation of OpenCL 1.2 floor.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/floor.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_fma(abacus_float8 x, abacus_float8 y, abacus_float8 z)

Fused multiply add (x * y) + z without intermediate rounding.

Standards compliant implementation of OpenCL 1.2 fma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fma.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • z[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_fmax(abacus_float8 x, abacus_float8 y)

The max of two numbers.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_fmin(abacus_float8 x, abacus_float8 y)

The min of two numbers.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_fmod(abacus_float8 x, abacus_float8 y)

x % m function.

Standards compliant implementation of OpenCL 1.2 fmod.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmod.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_fract(abacus_float8 x, abacus_float8 *whole_number)

Fractional part of x function.

Standards compliant implementation of OpenCL 1.2 fract.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fract.html

Parameters
  • x[in] A abacus_float8.

  • whole_number[out] The floor x.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_frexp(abacus_float8 x, abacus_int8 *exponent)

Extract mantissa and exponent x function.

Standards compliant implementation of OpenCL 1.2 frexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/frexp.html

Parameters
  • x[in] A abacus_float8.

  • exponent[out] The exponent of x.

Returns

A abacus_float8, in range [0.5f..1.0f).

abacus_float8 ABACUS_EXPORT_API __abacus_hypot(abacus_float8 x, abacus_float8 y)

(x2 + y2)

Standards compliant implementation of OpenCL 1.2 hypot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hypot.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_ilogb(abacus_float8 x)

Extract exponent as an integer value function.

Standards compliant implementation of OpenCL 1.2 ilogb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ilogb.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_int8.

abacus_float8 ABACUS_EXPORT_API __abacus_lgamma(abacus_float8 x)

Log gamma function.

Standards compliant implementation of OpenCL 1.2 lgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_lgamma_r(abacus_float8 x, abacus_int8 *out_sign)

Log gamma with sign function.

Standards compliant implementation of OpenCL 1.2 lgamma_r.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters
  • x[in] The number to process.

  • out_sign[out] The sign of the gamma function.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_ldexp(abacus_float8 x, abacus_int8 n)

x * 2n function.

Standards compliant implementation of OpenCL 1.2 ldexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ldexp.html

Parameters
  • x[in] A abacus_float8.

  • n[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_log(abacus_float8 x)

Logarithm base e function.

Standards compliant implementation of OpenCL 1.2 log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_log2(abacus_float8 x)

Logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_log10(abacus_float8 x)

Logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_logb(abacus_float8 x)

Extract exponent as an floating point value function.

Standards compliant implementation of OpenCL 1.2 logb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_log1p(abacus_float8 x)

ln(1 + x) function.

Standards compliant implementation of OpenCL 1.2 log1p.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log1p.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_mad(abacus_float8 x, abacus_float8 y, abacus_float8 z)

Multiply add (x * y) + z.

Standards compliant implementation of OpenCL 1.2 mad.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • z[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_maxmag(abacus_float8 x, abacus_float8 y)

Greatest magnitude function.

Standards compliant implementation of OpenCL 1.2 maxmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/maxmag.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_minmag(abacus_float8 x, abacus_float8 y)

Smallest magnitude function.

Standards compliant implementation of OpenCL 1.2 minmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/minmag.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_modf(abacus_float8 x, abacus_float8 *whole_number)

Decompose x function.

Standards compliant implementation of OpenCL 1.2 modf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/modf.html

Parameters
  • x[in] A abacus_float8.

  • whole_number[out] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_nan(abacus_uint8 x)

Quiet nan function.

Standards compliant implementation of OpenCL 1.2 nan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nan.html

Parameters

x[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_nextafter(abacus_float8 x, abacus_float8 y)

Next representable number of x in the direction of y function.

Standards compliant implementation of OpenCL 1.2 nextafter.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nextafter.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_pow(abacus_float8 x, abacus_float8 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pow.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_pown(abacus_float8 x, abacus_int8 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pown.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_powr(abacus_float8 x, abacus_float8 y)

x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_remainder(abacus_float8 x, abacus_float8 y)

x - (round(x / y) * y).

Standards compliant implementation of OpenCL 1.2 remainder.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remainder.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_remquo(abacus_float8 x, abacus_float8 y, abacus_int8 *quotient)

Remainder and quotient function.

Standards compliant implementation of OpenCL 1.2 remquo.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remquo.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • quotient[out] The quotient of x.

Returns

A abacus_float8, in range [0.5f..1.0f).

abacus_float8 ABACUS_EXPORT_API __abacus_rint(abacus_float8 x)

Round to nearest even integer.

Standards compliant implementation of OpenCL 1.2 rint.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rint.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_rootn(abacus_float8 x, abacus_int8 y)

x^(1/y).

Standards compliant implementation of OpenCL 1.2 rootn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rootn.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_int8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_round(abacus_float8 x)

Round to whole number, halfway cases away from zero.

Standards compliant implementation of OpenCL 1.2 round.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/round.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_rsqrt(abacus_float8 x)

1 / x function.

Standards compliant implementation of OpenCL 1.2 rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_sin(abacus_float8 x)

Sine function.

Standards compliant implementation of OpenCL 1.2 sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_sinh(abacus_float8 x)

Hyperbolic sine function.

Standards compliant implementation of OpenCL 1.2 sinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_sinpi(abacus_float8 x)

Sine by function.

Standards compliant implementation of OpenCL 1.2 sinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sinpi.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_sincos(abacus_float8 x, abacus_float8 *whole_number)

Sine and cosine function.

Standards compliant implementation of OpenCL 1.2 sincos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sincos.html

Parameters
  • x[in] A abacus_float8.

  • whole_number[out] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_sqrt(abacus_float8 x)

x function.

Standards compliant implementation of OpenCL 1.2 sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_tan(abacus_float8 x)

Tangent function.

Standards compliant implementation of OpenCL 1.2 tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_tanh(abacus_float8 x)

Hyperbolic tangent function.

Standards compliant implementation of OpenCL 1.2 tanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_tanpi(abacus_float8 x)

Tangent by function.

Standards compliant implementation of OpenCL 1.2 tanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_tgamma(abacus_float8 x)

Gamma function.

Stgammadards compliant implementation of OpenCL 1.2 tgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_trunc(abacus_float8 x)

Round to whole number towards 0.

Standards compliant implementation of OpenCL 1.2 trunc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/trunc.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_acos(abacus_float16 x)

Arc cosine function.

Standards compliant implementation of OpenCL 1.2 acos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acos.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_acosh(abacus_float16 x)

Hyperbolic inverse cosine function.

Standards compliant implementation of OpenCL 1.2 acosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acosh.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_acospi(abacus_float16 x)

Arc cosine over function.

Standards compliant implementation of OpenCL 1.2 acospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/acospi.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_asin(abacus_float16 x)

Arc sine function.

Standards compliant implementation of OpenCL 1.2 asin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asin.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_asinh(abacus_float16 x)

Hyperbolic inverse sine function.

Standards compliant implementation of OpenCL 1.2 asinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinh.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_asinpi(abacus_float16 x)

Arc sine over function.

Standards compliant implementation of OpenCL 1.2 asinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/asinpi.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_atan(abacus_float16 x)

Arc tangent function.

Standards compliant implementation of OpenCL 1.2 atan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_atanh(abacus_float16 x)

Hyperbolic inverse tangent function.

Standards compliant implementation of OpenCL 1.2 atanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanh.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_atanpi(abacus_float16 x)

Arc tangent over function.

Standards compliant implementation of OpenCL 1.2 atanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atanpi.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_atan2(abacus_float16 y, abacus_float16 x)

Arc tangent y / x function.

Standards compliant implementation of OpenCL 1.2 atan2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2.html

Parameters
  • y[in] A abacus_float16.

  • x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_atan2pi(abacus_float16 y, abacus_float16 x)

__abacus_atan2(y, x) / .

Standards compliant implementation of OpenCL 1.2 atan2pi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/atan2pi.html

Parameters
  • y[in] A abacus_float16.

  • x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_ceil(abacus_float16 x)

Round to whole number towards +.

Standards compliant implementation of OpenCL 1.2 ceil.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ceil.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_cbrt(abacus_float16 x)

Cube root function.

Standards compliant implementation of OpenCL 1.2 cbrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cbrt.html

Parameters

x – The number to process.

Returns

The cube root of x.

abacus_float16 ABACUS_EXPORT_API __abacus_cos(abacus_float16 x)

Cosine function.

Standards compliant implementation of OpenCL 1.2 cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_cosh(abacus_float16 x)

Hyperbolic cosine function.

Standards compliant implementation of OpenCL 1.2 cosh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_cospi(abacus_float16 x)

cospiine by function.

Standards compliant implementation of OpenCL 1.2 cospi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_copysign(abacus_float16 x, abacus_float16 y)

Copies the sign of one number to another.

Standards compliant implementation of OpenCL 1.2 copysign.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/copysign.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

x with the sign of y.

abacus_float16 ABACUS_EXPORT_API __abacus_erf(abacus_float16 x)

Error in integrating the normal distribution function.

Standards compliant implementation of OpenCL 1.2 erf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_erfc(abacus_float16 x)

Complementary error function.

Standards compliant implementation of OpenCL 1.2 erfc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/erf.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_exp(abacus_float16 x)

Exponential base e function.

Standards compliant implementation of OpenCL 1.2 exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_exp2(abacus_float16 x)

Exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_exp10(abacus_float16 x)

Exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_expm1(abacus_float16 x)

ex - 1 function.

Standards compliant implementation of OpenCL 1.2 expm1.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_fabs(abacus_float16 x)

Absolute value function.

Standards compliant implementation of OpenCL 1.2 fabs.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fabs.html

Parameters

x[in] The number to process.

Returns

The fabs of x.

abacus_float16 ABACUS_EXPORT_API __abacus_fdim(abacus_float16 x, abacus_float16 y)

Positive difference between two values function.

Standards compliant implementation of OpenCL 1.2 fdim.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fdim.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_floor(abacus_float16 x)

Round to whole number towards -.

Standards compliant implementation of OpenCL 1.2 floor.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/floor.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_fma(abacus_float16 x, abacus_float16 y, abacus_float16 z)

Fused multiply add (x * y) + z without intermediate rounding.

Standards compliant implementation of OpenCL 1.2 fma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fma.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • z[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_fmax(abacus_float16 x, abacus_float16 y)

The max of two numbers.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_fmin(abacus_float16 x, abacus_float16 y)

The min of two numbers.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_fmod(abacus_float16 x, abacus_float16 y)

x % m function.

Standards compliant implementation of OpenCL 1.2 fmod.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmod.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_fract(abacus_float16 x, abacus_float16 *whole_number)

Fractional part of x function.

Standards compliant implementation of OpenCL 1.2 fract.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fract.html

Parameters
  • x[in] A abacus_float16.

  • whole_number[out] The floor x.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_frexp(abacus_float16 x, abacus_int16 *exponent)

Extract mantissa and exponent x function.

Standards compliant implementation of OpenCL 1.2 frexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/frexp.html

Parameters
  • x[in] A abacus_float16.

  • exponent[out] The exponent of x.

Returns

A abacus_float16, in range [0.5f..1.0f).

abacus_float16 ABACUS_EXPORT_API __abacus_hypot(abacus_float16 x, abacus_float16 y)

(x2 + y2)

Standards compliant implementation of OpenCL 1.2 hypot.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/hypot.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_ilogb(abacus_float16 x)

Extract exponent as an integer value function.

Standards compliant implementation of OpenCL 1.2 ilogb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ilogb.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_int16.

abacus_float16 ABACUS_EXPORT_API __abacus_lgamma(abacus_float16 x)

Log gamma function.

Standards compliant implementation of OpenCL 1.2 lgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_lgamma_r(abacus_float16 x, abacus_int16 *out_sign)

Log gamma with sign function.

Standards compliant implementation of OpenCL 1.2 lgamma_r.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/lgamma.html

Parameters
  • x[in] The number to process.

  • out_sign[out] The sign of the gamma function.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_ldexp(abacus_float16 x, abacus_int16 n)

x * 2n function.

Standards compliant implementation of OpenCL 1.2 ldexp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ldexp.html

Parameters
  • x[in] A abacus_float16.

  • n[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_log(abacus_float16 x)

Logarithm base e function.

Standards compliant implementation of OpenCL 1.2 log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_log2(abacus_float16 x)

Logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_log10(abacus_float16 x)

Logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_logb(abacus_float16 x)

Extract exponent as an floating point value function.

Standards compliant implementation of OpenCL 1.2 logb.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_log1p(abacus_float16 x)

ln(1 + x) function.

Standards compliant implementation of OpenCL 1.2 log1p.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log1p.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_mad(abacus_float16 x, abacus_float16 y, abacus_float16 z)

Multiply add (x * y) + z.

Standards compliant implementation of OpenCL 1.2 mad.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/mad.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • z[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_maxmag(abacus_float16 x, abacus_float16 y)

Greatest magnitude function.

Standards compliant implementation of OpenCL 1.2 maxmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/maxmag.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_minmag(abacus_float16 x, abacus_float16 y)

Smallest magnitude function.

Standards compliant implementation of OpenCL 1.2 minmag.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/minmag.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_modf(abacus_float16 x, abacus_float16 *whole_number)

Decompose x function.

Standards compliant implementation of OpenCL 1.2 modf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/modf.html

Parameters
  • x[in] A abacus_float16.

  • whole_number[out] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_nan(abacus_uint16 x)

Quiet nan function.

Standards compliant implementation of OpenCL 1.2 nan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nan.html

Parameters

x[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_nextafter(abacus_float16 x, abacus_float16 y)

Next representable number of x in the direction of y function.

Standards compliant implementation of OpenCL 1.2 nextafter.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/nextafter.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_pow(abacus_float16 x, abacus_float16 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pow.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_pown(abacus_float16 x, abacus_int16 y)

x^y.

Standards compliant implementation of OpenCL 1.2 pown.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_powr(abacus_float16 x, abacus_float16 y)

x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_remainder(abacus_float16 x, abacus_float16 y)

x - (round(x / y) * y).

Standards compliant implementation of OpenCL 1.2 remainder.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remainder.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_remquo(abacus_float16 x, abacus_float16 y, abacus_int16 *quotient)

Remainder and quotient function.

Standards compliant implementation of OpenCL 1.2 remquo.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/remquo.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • quotient[out] The quotient of x.

Returns

A abacus_float16, in range [0.5f..1.0f).

abacus_float16 ABACUS_EXPORT_API __abacus_rint(abacus_float16 x)

Round to nearest even integer.

Standards compliant implementation of OpenCL 1.2 rint.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rint.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_rootn(abacus_float16 x, abacus_int16 y)

x^(1/y).

Standards compliant implementation of OpenCL 1.2 rootn.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/rootn.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_int16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_round(abacus_float16 x)

Round to whole number, halfway cases away from zero.

Standards compliant implementation of OpenCL 1.2 round.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/round.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_rsqrt(abacus_float16 x)

1 / x function.

Standards compliant implementation of OpenCL 1.2 rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_sin(abacus_float16 x)

Sine function.

Standards compliant implementation of OpenCL 1.2 sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_sinh(abacus_float16 x)

Hyperbolic sine function.

Standards compliant implementation of OpenCL 1.2 sinh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_sinpi(abacus_float16 x)

Sine by function.

Standards compliant implementation of OpenCL 1.2 sinpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sinpi.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_sincos(abacus_float16 x, abacus_float16 *whole_number)

Sine and cosine function.

Standards compliant implementation of OpenCL 1.2 sincos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sincos.html

Parameters
  • x[in] A abacus_float16.

  • whole_number[out] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_sqrt(abacus_float16 x)

x function.

Standards compliant implementation of OpenCL 1.2 sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_tan(abacus_float16 x)

Tangent function.

Standards compliant implementation of OpenCL 1.2 tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_tanh(abacus_float16 x)

Hyperbolic tangent function.

Standards compliant implementation of OpenCL 1.2 tanh.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_tanpi(abacus_float16 x)

Tangent by function.

Standards compliant implementation of OpenCL 1.2 tanpi.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_tgamma(abacus_float16 x)

Gamma function.

Stgammadards compliant implementation of OpenCL 1.2 tgamma.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_trunc(abacus_float16 x)

Round to whole number towards 0.

Standards compliant implementation of OpenCL 1.2 trunc.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/trunc.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float2 ABACUS_EXPORT_API __abacus_fmax(abacus_float2 x, abacus_float y)

The max of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API fmax(abacus_float2 x, abacus_float y)

Wrapper for __abacus_fmax.

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_fmin(abacus_float2 x, abacus_float y)

The min of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API fmin(abacus_float2 x, abacus_float y)

Wrapper for __abacus_fmin.

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_fmax(abacus_float3 x, abacus_float y)

The max of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API fmax(abacus_float3 x, abacus_float y)

Wrapper for __abacus_fmax.

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_fmin(abacus_float3 x, abacus_float y)

The min of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API fmin(abacus_float3 x, abacus_float y)

Wrapper for __abacus_fmin.

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_fmax(abacus_float4 x, abacus_float y)

The max of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API fmax(abacus_float4 x, abacus_float y)

Wrapper for __abacus_fmax.

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_fmin(abacus_float4 x, abacus_float y)

The min of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API fmin(abacus_float4 x, abacus_float y)

Wrapper for __abacus_fmin.

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_fmax(abacus_float8 x, abacus_float y)

The max of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API fmax(abacus_float8 x, abacus_float y)

Wrapper for __abacus_fmax.

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_fmin(abacus_float8 x, abacus_float y)

The min of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API fmin(abacus_float8 x, abacus_float y)

Wrapper for __abacus_fmin.

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_fmax(abacus_float16 x, abacus_float y)

The max of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmax.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmax.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API fmax(abacus_float16 x, abacus_float y)

Wrapper for __abacus_fmax.

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_fmin(abacus_float16 x, abacus_float y)

The min of a vector and a scalar.

Standards compliant implementation of OpenCL 1.2 fmin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/fmin.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API fmin(abacus_float16 x, abacus_float y)

Wrapper for __abacus_fmin.

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float.

Returns

A abacus_float16.

abacus_float ABACUS_EXPORT_API __abacus_half_cos(abacus_float x)

Half cosine function.

Standards compliant implementation of OpenCL 1.2 half_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_cos(abacus_float x)

Wrapper for __abacus_half_cos.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_divide(abacus_float x, abacus_float y)

Half divide function.

Standards compliant implementation of OpenCL 1.2 half_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/half_divide.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_divide(abacus_float x, abacus_float y)

Wrapper for __abacus_half_divide.

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_exp(abacus_float x)

Half exponential base e function.

Standards compliant implementation of OpenCL 1.2 half_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_exp(abacus_float x)

Wrapper for __abacus_half_exp.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_exp2(abacus_float x)

Half exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 half_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_exp2(abacus_float x)

Wrapper for __abacus_half_exp2.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_exp10(abacus_float x)

Half exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 half_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_exp10(abacus_float x)

Wrapper for __abacus_half_exp10.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_log(abacus_float x)

Half logarithm base e function.

Standards compliant implementation of OpenCL 1.2 half_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_log(abacus_float x)

Wrapper for __abacus_half_log.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_log2(abacus_float x)

Half logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 half_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_log2(abacus_float x)

Wrapper for __abacus_half_log2.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_log10(abacus_float x)

Half logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 half_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_log10(abacus_float x)

Wrapper for __abacus_half_log10.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_powr(abacus_float x, abacus_float y)

Half x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 half_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_powr(abacus_float x, abacus_float y)

Wrapper for __abacus_half_powr.

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_recip(abacus_float x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_recip(abacus_float x)

Wrapper for __abacus_half_recip.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_rsqrt(abacus_float x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_rsqrt(abacus_float x)

Wrapper for __abacus_half_rsqrt.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_sin(abacus_float x)

Half sine function.

Standards compliant implementation of OpenCL 1.2 half_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_sin(abacus_float x)

Wrapper for __abacus_half_sin.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_sqrt(abacus_float x)

Half x function.

Standards compliant implementation of OpenCL 1.2 half_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_sqrt(abacus_float x)

Wrapper for __abacus_half_sqrt.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_half_tan(abacus_float x)

Half tangent function.

Standards compliant implementation of OpenCL 1.2 half_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API half_tan(abacus_float x)

Wrapper for __abacus_half_tan.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_cos(abacus_float x)

Native cosine function.

Standards compliant implementation of OpenCL 1.2 native_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_cos(abacus_float x)

Wrapper for __abacus_native_cos.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_divide(abacus_float x, abacus_float y)

Native divide function.

Standards compliant implementation of OpenCL 1.2 native_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/native_divide.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_divide(abacus_float x, abacus_float y)

Wrapper for __abacus_native_divide.

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_exp(abacus_float x)

Native exponential base e function.

Standards compliant implementation of OpenCL 1.2 native_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_exp(abacus_float x)

Wrapper for __abacus_native_exp.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_exp2(abacus_float x)

Native exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 native_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_exp2(abacus_float x)

Wrapper for __abacus_native_exp2.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_exp10(abacus_float x)

Native exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 native_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_exp10(abacus_float x)

Wrapper for __abacus_native_exp10.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_log(abacus_float x)

Native logarithm base e function.

Standards compliant implementation of OpenCL 1.2 native_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_log(abacus_float x)

Wrapper for __abacus_native_log.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_log2(abacus_float x)

Native logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 native_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_log2(abacus_float x)

Wrapper for __abacus_native_log2.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_log10(abacus_float x)

Native logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 native_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_log10(abacus_float x)

Wrapper for __abacus_native_log10.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_powr(abacus_float x, abacus_float y)

Native x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 native_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_powr(abacus_float x, abacus_float y)

Wrapper for __abacus_native_powr.

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_recip(abacus_float x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_recip(abacus_float x)

Wrapper for __abacus_native_recip.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_rsqrt(abacus_float x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_rsqrt(abacus_float x)

Wrapper for __abacus_native_rsqrt.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_sin(abacus_float x)

Native sine function.

Standards compliant implementation of OpenCL 1.2 native_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_sin(abacus_float x)

Wrapper for __abacus_native_sin.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_sqrt(abacus_float x)

Native x function.

Standards compliant implementation of OpenCL 1.2 native_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_sqrt(abacus_float x)

Wrapper for __abacus_native_sqrt.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_native_tan(abacus_float x)

Native tangent function.

Standards compliant implementation of OpenCL 1.2 native_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

inline abacus_float ABACUS_API native_tan(abacus_float x)

Wrapper for __abacus_native_tan.

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float2 ABACUS_EXPORT_API __abacus_half_cos(abacus_float2 x)

Half cosine function.

Standards compliant implementation of OpenCL 1.2 half_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_cos(abacus_float2 x)

Wrapper for __abacus_half_cos.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_divide(abacus_float2 x, abacus_float2 y)

Half divide function.

Standards compliant implementation of OpenCL 1.2 half_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/half_divide.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_divide(abacus_float2 x, abacus_float2 y)

Wrapper for __abacus_half_divide.

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_exp(abacus_float2 x)

Half exponential base e function.

Standards compliant implementation of OpenCL 1.2 half_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_exp(abacus_float2 x)

Wrapper for __abacus_half_exp.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_exp2(abacus_float2 x)

Half exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 half_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_exp2(abacus_float2 x)

Wrapper for __abacus_half_exp2.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_exp10(abacus_float2 x)

Half exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 half_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_exp10(abacus_float2 x)

Wrapper for __abacus_half_exp10.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_log(abacus_float2 x)

Half logarithm base e function.

Standards compliant implementation of OpenCL 1.2 half_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_log(abacus_float2 x)

Wrapper for __abacus_half_log.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_log2(abacus_float2 x)

Half logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 half_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_log2(abacus_float2 x)

Wrapper for __abacus_half_log2.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_log10(abacus_float2 x)

Half logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 half_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_log10(abacus_float2 x)

Wrapper for __abacus_half_log10.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_powr(abacus_float2 x, abacus_float2 y)

Half x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 half_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_powr(abacus_float2 x, abacus_float2 y)

Wrapper for __abacus_half_powr.

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_recip(abacus_float2 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_recip(abacus_float2 x)

Wrapper for __abacus_half_recip.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_rsqrt(abacus_float2 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_rsqrt(abacus_float2 x)

Wrapper for __abacus_half_rsqrt.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_sin(abacus_float2 x)

Half sine function.

Standards compliant implementation of OpenCL 1.2 half_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_sin(abacus_float2 x)

Wrapper for __abacus_half_sin.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_sqrt(abacus_float2 x)

Half x function.

Standards compliant implementation of OpenCL 1.2 half_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_sqrt(abacus_float2 x)

Wrapper for __abacus_half_sqrt.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_half_tan(abacus_float2 x)

Half tangent function.

Standards compliant implementation of OpenCL 1.2 half_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API half_tan(abacus_float2 x)

Wrapper for __abacus_half_tan.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_cos(abacus_float2 x)

Native cosine function.

Standards compliant implementation of OpenCL 1.2 native_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_cos(abacus_float2 x)

Wrapper for __abacus_native_cos.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_divide(abacus_float2 x, abacus_float2 y)

Native divide function.

Standards compliant implementation of OpenCL 1.2 native_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/native_divide.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_divide(abacus_float2 x, abacus_float2 y)

Wrapper for __abacus_native_divide.

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_exp(abacus_float2 x)

Native exponential base e function.

Standards compliant implementation of OpenCL 1.2 native_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_exp(abacus_float2 x)

Wrapper for __abacus_native_exp.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_exp2(abacus_float2 x)

Native exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 native_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_exp2(abacus_float2 x)

Wrapper for __abacus_native_exp2.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_exp10(abacus_float2 x)

Native exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 native_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_exp10(abacus_float2 x)

Wrapper for __abacus_native_exp10.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_log(abacus_float2 x)

Native logarithm base e function.

Standards compliant implementation of OpenCL 1.2 native_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_log(abacus_float2 x)

Wrapper for __abacus_native_log.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_log2(abacus_float2 x)

Native logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 native_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_log2(abacus_float2 x)

Wrapper for __abacus_native_log2.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_log10(abacus_float2 x)

Native logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 native_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_log10(abacus_float2 x)

Wrapper for __abacus_native_log10.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_powr(abacus_float2 x, abacus_float2 y)

Native x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 native_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_powr(abacus_float2 x, abacus_float2 y)

Wrapper for __abacus_native_powr.

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_recip(abacus_float2 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_recip(abacus_float2 x)

Wrapper for __abacus_native_recip.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_rsqrt(abacus_float2 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_rsqrt(abacus_float2 x)

Wrapper for __abacus_native_rsqrt.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_sin(abacus_float2 x)

Native sine function.

Standards compliant implementation of OpenCL 1.2 native_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_sin(abacus_float2 x)

Wrapper for __abacus_native_sin.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_sqrt(abacus_float2 x)

Native x function.

Standards compliant implementation of OpenCL 1.2 native_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_sqrt(abacus_float2 x)

Wrapper for __abacus_native_sqrt.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_native_tan(abacus_float2 x)

Native tangent function.

Standards compliant implementation of OpenCL 1.2 native_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API native_tan(abacus_float2 x)

Wrapper for __abacus_native_tan.

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_half_cos(abacus_float3 x)

Half cosine function.

Standards compliant implementation of OpenCL 1.2 half_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_cos(abacus_float3 x)

Wrapper for __abacus_half_cos.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_divide(abacus_float3 x, abacus_float3 y)

Half divide function.

Standards compliant implementation of OpenCL 1.2 half_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/half_divide.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_divide(abacus_float3 x, abacus_float3 y)

Wrapper for __abacus_half_divide.

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_exp(abacus_float3 x)

Half exponential base e function.

Standards compliant implementation of OpenCL 1.2 half_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_exp(abacus_float3 x)

Wrapper for __abacus_half_exp.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_exp2(abacus_float3 x)

Half exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 half_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_exp2(abacus_float3 x)

Wrapper for __abacus_half_exp2.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_exp10(abacus_float3 x)

Half exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 half_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_exp10(abacus_float3 x)

Wrapper for __abacus_half_exp10.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_log(abacus_float3 x)

Half logarithm base e function.

Standards compliant implementation of OpenCL 1.2 half_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_log(abacus_float3 x)

Wrapper for __abacus_half_log.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_log2(abacus_float3 x)

Half logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 half_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_log2(abacus_float3 x)

Wrapper for __abacus_half_log2.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_log10(abacus_float3 x)

Half logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 half_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_log10(abacus_float3 x)

Wrapper for __abacus_half_log10.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_powr(abacus_float3 x, abacus_float3 y)

Half x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 half_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_powr(abacus_float3 x, abacus_float3 y)

Wrapper for __abacus_half_powr.

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_recip(abacus_float3 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_recip(abacus_float3 x)

Wrapper for __abacus_half_recip.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_rsqrt(abacus_float3 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_rsqrt(abacus_float3 x)

Wrapper for __abacus_half_rsqrt.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_sin(abacus_float3 x)

Half sine function.

Standards compliant implementation of OpenCL 1.2 half_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_sin(abacus_float3 x)

Wrapper for __abacus_half_sin.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_sqrt(abacus_float3 x)

Half x function.

Standards compliant implementation of OpenCL 1.2 half_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_sqrt(abacus_float3 x)

Wrapper for __abacus_half_sqrt.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_half_tan(abacus_float3 x)

Half tangent function.

Standards compliant implementation of OpenCL 1.2 half_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API half_tan(abacus_float3 x)

Wrapper for __abacus_half_tan.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_cos(abacus_float3 x)

Native cosine function.

Standards compliant implementation of OpenCL 1.2 native_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_cos(abacus_float3 x)

Wrapper for __abacus_native_cos.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_divide(abacus_float3 x, abacus_float3 y)

Native divide function.

Standards compliant implementation of OpenCL 1.2 native_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/native_divide.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_divide(abacus_float3 x, abacus_float3 y)

Wrapper for __abacus_native_divide.

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_exp(abacus_float3 x)

Native exponential base e function.

Standards compliant implementation of OpenCL 1.2 native_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_exp(abacus_float3 x)

Wrapper for __abacus_native_exp.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_exp2(abacus_float3 x)

Native exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 native_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_exp2(abacus_float3 x)

Wrapper for __abacus_native_exp2.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_exp10(abacus_float3 x)

Native exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 native_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_exp10(abacus_float3 x)

Wrapper for __abacus_native_exp10.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_log(abacus_float3 x)

Native logarithm base e function.

Standards compliant implementation of OpenCL 1.2 native_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_log(abacus_float3 x)

Wrapper for __abacus_native_log.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_log2(abacus_float3 x)

Native logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 native_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_log2(abacus_float3 x)

Wrapper for __abacus_native_log2.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_log10(abacus_float3 x)

Native logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 native_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_log10(abacus_float3 x)

Wrapper for __abacus_native_log10.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_powr(abacus_float3 x, abacus_float3 y)

Native x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 native_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_powr(abacus_float3 x, abacus_float3 y)

Wrapper for __abacus_native_powr.

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_recip(abacus_float3 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_recip(abacus_float3 x)

Wrapper for __abacus_native_recip.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_rsqrt(abacus_float3 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_rsqrt(abacus_float3 x)

Wrapper for __abacus_native_rsqrt.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_sin(abacus_float3 x)

Native sine function.

Standards compliant implementation of OpenCL 1.2 native_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_sin(abacus_float3 x)

Wrapper for __abacus_native_sin.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_sqrt(abacus_float3 x)

Native x function.

Standards compliant implementation of OpenCL 1.2 native_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_sqrt(abacus_float3 x)

Wrapper for __abacus_native_sqrt.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_native_tan(abacus_float3 x)

Native tangent function.

Standards compliant implementation of OpenCL 1.2 native_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API native_tan(abacus_float3 x)

Wrapper for __abacus_native_tan.

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_half_cos(abacus_float4 x)

Half cosine function.

Standards compliant implementation of OpenCL 1.2 half_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_cos(abacus_float4 x)

Wrapper for __abacus_half_cos.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_divide(abacus_float4 x, abacus_float4 y)

Half divide function.

Standards compliant implementation of OpenCL 1.2 half_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/half_divide.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_divide(abacus_float4 x, abacus_float4 y)

Wrapper for __abacus_half_divide.

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_exp(abacus_float4 x)

Half exponential base e function.

Standards compliant implementation of OpenCL 1.2 half_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_exp(abacus_float4 x)

Wrapper for __abacus_half_exp.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_exp2(abacus_float4 x)

Half exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 half_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_exp2(abacus_float4 x)

Wrapper for __abacus_half_exp2.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_exp10(abacus_float4 x)

Half exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 half_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_exp10(abacus_float4 x)

Wrapper for __abacus_half_exp10.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_log(abacus_float4 x)

Half logarithm base e function.

Standards compliant implementation of OpenCL 1.2 half_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_log(abacus_float4 x)

Wrapper for __abacus_half_log.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_log2(abacus_float4 x)

Half logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 half_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_log2(abacus_float4 x)

Wrapper for __abacus_half_log2.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_log10(abacus_float4 x)

Half logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 half_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_log10(abacus_float4 x)

Wrapper for __abacus_half_log10.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_powr(abacus_float4 x, abacus_float4 y)

Half x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 half_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_powr(abacus_float4 x, abacus_float4 y)

Wrapper for __abacus_half_powr.

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_recip(abacus_float4 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_recip(abacus_float4 x)

Wrapper for __abacus_half_recip.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_rsqrt(abacus_float4 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_rsqrt(abacus_float4 x)

Wrapper for __abacus_half_rsqrt.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_sin(abacus_float4 x)

Half sine function.

Standards compliant implementation of OpenCL 1.2 half_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_sin(abacus_float4 x)

Wrapper for __abacus_half_sin.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_sqrt(abacus_float4 x)

Half x function.

Standards compliant implementation of OpenCL 1.2 half_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_sqrt(abacus_float4 x)

Wrapper for __abacus_half_sqrt.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_half_tan(abacus_float4 x)

Half tangent function.

Standards compliant implementation of OpenCL 1.2 half_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API half_tan(abacus_float4 x)

Wrapper for __abacus_half_tan.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_cos(abacus_float4 x)

Native cosine function.

Standards compliant implementation of OpenCL 1.2 native_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_cos(abacus_float4 x)

Wrapper for __abacus_native_cos.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_divide(abacus_float4 x, abacus_float4 y)

Native divide function.

Standards compliant implementation of OpenCL 1.2 native_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/native_divide.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_divide(abacus_float4 x, abacus_float4 y)

Wrapper for __abacus_native_divide.

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_exp(abacus_float4 x)

Native exponential base e function.

Standards compliant implementation of OpenCL 1.2 native_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_exp(abacus_float4 x)

Wrapper for __abacus_native_exp.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_exp2(abacus_float4 x)

Native exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 native_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_exp2(abacus_float4 x)

Wrapper for __abacus_native_exp2.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_exp10(abacus_float4 x)

Native exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 native_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_exp10(abacus_float4 x)

Wrapper for __abacus_native_exp10.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_log(abacus_float4 x)

Native logarithm base e function.

Standards compliant implementation of OpenCL 1.2 native_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_log(abacus_float4 x)

Wrapper for __abacus_native_log.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_log2(abacus_float4 x)

Native logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 native_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_log2(abacus_float4 x)

Wrapper for __abacus_native_log2.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_log10(abacus_float4 x)

Native logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 native_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_log10(abacus_float4 x)

Wrapper for __abacus_native_log10.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_powr(abacus_float4 x, abacus_float4 y)

Native x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 native_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_powr(abacus_float4 x, abacus_float4 y)

Wrapper for __abacus_native_powr.

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_recip(abacus_float4 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_recip(abacus_float4 x)

Wrapper for __abacus_native_recip.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_rsqrt(abacus_float4 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_rsqrt(abacus_float4 x)

Wrapper for __abacus_native_rsqrt.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_sin(abacus_float4 x)

Native sine function.

Standards compliant implementation of OpenCL 1.2 native_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_sin(abacus_float4 x)

Wrapper for __abacus_native_sin.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_sqrt(abacus_float4 x)

Native x function.

Standards compliant implementation of OpenCL 1.2 native_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_sqrt(abacus_float4 x)

Wrapper for __abacus_native_sqrt.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_native_tan(abacus_float4 x)

Native tangent function.

Standards compliant implementation of OpenCL 1.2 native_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API native_tan(abacus_float4 x)

Wrapper for __abacus_native_tan.

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_half_cos(abacus_float8 x)

Half cosine function.

Standards compliant implementation of OpenCL 1.2 half_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_cos(abacus_float8 x)

Wrapper for __abacus_half_cos.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_divide(abacus_float8 x, abacus_float8 y)

Half divide function.

Standards compliant implementation of OpenCL 1.2 half_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/half_divide.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_divide(abacus_float8 x, abacus_float8 y)

Wrapper for __abacus_half_divide.

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_exp(abacus_float8 x)

Half exponential base e function.

Standards compliant implementation of OpenCL 1.2 half_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_exp(abacus_float8 x)

Wrapper for __abacus_half_exp.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_exp2(abacus_float8 x)

Half exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 half_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_exp2(abacus_float8 x)

Wrapper for __abacus_half_exp2.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_exp10(abacus_float8 x)

Half exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 half_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_exp10(abacus_float8 x)

Wrapper for __abacus_half_exp10.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_log(abacus_float8 x)

Half logarithm base e function.

Standards compliant implementation of OpenCL 1.2 half_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_log(abacus_float8 x)

Wrapper for __abacus_half_log.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_log2(abacus_float8 x)

Half logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 half_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_log2(abacus_float8 x)

Wrapper for __abacus_half_log2.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_log10(abacus_float8 x)

Half logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 half_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_log10(abacus_float8 x)

Wrapper for __abacus_half_log10.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_powr(abacus_float8 x, abacus_float8 y)

Half x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 half_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_powr(abacus_float8 x, abacus_float8 y)

Wrapper for __abacus_half_powr.

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_recip(abacus_float8 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_recip(abacus_float8 x)

Wrapper for __abacus_half_recip.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_rsqrt(abacus_float8 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_rsqrt(abacus_float8 x)

Wrapper for __abacus_half_rsqrt.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_sin(abacus_float8 x)

Half sine function.

Standards compliant implementation of OpenCL 1.2 half_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_sin(abacus_float8 x)

Wrapper for __abacus_half_sin.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_sqrt(abacus_float8 x)

Half x function.

Standards compliant implementation of OpenCL 1.2 half_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_sqrt(abacus_float8 x)

Wrapper for __abacus_half_sqrt.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_half_tan(abacus_float8 x)

Half tangent function.

Standards compliant implementation of OpenCL 1.2 half_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API half_tan(abacus_float8 x)

Wrapper for __abacus_half_tan.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_cos(abacus_float8 x)

Native cosine function.

Standards compliant implementation of OpenCL 1.2 native_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_cos(abacus_float8 x)

Wrapper for __abacus_native_cos.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_divide(abacus_float8 x, abacus_float8 y)

Native divide function.

Standards compliant implementation of OpenCL 1.2 native_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/native_divide.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_divide(abacus_float8 x, abacus_float8 y)

Wrapper for __abacus_native_divide.

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_exp(abacus_float8 x)

Native exponential base e function.

Standards compliant implementation of OpenCL 1.2 native_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_exp(abacus_float8 x)

Wrapper for __abacus_native_exp.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_exp2(abacus_float8 x)

Native exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 native_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_exp2(abacus_float8 x)

Wrapper for __abacus_native_exp2.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_exp10(abacus_float8 x)

Native exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 native_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_exp10(abacus_float8 x)

Wrapper for __abacus_native_exp10.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_log(abacus_float8 x)

Native logarithm base e function.

Standards compliant implementation of OpenCL 1.2 native_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_log(abacus_float8 x)

Wrapper for __abacus_native_log.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_log2(abacus_float8 x)

Native logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 native_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_log2(abacus_float8 x)

Wrapper for __abacus_native_log2.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_log10(abacus_float8 x)

Native logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 native_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_log10(abacus_float8 x)

Wrapper for __abacus_native_log10.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_powr(abacus_float8 x, abacus_float8 y)

Native x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 native_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_powr(abacus_float8 x, abacus_float8 y)

Wrapper for __abacus_native_powr.

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_recip(abacus_float8 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_recip(abacus_float8 x)

Wrapper for __abacus_native_recip.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_rsqrt(abacus_float8 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_rsqrt(abacus_float8 x)

Wrapper for __abacus_native_rsqrt.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_sin(abacus_float8 x)

Native sine function.

Standards compliant implementation of OpenCL 1.2 native_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_sin(abacus_float8 x)

Wrapper for __abacus_native_sin.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_sqrt(abacus_float8 x)

Native x function.

Standards compliant implementation of OpenCL 1.2 native_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_sqrt(abacus_float8 x)

Wrapper for __abacus_native_sqrt.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_native_tan(abacus_float8 x)

Native tangent function.

Standards compliant implementation of OpenCL 1.2 native_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API native_tan(abacus_float8 x)

Wrapper for __abacus_native_tan.

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_half_cos(abacus_float16 x)

Half cosine function.

Standards compliant implementation of OpenCL 1.2 half_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_cos(abacus_float16 x)

Wrapper for __abacus_half_cos.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_divide(abacus_float16 x, abacus_float16 y)

Half divide function.

Standards compliant implementation of OpenCL 1.2 half_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/half_divide.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_divide(abacus_float16 x, abacus_float16 y)

Wrapper for __abacus_half_divide.

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_exp(abacus_float16 x)

Half exponential base e function.

Standards compliant implementation of OpenCL 1.2 half_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_exp(abacus_float16 x)

Wrapper for __abacus_half_exp.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_exp2(abacus_float16 x)

Half exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 half_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_exp2(abacus_float16 x)

Wrapper for __abacus_half_exp2.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_exp10(abacus_float16 x)

Half exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 half_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_exp10(abacus_float16 x)

Wrapper for __abacus_half_exp10.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_log(abacus_float16 x)

Half logarithm base e function.

Standards compliant implementation of OpenCL 1.2 half_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_log(abacus_float16 x)

Wrapper for __abacus_half_log.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_log2(abacus_float16 x)

Half logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 half_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_log2(abacus_float16 x)

Wrapper for __abacus_half_log2.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_log10(abacus_float16 x)

Half logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 half_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_log10(abacus_float16 x)

Wrapper for __abacus_half_log10.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_powr(abacus_float16 x, abacus_float16 y)

Half x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 half_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_powr(abacus_float16 x, abacus_float16 y)

Wrapper for __abacus_half_powr.

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_recip(abacus_float16 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_recip(abacus_float16 x)

Wrapper for __abacus_half_recip.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_rsqrt(abacus_float16 x)

Half 1 / x function.

Standards compliant implementation of OpenCL 1.2 half_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_rsqrt(abacus_float16 x)

Wrapper for __abacus_half_rsqrt.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_sin(abacus_float16 x)

Half sine function.

Standards compliant implementation of OpenCL 1.2 half_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_sin(abacus_float16 x)

Wrapper for __abacus_half_sin.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_sqrt(abacus_float16 x)

Half x function.

Standards compliant implementation of OpenCL 1.2 half_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_sqrt(abacus_float16 x)

Wrapper for __abacus_half_sqrt.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_half_tan(abacus_float16 x)

Half tangent function.

Standards compliant implementation of OpenCL 1.2 half_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API half_tan(abacus_float16 x)

Wrapper for __abacus_half_tan.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_cos(abacus_float16 x)

Native cosine function.

Standards compliant implementation of OpenCL 1.2 native_cos.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/cos.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_cos(abacus_float16 x)

Wrapper for __abacus_native_cos.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_divide(abacus_float16 x, abacus_float16 y)

Native divide function.

Standards compliant implementation of OpenCL 1.2 native_divide.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/native_divide.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_divide(abacus_float16 x, abacus_float16 y)

Wrapper for __abacus_native_divide.

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_exp(abacus_float16 x)

Native exponential base e function.

Standards compliant implementation of OpenCL 1.2 native_exp.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_exp(abacus_float16 x)

Wrapper for __abacus_native_exp.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_exp2(abacus_float16 x)

Native exponential base 2 function.

Standards compliant implementation of OpenCL 1.2 native_exp2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_exp2(abacus_float16 x)

Wrapper for __abacus_native_exp2.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_exp10(abacus_float16 x)

Native exponential base 10 function.

Standards compliant implementation of OpenCL 1.2 native_exp10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/exp.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_exp10(abacus_float16 x)

Wrapper for __abacus_native_exp10.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_log(abacus_float16 x)

Native logarithm base e function.

Standards compliant implementation of OpenCL 1.2 native_log.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_log(abacus_float16 x)

Wrapper for __abacus_native_log.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_log2(abacus_float16 x)

Native logarithm base 2 function.

Standards compliant implementation of OpenCL 1.2 native_log2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_log2(abacus_float16 x)

Wrapper for __abacus_native_log2.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_log10(abacus_float16 x)

Native logarithm base 10 function.

Standards compliant implementation of OpenCL 1.2 native_log10.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/log.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_log10(abacus_float16 x)

Wrapper for __abacus_native_log10.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_powr(abacus_float16 x, abacus_float16 y)

Native x^y, x >= 0.

Standards compliant implementation of OpenCL 1.2 native_powr.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/pow.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_powr(abacus_float16 x, abacus_float16 y)

Wrapper for __abacus_native_powr.

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_recip(abacus_float16 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_recip.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/recip.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_recip(abacus_float16 x)

Wrapper for __abacus_native_recip.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_rsqrt(abacus_float16 x)

Native 1 / x function.

Standards compliant implementation of OpenCL 1.2 native_rsqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_rsqrt(abacus_float16 x)

Wrapper for __abacus_native_rsqrt.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_sin(abacus_float16 x)

Native sine function.

Standards compliant implementation of OpenCL 1.2 native_sin.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sin.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_sin(abacus_float16 x)

Wrapper for __abacus_native_sin.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_sqrt(abacus_float16 x)

Native x function.

Standards compliant implementation of OpenCL 1.2 native_sqrt.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/sqrt.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_sqrt(abacus_float16 x)

Wrapper for __abacus_native_sqrt.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_native_tan(abacus_float16 x)

Native tangent function.

Standards compliant implementation of OpenCL 1.2 native_tan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/tan.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API native_tan(abacus_float16 x)

Wrapper for __abacus_native_tan.

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus memory

group abacus_memory

Functions

abacus_char2 ABACUS_EXPORT_API __abacus_vload2(size_t offset, const abacus_char *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char2.

inline abacus_char2 ABACUS_API vload2(size_t offset, const abacus_char *x)

Wrapper for __abacus_vload2.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_vload3(size_t offset, const abacus_char *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char3.

inline abacus_char3 ABACUS_API vload3(size_t offset, const abacus_char *x)

Wrapper for __abacus_vload3.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_vload4(size_t offset, const abacus_char *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char4.

inline abacus_char4 ABACUS_API vload4(size_t offset, const abacus_char *x)

Wrapper for __abacus_vload4.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_vload8(size_t offset, const abacus_char *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char8.

inline abacus_char8 ABACUS_API vload8(size_t offset, const abacus_char *x)

Wrapper for __abacus_vload8.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_vload16(size_t offset, const abacus_char *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char16.

inline abacus_char16 ABACUS_API vload16(size_t offset, const abacus_char *x)

Wrapper for __abacus_vload16.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_char pointer.

Returns

A abacus_char16.

abacus_short2 ABACUS_EXPORT_API __abacus_vload2(size_t offset, const abacus_short *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short2.

inline abacus_short2 ABACUS_API vload2(size_t offset, const abacus_short *x)

Wrapper for __abacus_vload2.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_vload3(size_t offset, const abacus_short *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short3.

inline abacus_short3 ABACUS_API vload3(size_t offset, const abacus_short *x)

Wrapper for __abacus_vload3.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_vload4(size_t offset, const abacus_short *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short4.

inline abacus_short4 ABACUS_API vload4(size_t offset, const abacus_short *x)

Wrapper for __abacus_vload4.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_vload8(size_t offset, const abacus_short *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short8.

inline abacus_short8 ABACUS_API vload8(size_t offset, const abacus_short *x)

Wrapper for __abacus_vload8.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_vload16(size_t offset, const abacus_short *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short16.

inline abacus_short16 ABACUS_API vload16(size_t offset, const abacus_short *x)

Wrapper for __abacus_vload16.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_short pointer.

Returns

A abacus_short16.

abacus_int2 ABACUS_EXPORT_API __abacus_vload2(size_t offset, const abacus_int *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int2.

inline abacus_int2 ABACUS_API vload2(size_t offset, const abacus_int *x)

Wrapper for __abacus_vload2.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_vload3(size_t offset, const abacus_int *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int3.

inline abacus_int3 ABACUS_API vload3(size_t offset, const abacus_int *x)

Wrapper for __abacus_vload3.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_vload4(size_t offset, const abacus_int *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int4.

inline abacus_int4 ABACUS_API vload4(size_t offset, const abacus_int *x)

Wrapper for __abacus_vload4.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_vload8(size_t offset, const abacus_int *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int8.

inline abacus_int8 ABACUS_API vload8(size_t offset, const abacus_int *x)

Wrapper for __abacus_vload8.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_vload16(size_t offset, const abacus_int *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int16.

inline abacus_int16 ABACUS_API vload16(size_t offset, const abacus_int *x)

Wrapper for __abacus_vload16.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_int pointer.

Returns

A abacus_int16.

abacus_long2 ABACUS_EXPORT_API __abacus_vload2(size_t offset, const abacus_long *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long2.

inline abacus_long2 ABACUS_API vload2(size_t offset, const abacus_long *x)

Wrapper for __abacus_vload2.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_vload3(size_t offset, const abacus_long *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long3.

inline abacus_long3 ABACUS_API vload3(size_t offset, const abacus_long *x)

Wrapper for __abacus_vload3.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_vload4(size_t offset, const abacus_long *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long4.

inline abacus_long4 ABACUS_API vload4(size_t offset, const abacus_long *x)

Wrapper for __abacus_vload4.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_vload8(size_t offset, const abacus_long *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long8.

inline abacus_long8 ABACUS_API vload8(size_t offset, const abacus_long *x)

Wrapper for __abacus_vload8.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_vload16(size_t offset, const abacus_long *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long16.

inline abacus_long16 ABACUS_API vload16(size_t offset, const abacus_long *x)

Wrapper for __abacus_vload16.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_long pointer.

Returns

A abacus_long16.

abacus_uchar2 ABACUS_EXPORT_API __abacus_vload2(size_t offset, const abacus_uchar *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar2.

inline abacus_uchar2 ABACUS_API vload2(size_t offset, const abacus_uchar *x)

Wrapper for __abacus_vload2.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_vload3(size_t offset, const abacus_uchar *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar3.

inline abacus_uchar3 ABACUS_API vload3(size_t offset, const abacus_uchar *x)

Wrapper for __abacus_vload3.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_vload4(size_t offset, const abacus_uchar *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar4.

inline abacus_uchar4 ABACUS_API vload4(size_t offset, const abacus_uchar *x)

Wrapper for __abacus_vload4.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_vload8(size_t offset, const abacus_uchar *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar8.

inline abacus_uchar8 ABACUS_API vload8(size_t offset, const abacus_uchar *x)

Wrapper for __abacus_vload8.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_vload16(size_t offset, const abacus_uchar *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar16.

inline abacus_uchar16 ABACUS_API vload16(size_t offset, const abacus_uchar *x)

Wrapper for __abacus_vload16.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uchar pointer.

Returns

A abacus_uchar16.

abacus_ushort2 ABACUS_EXPORT_API __abacus_vload2(size_t offset, const abacus_ushort *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort2.

inline abacus_ushort2 ABACUS_API vload2(size_t offset, const abacus_ushort *x)

Wrapper for __abacus_vload2.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_vload3(size_t offset, const abacus_ushort *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort3.

inline abacus_ushort3 ABACUS_API vload3(size_t offset, const abacus_ushort *x)

Wrapper for __abacus_vload3.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_vload4(size_t offset, const abacus_ushort *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort4.

inline abacus_ushort4 ABACUS_API vload4(size_t offset, const abacus_ushort *x)

Wrapper for __abacus_vload4.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_vload8(size_t offset, const abacus_ushort *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort8.

inline abacus_ushort8 ABACUS_API vload8(size_t offset, const abacus_ushort *x)

Wrapper for __abacus_vload8.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_vload16(size_t offset, const abacus_ushort *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort16.

inline abacus_ushort16 ABACUS_API vload16(size_t offset, const abacus_ushort *x)

Wrapper for __abacus_vload16.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ushort pointer.

Returns

A abacus_ushort16.

abacus_uint2 ABACUS_EXPORT_API __abacus_vload2(size_t offset, const abacus_uint *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint2.

inline abacus_uint2 ABACUS_API vload2(size_t offset, const abacus_uint *x)

Wrapper for __abacus_vload2.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_vload3(size_t offset, const abacus_uint *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint3.

inline abacus_uint3 ABACUS_API vload3(size_t offset, const abacus_uint *x)

Wrapper for __abacus_vload3.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_vload4(size_t offset, const abacus_uint *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint4.

inline abacus_uint4 ABACUS_API vload4(size_t offset, const abacus_uint *x)

Wrapper for __abacus_vload4.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_vload8(size_t offset, const abacus_uint *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint8.

inline abacus_uint8 ABACUS_API vload8(size_t offset, const abacus_uint *x)

Wrapper for __abacus_vload8.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_vload16(size_t offset, const abacus_uint *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint16.

inline abacus_uint16 ABACUS_API vload16(size_t offset, const abacus_uint *x)

Wrapper for __abacus_vload16.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_uint pointer.

Returns

A abacus_uint16.

abacus_ulong2 ABACUS_EXPORT_API __abacus_vload2(size_t offset, const abacus_ulong *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong2.

inline abacus_ulong2 ABACUS_API vload2(size_t offset, const abacus_ulong *x)

Wrapper for __abacus_vload2.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_vload3(size_t offset, const abacus_ulong *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong3.

inline abacus_ulong3 ABACUS_API vload3(size_t offset, const abacus_ulong *x)

Wrapper for __abacus_vload3.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_vload4(size_t offset, const abacus_ulong *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong4.

inline abacus_ulong4 ABACUS_API vload4(size_t offset, const abacus_ulong *x)

Wrapper for __abacus_vload4.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_vload8(size_t offset, const abacus_ulong *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong8.

inline abacus_ulong8 ABACUS_API vload8(size_t offset, const abacus_ulong *x)

Wrapper for __abacus_vload8.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_vload16(size_t offset, const abacus_ulong *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong16.

inline abacus_ulong16 ABACUS_API vload16(size_t offset, const abacus_ulong *x)

Wrapper for __abacus_vload16.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_ulong pointer.

Returns

A abacus_ulong16.

abacus_float2 ABACUS_EXPORT_API __abacus_vload2(size_t offset, const abacus_float *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float2.

inline abacus_float2 ABACUS_API vload2(size_t offset, const abacus_float *x)

Wrapper for __abacus_vload2.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_vload3(size_t offset, const abacus_float *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float3.

inline abacus_float3 ABACUS_API vload3(size_t offset, const abacus_float *x)

Wrapper for __abacus_vload3.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_vload4(size_t offset, const abacus_float *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float4.

inline abacus_float4 ABACUS_API vload4(size_t offset, const abacus_float *x)

Wrapper for __abacus_vload4.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_vload8(size_t offset, const abacus_float *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float8.

inline abacus_float8 ABACUS_API vload8(size_t offset, const abacus_float *x)

Wrapper for __abacus_vload8.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_vload16(size_t offset, const abacus_float *x)

Load an unaligned vector from memory.

Standards compliant implementation of OpenCL 1.2 vload16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vloadn.html

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float16.

inline abacus_float16 ABACUS_API vload16(size_t offset, const abacus_float *x)

Wrapper for __abacus_vload16.

Parameters
  • offset[in] The offset to use.

  • x[in] A abacus_float pointer.

Returns

A abacus_float16.

void ABACUS_EXPORT_API __abacus_vstore2(abacus_char2 data, size_t offset, abacus_char *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

inline void ABACUS_API vstore2(abacus_char2 data, size_t offset, abacus_char *x)

Wrapper for __abacus_vstore2.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

void ABACUS_EXPORT_API __abacus_vstore3(abacus_char3 data, size_t offset, abacus_char *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

inline void ABACUS_API vstore3(abacus_char3 data, size_t offset, abacus_char *x)

Wrapper for __abacus_vstore3.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

void ABACUS_EXPORT_API __abacus_vstore4(abacus_char4 data, size_t offset, abacus_char *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

inline void ABACUS_API vstore4(abacus_char4 data, size_t offset, abacus_char *x)

Wrapper for __abacus_vstore4.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

void ABACUS_EXPORT_API __abacus_vstore8(abacus_char8 data, size_t offset, abacus_char *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

inline void ABACUS_API vstore8(abacus_char8 data, size_t offset, abacus_char *x)

Wrapper for __abacus_vstore8.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

void ABACUS_EXPORT_API __abacus_vstore16(abacus_char16 data, size_t offset, abacus_char *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

inline void ABACUS_API vstore16(abacus_char16 data, size_t offset, abacus_char *x)

Wrapper for __abacus_vstore16.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_char.

void ABACUS_EXPORT_API __abacus_vstore2(abacus_short2 data, size_t offset, abacus_short *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

inline void ABACUS_API vstore2(abacus_short2 data, size_t offset, abacus_short *x)

Wrapper for __abacus_vstore2.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

void ABACUS_EXPORT_API __abacus_vstore3(abacus_short3 data, size_t offset, abacus_short *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

inline void ABACUS_API vstore3(abacus_short3 data, size_t offset, abacus_short *x)

Wrapper for __abacus_vstore3.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

void ABACUS_EXPORT_API __abacus_vstore4(abacus_short4 data, size_t offset, abacus_short *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

inline void ABACUS_API vstore4(abacus_short4 data, size_t offset, abacus_short *x)

Wrapper for __abacus_vstore4.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

void ABACUS_EXPORT_API __abacus_vstore8(abacus_short8 data, size_t offset, abacus_short *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

inline void ABACUS_API vstore8(abacus_short8 data, size_t offset, abacus_short *x)

Wrapper for __abacus_vstore8.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

void ABACUS_EXPORT_API __abacus_vstore16(abacus_short16 data, size_t offset, abacus_short *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

inline void ABACUS_API vstore16(abacus_short16 data, size_t offset, abacus_short *x)

Wrapper for __abacus_vstore16.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_short.

void ABACUS_EXPORT_API __abacus_vstore2(abacus_int2 data, size_t offset, abacus_int *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

inline void ABACUS_API vstore2(abacus_int2 data, size_t offset, abacus_int *x)

Wrapper for __abacus_vstore2.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

void ABACUS_EXPORT_API __abacus_vstore3(abacus_int3 data, size_t offset, abacus_int *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

inline void ABACUS_API vstore3(abacus_int3 data, size_t offset, abacus_int *x)

Wrapper for __abacus_vstore3.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

void ABACUS_EXPORT_API __abacus_vstore4(abacus_int4 data, size_t offset, abacus_int *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

inline void ABACUS_API vstore4(abacus_int4 data, size_t offset, abacus_int *x)

Wrapper for __abacus_vstore4.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

void ABACUS_EXPORT_API __abacus_vstore8(abacus_int8 data, size_t offset, abacus_int *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

inline void ABACUS_API vstore8(abacus_int8 data, size_t offset, abacus_int *x)

Wrapper for __abacus_vstore8.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

void ABACUS_EXPORT_API __abacus_vstore16(abacus_int16 data, size_t offset, abacus_int *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

inline void ABACUS_API vstore16(abacus_int16 data, size_t offset, abacus_int *x)

Wrapper for __abacus_vstore16.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_int.

void ABACUS_EXPORT_API __abacus_vstore2(abacus_long2 data, size_t offset, abacus_long *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

inline void ABACUS_API vstore2(abacus_long2 data, size_t offset, abacus_long *x)

Wrapper for __abacus_vstore2.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

void ABACUS_EXPORT_API __abacus_vstore3(abacus_long3 data, size_t offset, abacus_long *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

inline void ABACUS_API vstore3(abacus_long3 data, size_t offset, abacus_long *x)

Wrapper for __abacus_vstore3.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

void ABACUS_EXPORT_API __abacus_vstore4(abacus_long4 data, size_t offset, abacus_long *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

inline void ABACUS_API vstore4(abacus_long4 data, size_t offset, abacus_long *x)

Wrapper for __abacus_vstore4.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

void ABACUS_EXPORT_API __abacus_vstore8(abacus_long8 data, size_t offset, abacus_long *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

inline void ABACUS_API vstore8(abacus_long8 data, size_t offset, abacus_long *x)

Wrapper for __abacus_vstore8.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

void ABACUS_EXPORT_API __abacus_vstore16(abacus_long16 data, size_t offset, abacus_long *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

inline void ABACUS_API vstore16(abacus_long16 data, size_t offset, abacus_long *x)

Wrapper for __abacus_vstore16.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_long.

void ABACUS_EXPORT_API __abacus_vstore2(abacus_uchar2 data, size_t offset, abacus_uchar *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

inline void ABACUS_API vstore2(abacus_uchar2 data, size_t offset, abacus_uchar *x)

Wrapper for __abacus_vstore2.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

void ABACUS_EXPORT_API __abacus_vstore3(abacus_uchar3 data, size_t offset, abacus_uchar *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

inline void ABACUS_API vstore3(abacus_uchar3 data, size_t offset, abacus_uchar *x)

Wrapper for __abacus_vstore3.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

void ABACUS_EXPORT_API __abacus_vstore4(abacus_uchar4 data, size_t offset, abacus_uchar *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

inline void ABACUS_API vstore4(abacus_uchar4 data, size_t offset, abacus_uchar *x)

Wrapper for __abacus_vstore4.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

void ABACUS_EXPORT_API __abacus_vstore8(abacus_uchar8 data, size_t offset, abacus_uchar *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

inline void ABACUS_API vstore8(abacus_uchar8 data, size_t offset, abacus_uchar *x)

Wrapper for __abacus_vstore8.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

void ABACUS_EXPORT_API __abacus_vstore16(abacus_uchar16 data, size_t offset, abacus_uchar *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

inline void ABACUS_API vstore16(abacus_uchar16 data, size_t offset, abacus_uchar *x)

Wrapper for __abacus_vstore16.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uchar.

void ABACUS_EXPORT_API __abacus_vstore2(abacus_ushort2 data, size_t offset, abacus_ushort *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

inline void ABACUS_API vstore2(abacus_ushort2 data, size_t offset, abacus_ushort *x)

Wrapper for __abacus_vstore2.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

void ABACUS_EXPORT_API __abacus_vstore3(abacus_ushort3 data, size_t offset, abacus_ushort *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

inline void ABACUS_API vstore3(abacus_ushort3 data, size_t offset, abacus_ushort *x)

Wrapper for __abacus_vstore3.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

void ABACUS_EXPORT_API __abacus_vstore4(abacus_ushort4 data, size_t offset, abacus_ushort *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

inline void ABACUS_API vstore4(abacus_ushort4 data, size_t offset, abacus_ushort *x)

Wrapper for __abacus_vstore4.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

void ABACUS_EXPORT_API __abacus_vstore8(abacus_ushort8 data, size_t offset, abacus_ushort *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

inline void ABACUS_API vstore8(abacus_ushort8 data, size_t offset, abacus_ushort *x)

Wrapper for __abacus_vstore8.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

void ABACUS_EXPORT_API __abacus_vstore16(abacus_ushort16 data, size_t offset, abacus_ushort *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

inline void ABACUS_API vstore16(abacus_ushort16 data, size_t offset, abacus_ushort *x)

Wrapper for __abacus_vstore16.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ushort.

void ABACUS_EXPORT_API __abacus_vstore2(abacus_uint2 data, size_t offset, abacus_uint *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

inline void ABACUS_API vstore2(abacus_uint2 data, size_t offset, abacus_uint *x)

Wrapper for __abacus_vstore2.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

void ABACUS_EXPORT_API __abacus_vstore3(abacus_uint3 data, size_t offset, abacus_uint *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

inline void ABACUS_API vstore3(abacus_uint3 data, size_t offset, abacus_uint *x)

Wrapper for __abacus_vstore3.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

void ABACUS_EXPORT_API __abacus_vstore4(abacus_uint4 data, size_t offset, abacus_uint *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

inline void ABACUS_API vstore4(abacus_uint4 data, size_t offset, abacus_uint *x)

Wrapper for __abacus_vstore4.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

void ABACUS_EXPORT_API __abacus_vstore8(abacus_uint8 data, size_t offset, abacus_uint *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

inline void ABACUS_API vstore8(abacus_uint8 data, size_t offset, abacus_uint *x)

Wrapper for __abacus_vstore8.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

void ABACUS_EXPORT_API __abacus_vstore16(abacus_uint16 data, size_t offset, abacus_uint *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

inline void ABACUS_API vstore16(abacus_uint16 data, size_t offset, abacus_uint *x)

Wrapper for __abacus_vstore16.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_uint.

void ABACUS_EXPORT_API __abacus_vstore2(abacus_ulong2 data, size_t offset, abacus_ulong *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

inline void ABACUS_API vstore2(abacus_ulong2 data, size_t offset, abacus_ulong *x)

Wrapper for __abacus_vstore2.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

void ABACUS_EXPORT_API __abacus_vstore3(abacus_ulong3 data, size_t offset, abacus_ulong *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

inline void ABACUS_API vstore3(abacus_ulong3 data, size_t offset, abacus_ulong *x)

Wrapper for __abacus_vstore3.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

void ABACUS_EXPORT_API __abacus_vstore4(abacus_ulong4 data, size_t offset, abacus_ulong *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

inline void ABACUS_API vstore4(abacus_ulong4 data, size_t offset, abacus_ulong *x)

Wrapper for __abacus_vstore4.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

void ABACUS_EXPORT_API __abacus_vstore8(abacus_ulong8 data, size_t offset, abacus_ulong *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

inline void ABACUS_API vstore8(abacus_ulong8 data, size_t offset, abacus_ulong *x)

Wrapper for __abacus_vstore8.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

void ABACUS_EXPORT_API __abacus_vstore16(abacus_ulong16 data, size_t offset, abacus_ulong *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

inline void ABACUS_API vstore16(abacus_ulong16 data, size_t offset, abacus_ulong *x)

Wrapper for __abacus_vstore16.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_ulong.

void ABACUS_EXPORT_API __abacus_vstore2(abacus_float2 data, size_t offset, abacus_float *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore2.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

inline void ABACUS_API vstore2(abacus_float2 data, size_t offset, abacus_float *x)

Wrapper for __abacus_vstore2.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

void ABACUS_EXPORT_API __abacus_vstore3(abacus_float3 data, size_t offset, abacus_float *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore3.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

inline void ABACUS_API vstore3(abacus_float3 data, size_t offset, abacus_float *x)

Wrapper for __abacus_vstore3.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

void ABACUS_EXPORT_API __abacus_vstore4(abacus_float4 data, size_t offset, abacus_float *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore4.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

inline void ABACUS_API vstore4(abacus_float4 data, size_t offset, abacus_float *x)

Wrapper for __abacus_vstore4.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

void ABACUS_EXPORT_API __abacus_vstore8(abacus_float8 data, size_t offset, abacus_float *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore8.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

inline void ABACUS_API vstore8(abacus_float8 data, size_t offset, abacus_float *x)

Wrapper for __abacus_vstore8.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

void ABACUS_EXPORT_API __abacus_vstore16(abacus_float16 data, size_t offset, abacus_float *x)

Store a vector to unaligned memory.

Standards compliant implementation of OpenCL 1.2 vstore16.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/vstoren.html

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

inline void ABACUS_API vstore16(abacus_float16 data, size_t offset, abacus_float *x)

Wrapper for __abacus_vstore16.

Parameters
  • data[in] The vector to store.

  • offset[in] The offset to use.

  • x[in] A pointer to abacus_float.

abacus misc

group abacus_misc

Functions

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle(abacus_char2 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char2 x, abacus_char2 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle(abacus_char2 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char2 x, abacus_char2 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle(abacus_char2 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char2 x, abacus_char2 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle(abacus_char2 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char2 x, abacus_char2 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle(abacus_char2 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char2 x, abacus_char2 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char2.

  • y[in] A abacus_char2.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle(abacus_char3 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char3 x, abacus_char3 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle(abacus_char3 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char3 x, abacus_char3 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle(abacus_char3 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char3 x, abacus_char3 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle(abacus_char3 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char3 x, abacus_char3 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle(abacus_char3 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char3 x, abacus_char3 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char3.

  • y[in] A abacus_char3.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle(abacus_char4 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char4 x, abacus_char4 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle(abacus_char4 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char4 x, abacus_char4 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle(abacus_char4 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char4 x, abacus_char4 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle(abacus_char4 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char4 x, abacus_char4 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle(abacus_char4 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char4 x, abacus_char4 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char4.

  • y[in] A abacus_char4.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle(abacus_char8 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char8 x, abacus_char8 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle(abacus_char8 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char8 x, abacus_char8 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle(abacus_char8 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char8 x, abacus_char8 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle(abacus_char8 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char8 x, abacus_char8 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle(abacus_char8 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char8 x, abacus_char8 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char8.

  • y[in] A abacus_char8.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle(abacus_char16 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char16 x, abacus_char16 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

  • m[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle(abacus_char16 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char16 x, abacus_char16 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

  • m[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle(abacus_char16 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char16 x, abacus_char16 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

  • m[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle(abacus_char16 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char16 x, abacus_char16 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

  • m[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle(abacus_char16 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_char16 x, abacus_char16 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_char16.

  • y[in] A abacus_char16.

  • m[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle(abacus_short2 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short2 x, abacus_short2 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle(abacus_short2 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short2 x, abacus_short2 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle(abacus_short2 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short2 x, abacus_short2 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle(abacus_short2 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short2 x, abacus_short2 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle(abacus_short2 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short2 x, abacus_short2 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short2.

  • y[in] A abacus_short2.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle(abacus_short3 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short3 x, abacus_short3 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle(abacus_short3 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short3 x, abacus_short3 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle(abacus_short3 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short3 x, abacus_short3 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle(abacus_short3 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short3 x, abacus_short3 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle(abacus_short3 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short3 x, abacus_short3 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short3.

  • y[in] A abacus_short3.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle(abacus_short4 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short4 x, abacus_short4 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle(abacus_short4 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short4 x, abacus_short4 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle(abacus_short4 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short4 x, abacus_short4 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle(abacus_short4 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short4 x, abacus_short4 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle(abacus_short4 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short4 x, abacus_short4 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short4.

  • y[in] A abacus_short4.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle(abacus_short8 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short8 x, abacus_short8 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle(abacus_short8 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short8 x, abacus_short8 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle(abacus_short8 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short8 x, abacus_short8 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle(abacus_short8 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short8 x, abacus_short8 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle(abacus_short8 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short8 x, abacus_short8 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short8.

  • y[in] A abacus_short8.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle(abacus_short16 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short16 x, abacus_short16 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

  • m[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle(abacus_short16 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short16 x, abacus_short16 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

  • m[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle(abacus_short16 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short16 x, abacus_short16 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

  • m[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle(abacus_short16 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short16 x, abacus_short16 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

  • m[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle(abacus_short16 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_short16 x, abacus_short16 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_short16.

  • y[in] A abacus_short16.

  • m[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle(abacus_int2 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int2 x, abacus_int2 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle(abacus_int2 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int2 x, abacus_int2 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle(abacus_int2 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int2 x, abacus_int2 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle(abacus_int2 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int2 x, abacus_int2 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle(abacus_int2 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int2 x, abacus_int2 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int2.

  • y[in] A abacus_int2.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle(abacus_int3 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int3 x, abacus_int3 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle(abacus_int3 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int3 x, abacus_int3 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle(abacus_int3 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int3 x, abacus_int3 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle(abacus_int3 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int3 x, abacus_int3 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle(abacus_int3 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int3 x, abacus_int3 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int3.

  • y[in] A abacus_int3.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle(abacus_int4 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int4 x, abacus_int4 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle(abacus_int4 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int4 x, abacus_int4 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle(abacus_int4 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int4 x, abacus_int4 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle(abacus_int4 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int4 x, abacus_int4 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle(abacus_int4 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int4 x, abacus_int4 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int4.

  • y[in] A abacus_int4.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle(abacus_int8 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int8 x, abacus_int8 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle(abacus_int8 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int8 x, abacus_int8 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle(abacus_int8 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int8 x, abacus_int8 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle(abacus_int8 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int8 x, abacus_int8 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle(abacus_int8 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int8 x, abacus_int8 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int8.

  • y[in] A abacus_int8.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle(abacus_int16 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int16 x, abacus_int16 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

  • m[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle(abacus_int16 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int16 x, abacus_int16 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

  • m[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle(abacus_int16 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int16 x, abacus_int16 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

  • m[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle(abacus_int16 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int16 x, abacus_int16 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

  • m[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle(abacus_int16 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_int16 x, abacus_int16 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_int16.

  • y[in] A abacus_int16.

  • m[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle(abacus_long2 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long2 x, abacus_long2 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle(abacus_long2 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long2 x, abacus_long2 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle(abacus_long2 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long2 x, abacus_long2 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle(abacus_long2 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long2 x, abacus_long2 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle(abacus_long2 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long2 x, abacus_long2 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long2.

  • y[in] A abacus_long2.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle(abacus_long3 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long3 x, abacus_long3 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle(abacus_long3 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long3 x, abacus_long3 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle(abacus_long3 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long3 x, abacus_long3 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle(abacus_long3 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long3 x, abacus_long3 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle(abacus_long3 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long3 x, abacus_long3 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long3.

  • y[in] A abacus_long3.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle(abacus_long4 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long4 x, abacus_long4 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle(abacus_long4 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long4 x, abacus_long4 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle(abacus_long4 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long4 x, abacus_long4 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle(abacus_long4 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long4 x, abacus_long4 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle(abacus_long4 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long4 x, abacus_long4 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long4.

  • y[in] A abacus_long4.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle(abacus_long8 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long8 x, abacus_long8 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle(abacus_long8 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long8 x, abacus_long8 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle(abacus_long8 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long8 x, abacus_long8 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle(abacus_long8 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long8 x, abacus_long8 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle(abacus_long8 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long8 x, abacus_long8 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long8.

  • y[in] A abacus_long8.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle(abacus_long16 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long16 x, abacus_long16 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

  • m[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle(abacus_long16 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long16 x, abacus_long16 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

  • m[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle(abacus_long16 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long16 x, abacus_long16 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

  • m[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle(abacus_long16 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long16 x, abacus_long16 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

  • m[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle(abacus_long16 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_long16 x, abacus_long16 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_long16.

  • y[in] A abacus_long16.

  • m[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar2 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar2 x, abacus_uchar2 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar2 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar2 x, abacus_uchar2 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar2 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar2 x, abacus_uchar2 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar2 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar2 x, abacus_uchar2 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar2 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar2 x, abacus_uchar2 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar2.

  • y[in] A abacus_uchar2.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar3 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar3 x, abacus_uchar3 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar3 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar3 x, abacus_uchar3 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar3 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar3 x, abacus_uchar3 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar3 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar3 x, abacus_uchar3 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar3 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar3 x, abacus_uchar3 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar3.

  • y[in] A abacus_uchar3.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar4 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar4 x, abacus_uchar4 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar4 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar4 x, abacus_uchar4 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar4 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar4 x, abacus_uchar4 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar4 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar4 x, abacus_uchar4 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar4 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar4 x, abacus_uchar4 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar4.

  • y[in] A abacus_uchar4.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar8 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar8 x, abacus_uchar8 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar8 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar8 x, abacus_uchar8 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar8 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar8 x, abacus_uchar8 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar8 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar8 x, abacus_uchar8 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar8 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar8 x, abacus_uchar8 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar8.

  • y[in] A abacus_uchar8.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar16 x, abacus_uchar2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar16 x, abacus_uchar16 y, abacus_uchar2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

  • m[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar16 x, abacus_uchar3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar16 x, abacus_uchar16 y, abacus_uchar3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

  • m[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar16 x, abacus_uchar4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar16 x, abacus_uchar16 y, abacus_uchar4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

  • m[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar16 x, abacus_uchar8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar16 x, abacus_uchar16 y, abacus_uchar8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

  • m[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uchar16 x, abacus_uchar16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uchar16 x, abacus_uchar16 y, abacus_uchar16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uchar16.

  • y[in] A abacus_uchar16.

  • m[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort2 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort2 x, abacus_ushort2 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort2 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort2 x, abacus_ushort2 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort2 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort2 x, abacus_ushort2 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort2 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort2 x, abacus_ushort2 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort2 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort2 x, abacus_ushort2 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort2.

  • y[in] A abacus_ushort2.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort3 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort3 x, abacus_ushort3 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort3 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort3 x, abacus_ushort3 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort3 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort3 x, abacus_ushort3 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort3 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort3 x, abacus_ushort3 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort3 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort3 x, abacus_ushort3 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort3.

  • y[in] A abacus_ushort3.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort4 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort4 x, abacus_ushort4 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort4 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort4 x, abacus_ushort4 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort4 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort4 x, abacus_ushort4 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort4 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort4 x, abacus_ushort4 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort4 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort4 x, abacus_ushort4 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort4.

  • y[in] A abacus_ushort4.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort8 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort8 x, abacus_ushort8 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort8 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort8 x, abacus_ushort8 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort8 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort8 x, abacus_ushort8 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort8 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort8 x, abacus_ushort8 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort8 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort8 x, abacus_ushort8 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort8.

  • y[in] A abacus_ushort8.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort16 x, abacus_ushort2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort16 x, abacus_ushort16 y, abacus_ushort2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

  • m[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort16 x, abacus_ushort3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort16 x, abacus_ushort16 y, abacus_ushort3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

  • m[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort16 x, abacus_ushort4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort16 x, abacus_ushort16 y, abacus_ushort4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

  • m[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort16 x, abacus_ushort8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort16 x, abacus_ushort16 y, abacus_ushort8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

  • m[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ushort16 x, abacus_ushort16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ushort16 x, abacus_ushort16 y, abacus_ushort16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ushort16.

  • y[in] A abacus_ushort16.

  • m[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint2 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint2 x, abacus_uint2 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint2 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint2 x, abacus_uint2 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint2 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint2 x, abacus_uint2 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint2 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint2 x, abacus_uint2 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint2 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint2 x, abacus_uint2 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint2.

  • y[in] A abacus_uint2.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint3 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint3 x, abacus_uint3 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint3 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint3 x, abacus_uint3 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint3 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint3 x, abacus_uint3 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint3 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint3 x, abacus_uint3 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint3 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint3 x, abacus_uint3 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint3.

  • y[in] A abacus_uint3.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint4 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint4 x, abacus_uint4 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint4 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint4 x, abacus_uint4 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint4 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint4 x, abacus_uint4 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint4 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint4 x, abacus_uint4 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint4 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint4 x, abacus_uint4 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint4.

  • y[in] A abacus_uint4.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint8 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint8 x, abacus_uint8 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint8 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint8 x, abacus_uint8 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint8 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint8 x, abacus_uint8 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint8 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint8 x, abacus_uint8 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint8 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint8 x, abacus_uint8 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint8.

  • y[in] A abacus_uint8.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint16 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint16 x, abacus_uint16 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

  • m[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint16 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint16 x, abacus_uint16 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

  • m[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint16 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint16 x, abacus_uint16 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

  • m[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint16 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint16 x, abacus_uint16 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

  • m[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle(abacus_uint16 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_uint16 x, abacus_uint16 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_uint16.

  • y[in] A abacus_uint16.

  • m[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong2 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong2 x, abacus_ulong2 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong2 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong2 x, abacus_ulong2 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong2 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong2 x, abacus_ulong2 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong2 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong2 x, abacus_ulong2 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong2 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong2 x, abacus_ulong2 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong2.

  • y[in] A abacus_ulong2.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong3 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong3 x, abacus_ulong3 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong3 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong3 x, abacus_ulong3 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong3 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong3 x, abacus_ulong3 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong3 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong3 x, abacus_ulong3 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong3 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong3 x, abacus_ulong3 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong3.

  • y[in] A abacus_ulong3.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong4 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong4 x, abacus_ulong4 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong4 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong4 x, abacus_ulong4 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong4 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong4 x, abacus_ulong4 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong4 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong4 x, abacus_ulong4 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong4 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong4 x, abacus_ulong4 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong4.

  • y[in] A abacus_ulong4.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong8 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong8 x, abacus_ulong8 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong8 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong8 x, abacus_ulong8 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong8 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong8 x, abacus_ulong8 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong8 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong8 x, abacus_ulong8 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong8 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong8 x, abacus_ulong8 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong8.

  • y[in] A abacus_ulong8.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong16 x, abacus_ulong2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong16 x, abacus_ulong16 y, abacus_ulong2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

  • m[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong16 x, abacus_ulong3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong16 x, abacus_ulong16 y, abacus_ulong3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

  • m[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong16 x, abacus_ulong4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong16 x, abacus_ulong16 y, abacus_ulong4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

  • m[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong16 x, abacus_ulong8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong16 x, abacus_ulong16 y, abacus_ulong8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

  • m[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle(abacus_ulong16 x, abacus_ulong16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_ulong16 x, abacus_ulong16 y, abacus_ulong16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_ulong16.

  • y[in] A abacus_ulong16.

  • m[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle(abacus_float2 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float2 x, abacus_float2 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle(abacus_float2 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float2 x, abacus_float2 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle(abacus_float2 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float2 x, abacus_float2 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle(abacus_float2 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float2 x, abacus_float2 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle(abacus_float2 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float2 x, abacus_float2 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle(abacus_float3 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float3 x, abacus_float3 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle(abacus_float3 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float3 x, abacus_float3 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle(abacus_float3 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float3 x, abacus_float3 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle(abacus_float3 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float3 x, abacus_float3 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle(abacus_float3 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float3 x, abacus_float3 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle(abacus_float4 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float4 x, abacus_float4 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle(abacus_float4 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float4 x, abacus_float4 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle(abacus_float4 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float4 x, abacus_float4 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle(abacus_float4 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float4 x, abacus_float4 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle(abacus_float4 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float4 x, abacus_float4 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle(abacus_float8 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float8 x, abacus_float8 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle(abacus_float8 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float8 x, abacus_float8 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle(abacus_float8 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float8 x, abacus_float8 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle(abacus_float8 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float8 x, abacus_float8 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle(abacus_float8 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float8 x, abacus_float8 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle(abacus_float16 x, abacus_uint2 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float16 x, abacus_float16 y, abacus_uint2 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • m[in] A abacus_uint2.

Returns

A abacus_float2.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle(abacus_float16 x, abacus_uint3 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float16 x, abacus_float16 y, abacus_uint3 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • m[in] A abacus_uint3.

Returns

A abacus_float3.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle(abacus_float16 x, abacus_uint4 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float16 x, abacus_float16 y, abacus_uint4 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • m[in] A abacus_uint4.

Returns

A abacus_float4.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle(abacus_float16 x, abacus_uint8 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float16 x, abacus_float16 y, abacus_uint8 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • m[in] A abacus_uint8.

Returns

A abacus_float8.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle(abacus_float16 x, abacus_uint16 m)

Constructs a permutation of elements from an input vector.

Constructs a permutation of elements from an input vector. The elements of the input vector are numbered from left to right.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_shuffle2(abacus_float16 x, abacus_float16 y, abacus_uint16 m)

Constructs a permutation of elements from two vectors.

Constructs a permutation of elements from two input vectors. The elements of the input vector are numbered from left to right across both vectors.

Standards compliant implementation of OpenCL 1.2 shuffle.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/shuffle.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

  • m[in] A abacus_uint16.

Returns

A abacus_float16.

abacus relational

group abacus_relational

Functions

abacus_int ABACUS_EXPORT_API __abacus_isequal(abacus_float x, abacus_float y)

Compare of x == y.

Returns the component-wise compare of x == y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isequal.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isnotequal(abacus_float x, abacus_float y)

Compare of x != y.

Returns the component-wise compare of x != y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnotequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnotequal.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isgreater(abacus_float x, abacus_float y)

Compare of x > y.

Returns the component-wise compare of x > y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreater.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isgreaterequal(abacus_float x, abacus_float y)

Compare of x >= y.

Returns the component-wise compare of x >= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreaterequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreaterequal.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isless(abacus_float x, abacus_float y)

Compare of x < y.

Returns the component-wise compare of x < y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isless.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isless.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_islessequal(abacus_float x, abacus_float y)

Compare of x <= y.

Returns the component-wise compare of x <= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessequal.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_islessgreater(abacus_float x, abacus_float y)

Compare of (x < y) || (x > y).

Returns the component-wise compare of (x < y) || (x > y). For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessgreater.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isfinite(abacus_float x)

Test for finite value.

Returns the component-wise test for finite value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isfinite.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isfinite.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isinf(abacus_float x)

Test for infinity value.

Returns the component-wise test for infinity value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isinf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isinf.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isnan(abacus_float x)

Test for NaN value.

Returns the component-wise test for Not-a-Number value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnan.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isnormal(abacus_float x)

Test for a normal value.

Returns the component-wise test for a normal value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnormal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnormal.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isordered(abacus_float x, abacus_float y)

Test is arguments are ordered.

Returns the component-wise test for ordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isordered.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_isunordered(abacus_float x, abacus_float y)

Test is arguments are unordered.

Returns the component-wise test for unordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isunordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isunordered.html

Parameters
  • x[in] A abacus_float.

  • y[in] A abacus_float.

Returns

A abacus_float.

abacus_int ABACUS_EXPORT_API __abacus_signbit(abacus_float x)

Test for sign bit.

Returns the component-wise test for a signed value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 signbit.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/signbit.html

Parameters

x[in] A abacus_float.

Returns

A abacus_float.

abacus_float ABACUS_EXPORT_API __abacus_select(abacus_float a, abacus_float b, abacus_int c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float.

  • b[in] A abacus_float.

  • c[in] A abacus_float.

Returns

A abacus_int.

abacus_float ABACUS_EXPORT_API __abacus_select(abacus_float a, abacus_float b, abacus_uint c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float.

  • b[in] A abacus_float.

  • c[in] A abacus_float.

Returns

A abacus_uint.

abacus_float ABACUS_EXPORT_API __abacus_bitselect(abacus_float a, abacus_float b, abacus_float c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_float.

  • b[in] A abacus_float.

  • c[in] A abacus_float.

Returns

A abacus_float.

abacus_int2 ABACUS_EXPORT_API __abacus_isequal(abacus_float2 x, abacus_float2 y)

Compare of x == y.

Returns the component-wise compare of x == y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isequal.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isnotequal(abacus_float2 x, abacus_float2 y)

Compare of x != y.

Returns the component-wise compare of x != y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnotequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnotequal.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isgreater(abacus_float2 x, abacus_float2 y)

Compare of x > y.

Returns the component-wise compare of x > y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreater.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isgreaterequal(abacus_float2 x, abacus_float2 y)

Compare of x >= y.

Returns the component-wise compare of x >= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreaterequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreaterequal.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isless(abacus_float2 x, abacus_float2 y)

Compare of x < y.

Returns the component-wise compare of x < y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isless.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isless.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_islessequal(abacus_float2 x, abacus_float2 y)

Compare of x <= y.

Returns the component-wise compare of x <= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessequal.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_islessgreater(abacus_float2 x, abacus_float2 y)

Compare of (x < y) || (x > y).

Returns the component-wise compare of (x < y) || (x > y). For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessgreater.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isfinite(abacus_float2 x)

Test for finite value.

Returns the component-wise test for finite value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isfinite.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isfinite.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isinf(abacus_float2 x)

Test for infinity value.

Returns the component-wise test for infinity value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isinf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isinf.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isnan(abacus_float2 x)

Test for NaN value.

Returns the component-wise test for Not-a-Number value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnan.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isnormal(abacus_float2 x)

Test for a normal value.

Returns the component-wise test for a normal value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnormal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnormal.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isordered(abacus_float2 x, abacus_float2 y)

Test is arguments are ordered.

Returns the component-wise test for ordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isordered.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_isunordered(abacus_float2 x, abacus_float2 y)

Test is arguments are unordered.

Returns the component-wise test for unordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isunordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isunordered.html

Parameters
  • x[in] A abacus_float2.

  • y[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int2 ABACUS_EXPORT_API __abacus_signbit(abacus_float2 x)

Test for sign bit.

Returns the component-wise test for a signed value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 signbit.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/signbit.html

Parameters

x[in] A abacus_float2.

Returns

A abacus_float2.

abacus_float2 ABACUS_EXPORT_API __abacus_select(abacus_float2 a, abacus_float2 b, abacus_int2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float2.

  • b[in] A abacus_float2.

  • c[in] A abacus_float2.

Returns

A abacus_int2.

abacus_float2 ABACUS_EXPORT_API __abacus_select(abacus_float2 a, abacus_float2 b, abacus_uint2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float2.

  • b[in] A abacus_float2.

  • c[in] A abacus_float2.

Returns

A abacus_uint2.

abacus_float2 ABACUS_EXPORT_API __abacus_bitselect(abacus_float2 a, abacus_float2 b, abacus_float2 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_float2.

  • b[in] A abacus_float2.

  • c[in] A abacus_float2.

Returns

A abacus_float2.

abacus_int3 ABACUS_EXPORT_API __abacus_isequal(abacus_float3 x, abacus_float3 y)

Compare of x == y.

Returns the component-wise compare of x == y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isequal.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isnotequal(abacus_float3 x, abacus_float3 y)

Compare of x != y.

Returns the component-wise compare of x != y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnotequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnotequal.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isgreater(abacus_float3 x, abacus_float3 y)

Compare of x > y.

Returns the component-wise compare of x > y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreater.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isgreaterequal(abacus_float3 x, abacus_float3 y)

Compare of x >= y.

Returns the component-wise compare of x >= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreaterequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreaterequal.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isless(abacus_float3 x, abacus_float3 y)

Compare of x < y.

Returns the component-wise compare of x < y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isless.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isless.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_islessequal(abacus_float3 x, abacus_float3 y)

Compare of x <= y.

Returns the component-wise compare of x <= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessequal.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_islessgreater(abacus_float3 x, abacus_float3 y)

Compare of (x < y) || (x > y).

Returns the component-wise compare of (x < y) || (x > y). For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessgreater.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isfinite(abacus_float3 x)

Test for finite value.

Returns the component-wise test for finite value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isfinite.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isfinite.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isinf(abacus_float3 x)

Test for infinity value.

Returns the component-wise test for infinity value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isinf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isinf.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isnan(abacus_float3 x)

Test for NaN value.

Returns the component-wise test for Not-a-Number value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnan.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isnormal(abacus_float3 x)

Test for a normal value.

Returns the component-wise test for a normal value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnormal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnormal.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isordered(abacus_float3 x, abacus_float3 y)

Test is arguments are ordered.

Returns the component-wise test for ordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isordered.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_isunordered(abacus_float3 x, abacus_float3 y)

Test is arguments are unordered.

Returns the component-wise test for unordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isunordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isunordered.html

Parameters
  • x[in] A abacus_float3.

  • y[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int3 ABACUS_EXPORT_API __abacus_signbit(abacus_float3 x)

Test for sign bit.

Returns the component-wise test for a signed value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 signbit.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/signbit.html

Parameters

x[in] A abacus_float3.

Returns

A abacus_float3.

abacus_float3 ABACUS_EXPORT_API __abacus_select(abacus_float3 a, abacus_float3 b, abacus_int3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float3.

  • b[in] A abacus_float3.

  • c[in] A abacus_float3.

Returns

A abacus_int3.

abacus_float3 ABACUS_EXPORT_API __abacus_select(abacus_float3 a, abacus_float3 b, abacus_uint3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float3.

  • b[in] A abacus_float3.

  • c[in] A abacus_float3.

Returns

A abacus_uint3.

abacus_float3 ABACUS_EXPORT_API __abacus_bitselect(abacus_float3 a, abacus_float3 b, abacus_float3 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_float3.

  • b[in] A abacus_float3.

  • c[in] A abacus_float3.

Returns

A abacus_float3.

abacus_int4 ABACUS_EXPORT_API __abacus_isequal(abacus_float4 x, abacus_float4 y)

Compare of x == y.

Returns the component-wise compare of x == y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isequal.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isnotequal(abacus_float4 x, abacus_float4 y)

Compare of x != y.

Returns the component-wise compare of x != y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnotequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnotequal.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isgreater(abacus_float4 x, abacus_float4 y)

Compare of x > y.

Returns the component-wise compare of x > y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreater.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isgreaterequal(abacus_float4 x, abacus_float4 y)

Compare of x >= y.

Returns the component-wise compare of x >= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreaterequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreaterequal.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isless(abacus_float4 x, abacus_float4 y)

Compare of x < y.

Returns the component-wise compare of x < y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isless.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isless.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_islessequal(abacus_float4 x, abacus_float4 y)

Compare of x <= y.

Returns the component-wise compare of x <= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessequal.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_islessgreater(abacus_float4 x, abacus_float4 y)

Compare of (x < y) || (x > y).

Returns the component-wise compare of (x < y) || (x > y). For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessgreater.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isfinite(abacus_float4 x)

Test for finite value.

Returns the component-wise test for finite value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isfinite.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isfinite.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isinf(abacus_float4 x)

Test for infinity value.

Returns the component-wise test for infinity value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isinf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isinf.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isnan(abacus_float4 x)

Test for NaN value.

Returns the component-wise test for Not-a-Number value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnan.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isnormal(abacus_float4 x)

Test for a normal value.

Returns the component-wise test for a normal value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnormal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnormal.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isordered(abacus_float4 x, abacus_float4 y)

Test is arguments are ordered.

Returns the component-wise test for ordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isordered.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_isunordered(abacus_float4 x, abacus_float4 y)

Test is arguments are unordered.

Returns the component-wise test for unordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isunordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isunordered.html

Parameters
  • x[in] A abacus_float4.

  • y[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int4 ABACUS_EXPORT_API __abacus_signbit(abacus_float4 x)

Test for sign bit.

Returns the component-wise test for a signed value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 signbit.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/signbit.html

Parameters

x[in] A abacus_float4.

Returns

A abacus_float4.

abacus_float4 ABACUS_EXPORT_API __abacus_select(abacus_float4 a, abacus_float4 b, abacus_int4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float4.

  • b[in] A abacus_float4.

  • c[in] A abacus_float4.

Returns

A abacus_int4.

abacus_float4 ABACUS_EXPORT_API __abacus_select(abacus_float4 a, abacus_float4 b, abacus_uint4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float4.

  • b[in] A abacus_float4.

  • c[in] A abacus_float4.

Returns

A abacus_uint4.

abacus_float4 ABACUS_EXPORT_API __abacus_bitselect(abacus_float4 a, abacus_float4 b, abacus_float4 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_float4.

  • b[in] A abacus_float4.

  • c[in] A abacus_float4.

Returns

A abacus_float4.

abacus_int8 ABACUS_EXPORT_API __abacus_isequal(abacus_float8 x, abacus_float8 y)

Compare of x == y.

Returns the component-wise compare of x == y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isequal.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isnotequal(abacus_float8 x, abacus_float8 y)

Compare of x != y.

Returns the component-wise compare of x != y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnotequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnotequal.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isgreater(abacus_float8 x, abacus_float8 y)

Compare of x > y.

Returns the component-wise compare of x > y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreater.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isgreaterequal(abacus_float8 x, abacus_float8 y)

Compare of x >= y.

Returns the component-wise compare of x >= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreaterequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreaterequal.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isless(abacus_float8 x, abacus_float8 y)

Compare of x < y.

Returns the component-wise compare of x < y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isless.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isless.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_islessequal(abacus_float8 x, abacus_float8 y)

Compare of x <= y.

Returns the component-wise compare of x <= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessequal.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_islessgreater(abacus_float8 x, abacus_float8 y)

Compare of (x < y) || (x > y).

Returns the component-wise compare of (x < y) || (x > y). For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessgreater.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isfinite(abacus_float8 x)

Test for finite value.

Returns the component-wise test for finite value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isfinite.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isfinite.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isinf(abacus_float8 x)

Test for infinity value.

Returns the component-wise test for infinity value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isinf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isinf.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isnan(abacus_float8 x)

Test for NaN value.

Returns the component-wise test for Not-a-Number value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnan.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isnormal(abacus_float8 x)

Test for a normal value.

Returns the component-wise test for a normal value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnormal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnormal.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isordered(abacus_float8 x, abacus_float8 y)

Test is arguments are ordered.

Returns the component-wise test for ordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isordered.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_isunordered(abacus_float8 x, abacus_float8 y)

Test is arguments are unordered.

Returns the component-wise test for unordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isunordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isunordered.html

Parameters
  • x[in] A abacus_float8.

  • y[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int8 ABACUS_EXPORT_API __abacus_signbit(abacus_float8 x)

Test for sign bit.

Returns the component-wise test for a signed value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 signbit.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/signbit.html

Parameters

x[in] A abacus_float8.

Returns

A abacus_float8.

abacus_float8 ABACUS_EXPORT_API __abacus_select(abacus_float8 a, abacus_float8 b, abacus_int8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float8.

  • b[in] A abacus_float8.

  • c[in] A abacus_float8.

Returns

A abacus_int8.

abacus_float8 ABACUS_EXPORT_API __abacus_select(abacus_float8 a, abacus_float8 b, abacus_uint8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float8.

  • b[in] A abacus_float8.

  • c[in] A abacus_float8.

Returns

A abacus_uint8.

abacus_float8 ABACUS_EXPORT_API __abacus_bitselect(abacus_float8 a, abacus_float8 b, abacus_float8 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_float8.

  • b[in] A abacus_float8.

  • c[in] A abacus_float8.

Returns

A abacus_float8.

abacus_int16 ABACUS_EXPORT_API __abacus_isequal(abacus_float16 x, abacus_float16 y)

Compare of x == y.

Returns the component-wise compare of x == y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isequal.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isnotequal(abacus_float16 x, abacus_float16 y)

Compare of x != y.

Returns the component-wise compare of x != y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnotequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnotequal.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isgreater(abacus_float16 x, abacus_float16 y)

Compare of x > y.

Returns the component-wise compare of x > y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreater.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isgreaterequal(abacus_float16 x, abacus_float16 y)

Compare of x >= y.

Returns the component-wise compare of x >= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isgreaterequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isgreaterequal.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isless(abacus_float16 x, abacus_float16 y)

Compare of x < y.

Returns the component-wise compare of x < y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isless.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isless.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_islessequal(abacus_float16 x, abacus_float16 y)

Compare of x <= y.

Returns the component-wise compare of x <= y. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessequal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessequal.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_islessgreater(abacus_float16 x, abacus_float16 y)

Compare of (x < y) || (x > y).

Returns the component-wise compare of (x < y) || (x > y). For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 islessgreater.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/islessgreater.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isfinite(abacus_float16 x)

Test for finite value.

Returns the component-wise test for finite value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isfinite.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isfinite.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isinf(abacus_float16 x)

Test for infinity value.

Returns the component-wise test for infinity value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isinf.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isinf.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isnan(abacus_float16 x)

Test for NaN value.

Returns the component-wise test for Not-a-Number value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnan.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnan.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isnormal(abacus_float16 x)

Test for a normal value.

Returns the component-wise test for a normal value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isnormal.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isnormal.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isordered(abacus_float16 x, abacus_float16 y)

Test is arguments are ordered.

Returns the component-wise test for ordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isordered.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_isunordered(abacus_float16 x, abacus_float16 y)

Test is arguments are unordered.

Returns the component-wise test for unordered arguments. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 isunordered.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/isunordered.html

Parameters
  • x[in] A abacus_float16.

  • y[in] A abacus_float16.

Returns

A abacus_float16.

abacus_int16 ABACUS_EXPORT_API __abacus_signbit(abacus_float16 x)

Test for sign bit.

Returns the component-wise test for a signed value. For scalar types, 1 or 0 is returned. For vector types, -1 or 0 is returned.

Standards compliant implementation of OpenCL 1.2 signbit.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/signbit.html

Parameters

x[in] A abacus_float16.

Returns

A abacus_float16.

abacus_float16 ABACUS_EXPORT_API __abacus_select(abacus_float16 a, abacus_float16 b, abacus_int16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float16.

  • b[in] A abacus_float16.

  • c[in] A abacus_float16.

Returns

A abacus_int16.

abacus_float16 ABACUS_EXPORT_API __abacus_select(abacus_float16 a, abacus_float16 b, abacus_uint16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_float16.

  • b[in] A abacus_float16.

  • c[in] A abacus_float16.

Returns

A abacus_uint16.

abacus_float16 ABACUS_EXPORT_API __abacus_bitselect(abacus_float16 a, abacus_float16 b, abacus_float16 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_float16.

  • b[in] A abacus_float16.

  • c[in] A abacus_float16.

Returns

A abacus_float16.

abacus_char ABACUS_EXPORT_API __abacus_select(abacus_char a, abacus_char b, abacus_char c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char.

  • b[in] A abacus_char.

  • c[in] A abacus_char.

Returns

A abacus_char.

inline abacus_char ABACUS_API select(abacus_char a, abacus_char b, abacus_char c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char.

  • b[in] A abacus_char.

  • c[in] A abacus_char.

Returns

A abacus_char.

abacus_char ABACUS_EXPORT_API __abacus_select(abacus_char a, abacus_char b, abacus_uchar c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char.

  • b[in] A abacus_char.

  • c[in] A abacus_uchar.

Returns

A abacus_char.

inline abacus_char ABACUS_API select(abacus_char a, abacus_char b, abacus_uchar c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char.

  • b[in] A abacus_char.

  • c[in] A abacus_uchar.

Returns

A abacus_char.

abacus_uchar ABACUS_EXPORT_API __abacus_select(abacus_uchar a, abacus_uchar b, abacus_char c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar.

  • b[in] A abacus_uchar.

  • c[in] A abacus_char.

Returns

A abacus_uchar.

inline abacus_uchar ABACUS_API select(abacus_uchar a, abacus_uchar b, abacus_char c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar.

  • b[in] A abacus_uchar.

  • c[in] A abacus_char.

Returns

A abacus_uchar.

abacus_uchar ABACUS_EXPORT_API __abacus_select(abacus_uchar a, abacus_uchar b, abacus_uchar c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar.

  • b[in] A abacus_uchar.

  • c[in] A abacus_uchar.

Returns

A abacus_uchar.

inline abacus_uchar ABACUS_API select(abacus_uchar a, abacus_uchar b, abacus_uchar c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar.

  • b[in] A abacus_uchar.

  • c[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_char ABACUS_EXPORT_API __abacus_bitselect(abacus_char a, abacus_char b, abacus_char c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_char.

  • b[in] A abacus_char.

  • c[in] A abacus_char.

Returns

A abacus_char.

inline abacus_char ABACUS_API bitselect(abacus_char a, abacus_char b, abacus_char c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_char.

  • b[in] A abacus_char.

  • c[in] A abacus_char.

Returns

A abacus_char.

abacus_uchar ABACUS_EXPORT_API __abacus_bitselect(abacus_uchar a, abacus_uchar b, abacus_uchar c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uchar.

  • b[in] A abacus_uchar.

  • c[in] A abacus_uchar.

Returns

A abacus_uchar.

inline abacus_uchar ABACUS_API bitselect(abacus_uchar a, abacus_uchar b, abacus_uchar c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uchar.

  • b[in] A abacus_uchar.

  • c[in] A abacus_uchar.

Returns

A abacus_uchar.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_char x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_char x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_char x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_char x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_char.

Returns

A abacus_char.

abacus_char2 ABACUS_EXPORT_API __abacus_select(abacus_char2 a, abacus_char2 b, abacus_char2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char2.

  • b[in] A abacus_char2.

  • c[in] A abacus_char2.

Returns

A abacus_char2.

inline abacus_char2 ABACUS_API select(abacus_char2 a, abacus_char2 b, abacus_char2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char2.

  • b[in] A abacus_char2.

  • c[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char2 ABACUS_EXPORT_API __abacus_select(abacus_char2 a, abacus_char2 b, abacus_uchar2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char2.

  • b[in] A abacus_char2.

  • c[in] A abacus_uchar2.

Returns

A abacus_char2.

inline abacus_char2 ABACUS_API select(abacus_char2 a, abacus_char2 b, abacus_uchar2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char2.

  • b[in] A abacus_char2.

  • c[in] A abacus_uchar2.

Returns

A abacus_char2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_select(abacus_uchar2 a, abacus_uchar2 b, abacus_char2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar2.

  • b[in] A abacus_uchar2.

  • c[in] A abacus_char2.

Returns

A abacus_uchar2.

inline abacus_uchar2 ABACUS_API select(abacus_uchar2 a, abacus_uchar2 b, abacus_char2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar2.

  • b[in] A abacus_uchar2.

  • c[in] A abacus_char2.

Returns

A abacus_uchar2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_select(abacus_uchar2 a, abacus_uchar2 b, abacus_uchar2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar2.

  • b[in] A abacus_uchar2.

  • c[in] A abacus_uchar2.

Returns

A abacus_uchar2.

inline abacus_uchar2 ABACUS_API select(abacus_uchar2 a, abacus_uchar2 b, abacus_uchar2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar2.

  • b[in] A abacus_uchar2.

  • c[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_char2 ABACUS_EXPORT_API __abacus_bitselect(abacus_char2 a, abacus_char2 b, abacus_char2 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_char2.

  • b[in] A abacus_char2.

  • c[in] A abacus_char2.

Returns

A abacus_char2.

inline abacus_char2 ABACUS_API bitselect(abacus_char2 a, abacus_char2 b, abacus_char2 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_char2.

  • b[in] A abacus_char2.

  • c[in] A abacus_char2.

Returns

A abacus_char2.

abacus_uchar2 ABACUS_EXPORT_API __abacus_bitselect(abacus_uchar2 a, abacus_uchar2 b, abacus_uchar2 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uchar2.

  • b[in] A abacus_uchar2.

  • c[in] A abacus_uchar2.

Returns

A abacus_uchar2.

inline abacus_uchar2 ABACUS_API bitselect(abacus_uchar2 a, abacus_uchar2 b, abacus_uchar2 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uchar2.

  • b[in] A abacus_uchar2.

  • c[in] A abacus_uchar2.

Returns

A abacus_uchar2.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_char2 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_char2 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_char2.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_char2 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char2.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_char2 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_char2.

Returns

A abacus_char2.

abacus_char3 ABACUS_EXPORT_API __abacus_select(abacus_char3 a, abacus_char3 b, abacus_char3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char3.

  • b[in] A abacus_char3.

  • c[in] A abacus_char3.

Returns

A abacus_char3.

inline abacus_char3 ABACUS_API select(abacus_char3 a, abacus_char3 b, abacus_char3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char3.

  • b[in] A abacus_char3.

  • c[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char3 ABACUS_EXPORT_API __abacus_select(abacus_char3 a, abacus_char3 b, abacus_uchar3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char3.

  • b[in] A abacus_char3.

  • c[in] A abacus_uchar3.

Returns

A abacus_char3.

inline abacus_char3 ABACUS_API select(abacus_char3 a, abacus_char3 b, abacus_uchar3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char3.

  • b[in] A abacus_char3.

  • c[in] A abacus_uchar3.

Returns

A abacus_char3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_select(abacus_uchar3 a, abacus_uchar3 b, abacus_char3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar3.

  • b[in] A abacus_uchar3.

  • c[in] A abacus_char3.

Returns

A abacus_uchar3.

inline abacus_uchar3 ABACUS_API select(abacus_uchar3 a, abacus_uchar3 b, abacus_char3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar3.

  • b[in] A abacus_uchar3.

  • c[in] A abacus_char3.

Returns

A abacus_uchar3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_select(abacus_uchar3 a, abacus_uchar3 b, abacus_uchar3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar3.

  • b[in] A abacus_uchar3.

  • c[in] A abacus_uchar3.

Returns

A abacus_uchar3.

inline abacus_uchar3 ABACUS_API select(abacus_uchar3 a, abacus_uchar3 b, abacus_uchar3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar3.

  • b[in] A abacus_uchar3.

  • c[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_char3 ABACUS_EXPORT_API __abacus_bitselect(abacus_char3 a, abacus_char3 b, abacus_char3 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_char3.

  • b[in] A abacus_char3.

  • c[in] A abacus_char3.

Returns

A abacus_char3.

inline abacus_char3 ABACUS_API bitselect(abacus_char3 a, abacus_char3 b, abacus_char3 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_char3.

  • b[in] A abacus_char3.

  • c[in] A abacus_char3.

Returns

A abacus_char3.

abacus_uchar3 ABACUS_EXPORT_API __abacus_bitselect(abacus_uchar3 a, abacus_uchar3 b, abacus_uchar3 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uchar3.

  • b[in] A abacus_uchar3.

  • c[in] A abacus_uchar3.

Returns

A abacus_uchar3.

inline abacus_uchar3 ABACUS_API bitselect(abacus_uchar3 a, abacus_uchar3 b, abacus_uchar3 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uchar3.

  • b[in] A abacus_uchar3.

  • c[in] A abacus_uchar3.

Returns

A abacus_uchar3.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_char3 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_char3 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_char3.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_char3 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char3.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_char3 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_char3.

Returns

A abacus_char3.

abacus_char4 ABACUS_EXPORT_API __abacus_select(abacus_char4 a, abacus_char4 b, abacus_char4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char4.

  • b[in] A abacus_char4.

  • c[in] A abacus_char4.

Returns

A abacus_char4.

inline abacus_char4 ABACUS_API select(abacus_char4 a, abacus_char4 b, abacus_char4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char4.

  • b[in] A abacus_char4.

  • c[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char4 ABACUS_EXPORT_API __abacus_select(abacus_char4 a, abacus_char4 b, abacus_uchar4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char4.

  • b[in] A abacus_char4.

  • c[in] A abacus_uchar4.

Returns

A abacus_char4.

inline abacus_char4 ABACUS_API select(abacus_char4 a, abacus_char4 b, abacus_uchar4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char4.

  • b[in] A abacus_char4.

  • c[in] A abacus_uchar4.

Returns

A abacus_char4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_select(abacus_uchar4 a, abacus_uchar4 b, abacus_char4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar4.

  • b[in] A abacus_uchar4.

  • c[in] A abacus_char4.

Returns

A abacus_uchar4.

inline abacus_uchar4 ABACUS_API select(abacus_uchar4 a, abacus_uchar4 b, abacus_char4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar4.

  • b[in] A abacus_uchar4.

  • c[in] A abacus_char4.

Returns

A abacus_uchar4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_select(abacus_uchar4 a, abacus_uchar4 b, abacus_uchar4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar4.

  • b[in] A abacus_uchar4.

  • c[in] A abacus_uchar4.

Returns

A abacus_uchar4.

inline abacus_uchar4 ABACUS_API select(abacus_uchar4 a, abacus_uchar4 b, abacus_uchar4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar4.

  • b[in] A abacus_uchar4.

  • c[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_char4 ABACUS_EXPORT_API __abacus_bitselect(abacus_char4 a, abacus_char4 b, abacus_char4 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_char4.

  • b[in] A abacus_char4.

  • c[in] A abacus_char4.

Returns

A abacus_char4.

inline abacus_char4 ABACUS_API bitselect(abacus_char4 a, abacus_char4 b, abacus_char4 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_char4.

  • b[in] A abacus_char4.

  • c[in] A abacus_char4.

Returns

A abacus_char4.

abacus_uchar4 ABACUS_EXPORT_API __abacus_bitselect(abacus_uchar4 a, abacus_uchar4 b, abacus_uchar4 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uchar4.

  • b[in] A abacus_uchar4.

  • c[in] A abacus_uchar4.

Returns

A abacus_uchar4.

inline abacus_uchar4 ABACUS_API bitselect(abacus_uchar4 a, abacus_uchar4 b, abacus_uchar4 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uchar4.

  • b[in] A abacus_uchar4.

  • c[in] A abacus_uchar4.

Returns

A abacus_uchar4.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_char4 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_char4 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_char4.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_char4 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char4.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_char4 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_char4.

Returns

A abacus_char4.

abacus_char8 ABACUS_EXPORT_API __abacus_select(abacus_char8 a, abacus_char8 b, abacus_char8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char8.

  • b[in] A abacus_char8.

  • c[in] A abacus_char8.

Returns

A abacus_char8.

inline abacus_char8 ABACUS_API select(abacus_char8 a, abacus_char8 b, abacus_char8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char8.

  • b[in] A abacus_char8.

  • c[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char8 ABACUS_EXPORT_API __abacus_select(abacus_char8 a, abacus_char8 b, abacus_uchar8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char8.

  • b[in] A abacus_char8.

  • c[in] A abacus_uchar8.

Returns

A abacus_char8.

inline abacus_char8 ABACUS_API select(abacus_char8 a, abacus_char8 b, abacus_uchar8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char8.

  • b[in] A abacus_char8.

  • c[in] A abacus_uchar8.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_select(abacus_uchar8 a, abacus_uchar8 b, abacus_char8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar8.

  • b[in] A abacus_uchar8.

  • c[in] A abacus_char8.

Returns

A abacus_uchar8.

inline abacus_uchar8 ABACUS_API select(abacus_uchar8 a, abacus_uchar8 b, abacus_char8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar8.

  • b[in] A abacus_uchar8.

  • c[in] A abacus_char8.

Returns

A abacus_uchar8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_select(abacus_uchar8 a, abacus_uchar8 b, abacus_uchar8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar8.

  • b[in] A abacus_uchar8.

  • c[in] A abacus_uchar8.

Returns

A abacus_uchar8.

inline abacus_uchar8 ABACUS_API select(abacus_uchar8 a, abacus_uchar8 b, abacus_uchar8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar8.

  • b[in] A abacus_uchar8.

  • c[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_char8 ABACUS_EXPORT_API __abacus_bitselect(abacus_char8 a, abacus_char8 b, abacus_char8 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_char8.

  • b[in] A abacus_char8.

  • c[in] A abacus_char8.

Returns

A abacus_char8.

inline abacus_char8 ABACUS_API bitselect(abacus_char8 a, abacus_char8 b, abacus_char8 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_char8.

  • b[in] A abacus_char8.

  • c[in] A abacus_char8.

Returns

A abacus_char8.

abacus_uchar8 ABACUS_EXPORT_API __abacus_bitselect(abacus_uchar8 a, abacus_uchar8 b, abacus_uchar8 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uchar8.

  • b[in] A abacus_uchar8.

  • c[in] A abacus_uchar8.

Returns

A abacus_uchar8.

inline abacus_uchar8 ABACUS_API bitselect(abacus_uchar8 a, abacus_uchar8 b, abacus_uchar8 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uchar8.

  • b[in] A abacus_uchar8.

  • c[in] A abacus_uchar8.

Returns

A abacus_uchar8.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_char8 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_char8 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_char8.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_char8 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char8.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_char8 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_char8.

Returns

A abacus_char8.

abacus_char16 ABACUS_EXPORT_API __abacus_select(abacus_char16 a, abacus_char16 b, abacus_char16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char16.

  • b[in] A abacus_char16.

  • c[in] A abacus_char16.

Returns

A abacus_char16.

inline abacus_char16 ABACUS_API select(abacus_char16 a, abacus_char16 b, abacus_char16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char16.

  • b[in] A abacus_char16.

  • c[in] A abacus_char16.

Returns

A abacus_char16.

abacus_char16 ABACUS_EXPORT_API __abacus_select(abacus_char16 a, abacus_char16 b, abacus_uchar16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_char16.

  • b[in] A abacus_char16.

  • c[in] A abacus_uchar16.

Returns

A abacus_char16.

inline abacus_char16 ABACUS_API select(abacus_char16 a, abacus_char16 b, abacus_uchar16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_char16.

  • b[in] A abacus_char16.

  • c[in] A abacus_uchar16.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_select(abacus_uchar16 a, abacus_uchar16 b, abacus_char16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar16.

  • b[in] A abacus_uchar16.

  • c[in] A abacus_char16.

Returns

A abacus_uchar16.

inline abacus_uchar16 ABACUS_API select(abacus_uchar16 a, abacus_uchar16 b, abacus_char16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar16.

  • b[in] A abacus_uchar16.

  • c[in] A abacus_char16.

Returns

A abacus_uchar16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_select(abacus_uchar16 a, abacus_uchar16 b, abacus_uchar16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uchar16.

  • b[in] A abacus_uchar16.

  • c[in] A abacus_uchar16.

Returns

A abacus_uchar16.

inline abacus_uchar16 ABACUS_API select(abacus_uchar16 a, abacus_uchar16 b, abacus_uchar16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uchar16.

  • b[in] A abacus_uchar16.

  • c[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_char16 ABACUS_EXPORT_API __abacus_bitselect(abacus_char16 a, abacus_char16 b, abacus_char16 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_char16.

  • b[in] A abacus_char16.

  • c[in] A abacus_char16.

Returns

A abacus_char16.

inline abacus_char16 ABACUS_API bitselect(abacus_char16 a, abacus_char16 b, abacus_char16 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_char16.

  • b[in] A abacus_char16.

  • c[in] A abacus_char16.

Returns

A abacus_char16.

abacus_uchar16 ABACUS_EXPORT_API __abacus_bitselect(abacus_uchar16 a, abacus_uchar16 b, abacus_uchar16 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uchar16.

  • b[in] A abacus_uchar16.

  • c[in] A abacus_uchar16.

Returns

A abacus_uchar16.

inline abacus_uchar16 ABACUS_API bitselect(abacus_uchar16 a, abacus_uchar16 b, abacus_uchar16 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uchar16.

  • b[in] A abacus_uchar16.

  • c[in] A abacus_uchar16.

Returns

A abacus_uchar16.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_char16 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_char16 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_char16.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_char16 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_char16.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_char16 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_char16.

Returns

A abacus_char16.

abacus_short ABACUS_EXPORT_API __abacus_select(abacus_short a, abacus_short b, abacus_short c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short.

  • b[in] A abacus_short.

  • c[in] A abacus_short.

Returns

A abacus_short.

inline abacus_short ABACUS_API select(abacus_short a, abacus_short b, abacus_short c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short.

  • b[in] A abacus_short.

  • c[in] A abacus_short.

Returns

A abacus_short.

abacus_short ABACUS_EXPORT_API __abacus_select(abacus_short a, abacus_short b, abacus_ushort c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short.

  • b[in] A abacus_short.

  • c[in] A abacus_ushort.

Returns

A abacus_short.

inline abacus_short ABACUS_API select(abacus_short a, abacus_short b, abacus_ushort c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short.

  • b[in] A abacus_short.

  • c[in] A abacus_ushort.

Returns

A abacus_short.

abacus_ushort ABACUS_EXPORT_API __abacus_select(abacus_ushort a, abacus_ushort b, abacus_short c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort.

  • b[in] A abacus_ushort.

  • c[in] A abacus_short.

Returns

A abacus_ushort.

inline abacus_ushort ABACUS_API select(abacus_ushort a, abacus_ushort b, abacus_short c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort.

  • b[in] A abacus_ushort.

  • c[in] A abacus_short.

Returns

A abacus_ushort.

abacus_ushort ABACUS_EXPORT_API __abacus_select(abacus_ushort a, abacus_ushort b, abacus_ushort c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort.

  • b[in] A abacus_ushort.

  • c[in] A abacus_ushort.

Returns

A abacus_ushort.

inline abacus_ushort ABACUS_API select(abacus_ushort a, abacus_ushort b, abacus_ushort c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort.

  • b[in] A abacus_ushort.

  • c[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_short ABACUS_EXPORT_API __abacus_bitselect(abacus_short a, abacus_short b, abacus_short c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_short.

  • b[in] A abacus_short.

  • c[in] A abacus_short.

Returns

A abacus_short.

inline abacus_short ABACUS_API bitselect(abacus_short a, abacus_short b, abacus_short c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_short.

  • b[in] A abacus_short.

  • c[in] A abacus_short.

Returns

A abacus_short.

abacus_ushort ABACUS_EXPORT_API __abacus_bitselect(abacus_ushort a, abacus_ushort b, abacus_ushort c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ushort.

  • b[in] A abacus_ushort.

  • c[in] A abacus_ushort.

Returns

A abacus_ushort.

inline abacus_ushort ABACUS_API bitselect(abacus_ushort a, abacus_ushort b, abacus_ushort c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ushort.

  • b[in] A abacus_ushort.

  • c[in] A abacus_ushort.

Returns

A abacus_ushort.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_short x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_short x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_short x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_short x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_short.

Returns

A abacus_short.

abacus_short2 ABACUS_EXPORT_API __abacus_select(abacus_short2 a, abacus_short2 b, abacus_short2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short2.

  • b[in] A abacus_short2.

  • c[in] A abacus_short2.

Returns

A abacus_short2.

inline abacus_short2 ABACUS_API select(abacus_short2 a, abacus_short2 b, abacus_short2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short2.

  • b[in] A abacus_short2.

  • c[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short2 ABACUS_EXPORT_API __abacus_select(abacus_short2 a, abacus_short2 b, abacus_ushort2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short2.

  • b[in] A abacus_short2.

  • c[in] A abacus_ushort2.

Returns

A abacus_short2.

inline abacus_short2 ABACUS_API select(abacus_short2 a, abacus_short2 b, abacus_ushort2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short2.

  • b[in] A abacus_short2.

  • c[in] A abacus_ushort2.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_select(abacus_ushort2 a, abacus_ushort2 b, abacus_short2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort2.

  • b[in] A abacus_ushort2.

  • c[in] A abacus_short2.

Returns

A abacus_ushort2.

inline abacus_ushort2 ABACUS_API select(abacus_ushort2 a, abacus_ushort2 b, abacus_short2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort2.

  • b[in] A abacus_ushort2.

  • c[in] A abacus_short2.

Returns

A abacus_ushort2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_select(abacus_ushort2 a, abacus_ushort2 b, abacus_ushort2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort2.

  • b[in] A abacus_ushort2.

  • c[in] A abacus_ushort2.

Returns

A abacus_ushort2.

inline abacus_ushort2 ABACUS_API select(abacus_ushort2 a, abacus_ushort2 b, abacus_ushort2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort2.

  • b[in] A abacus_ushort2.

  • c[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_short2 ABACUS_EXPORT_API __abacus_bitselect(abacus_short2 a, abacus_short2 b, abacus_short2 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_short2.

  • b[in] A abacus_short2.

  • c[in] A abacus_short2.

Returns

A abacus_short2.

inline abacus_short2 ABACUS_API bitselect(abacus_short2 a, abacus_short2 b, abacus_short2 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_short2.

  • b[in] A abacus_short2.

  • c[in] A abacus_short2.

Returns

A abacus_short2.

abacus_ushort2 ABACUS_EXPORT_API __abacus_bitselect(abacus_ushort2 a, abacus_ushort2 b, abacus_ushort2 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ushort2.

  • b[in] A abacus_ushort2.

  • c[in] A abacus_ushort2.

Returns

A abacus_ushort2.

inline abacus_ushort2 ABACUS_API bitselect(abacus_ushort2 a, abacus_ushort2 b, abacus_ushort2 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ushort2.

  • b[in] A abacus_ushort2.

  • c[in] A abacus_ushort2.

Returns

A abacus_ushort2.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_short2 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_short2 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_short2.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_short2 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short2.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_short2 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_short2.

Returns

A abacus_short2.

abacus_short3 ABACUS_EXPORT_API __abacus_select(abacus_short3 a, abacus_short3 b, abacus_short3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short3.

  • b[in] A abacus_short3.

  • c[in] A abacus_short3.

Returns

A abacus_short3.

inline abacus_short3 ABACUS_API select(abacus_short3 a, abacus_short3 b, abacus_short3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short3.

  • b[in] A abacus_short3.

  • c[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short3 ABACUS_EXPORT_API __abacus_select(abacus_short3 a, abacus_short3 b, abacus_ushort3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short3.

  • b[in] A abacus_short3.

  • c[in] A abacus_ushort3.

Returns

A abacus_short3.

inline abacus_short3 ABACUS_API select(abacus_short3 a, abacus_short3 b, abacus_ushort3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short3.

  • b[in] A abacus_short3.

  • c[in] A abacus_ushort3.

Returns

A abacus_short3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_select(abacus_ushort3 a, abacus_ushort3 b, abacus_short3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort3.

  • b[in] A abacus_ushort3.

  • c[in] A abacus_short3.

Returns

A abacus_ushort3.

inline abacus_ushort3 ABACUS_API select(abacus_ushort3 a, abacus_ushort3 b, abacus_short3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort3.

  • b[in] A abacus_ushort3.

  • c[in] A abacus_short3.

Returns

A abacus_ushort3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_select(abacus_ushort3 a, abacus_ushort3 b, abacus_ushort3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort3.

  • b[in] A abacus_ushort3.

  • c[in] A abacus_ushort3.

Returns

A abacus_ushort3.

inline abacus_ushort3 ABACUS_API select(abacus_ushort3 a, abacus_ushort3 b, abacus_ushort3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort3.

  • b[in] A abacus_ushort3.

  • c[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_short3 ABACUS_EXPORT_API __abacus_bitselect(abacus_short3 a, abacus_short3 b, abacus_short3 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_short3.

  • b[in] A abacus_short3.

  • c[in] A abacus_short3.

Returns

A abacus_short3.

inline abacus_short3 ABACUS_API bitselect(abacus_short3 a, abacus_short3 b, abacus_short3 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_short3.

  • b[in] A abacus_short3.

  • c[in] A abacus_short3.

Returns

A abacus_short3.

abacus_ushort3 ABACUS_EXPORT_API __abacus_bitselect(abacus_ushort3 a, abacus_ushort3 b, abacus_ushort3 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ushort3.

  • b[in] A abacus_ushort3.

  • c[in] A abacus_ushort3.

Returns

A abacus_ushort3.

inline abacus_ushort3 ABACUS_API bitselect(abacus_ushort3 a, abacus_ushort3 b, abacus_ushort3 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ushort3.

  • b[in] A abacus_ushort3.

  • c[in] A abacus_ushort3.

Returns

A abacus_ushort3.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_short3 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_short3 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_short3.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_short3 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short3.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_short3 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_short3.

Returns

A abacus_short3.

abacus_short4 ABACUS_EXPORT_API __abacus_select(abacus_short4 a, abacus_short4 b, abacus_short4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short4.

  • b[in] A abacus_short4.

  • c[in] A abacus_short4.

Returns

A abacus_short4.

inline abacus_short4 ABACUS_API select(abacus_short4 a, abacus_short4 b, abacus_short4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short4.

  • b[in] A abacus_short4.

  • c[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short4 ABACUS_EXPORT_API __abacus_select(abacus_short4 a, abacus_short4 b, abacus_ushort4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short4.

  • b[in] A abacus_short4.

  • c[in] A abacus_ushort4.

Returns

A abacus_short4.

inline abacus_short4 ABACUS_API select(abacus_short4 a, abacus_short4 b, abacus_ushort4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short4.

  • b[in] A abacus_short4.

  • c[in] A abacus_ushort4.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_select(abacus_ushort4 a, abacus_ushort4 b, abacus_short4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort4.

  • b[in] A abacus_ushort4.

  • c[in] A abacus_short4.

Returns

A abacus_ushort4.

inline abacus_ushort4 ABACUS_API select(abacus_ushort4 a, abacus_ushort4 b, abacus_short4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort4.

  • b[in] A abacus_ushort4.

  • c[in] A abacus_short4.

Returns

A abacus_ushort4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_select(abacus_ushort4 a, abacus_ushort4 b, abacus_ushort4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort4.

  • b[in] A abacus_ushort4.

  • c[in] A abacus_ushort4.

Returns

A abacus_ushort4.

inline abacus_ushort4 ABACUS_API select(abacus_ushort4 a, abacus_ushort4 b, abacus_ushort4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort4.

  • b[in] A abacus_ushort4.

  • c[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_short4 ABACUS_EXPORT_API __abacus_bitselect(abacus_short4 a, abacus_short4 b, abacus_short4 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_short4.

  • b[in] A abacus_short4.

  • c[in] A abacus_short4.

Returns

A abacus_short4.

inline abacus_short4 ABACUS_API bitselect(abacus_short4 a, abacus_short4 b, abacus_short4 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_short4.

  • b[in] A abacus_short4.

  • c[in] A abacus_short4.

Returns

A abacus_short4.

abacus_ushort4 ABACUS_EXPORT_API __abacus_bitselect(abacus_ushort4 a, abacus_ushort4 b, abacus_ushort4 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ushort4.

  • b[in] A abacus_ushort4.

  • c[in] A abacus_ushort4.

Returns

A abacus_ushort4.

inline abacus_ushort4 ABACUS_API bitselect(abacus_ushort4 a, abacus_ushort4 b, abacus_ushort4 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ushort4.

  • b[in] A abacus_ushort4.

  • c[in] A abacus_ushort4.

Returns

A abacus_ushort4.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_short4 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_short4 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_short4.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_short4 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short4.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_short4 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_short4.

Returns

A abacus_short4.

abacus_short8 ABACUS_EXPORT_API __abacus_select(abacus_short8 a, abacus_short8 b, abacus_short8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short8.

  • b[in] A abacus_short8.

  • c[in] A abacus_short8.

Returns

A abacus_short8.

inline abacus_short8 ABACUS_API select(abacus_short8 a, abacus_short8 b, abacus_short8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short8.

  • b[in] A abacus_short8.

  • c[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short8 ABACUS_EXPORT_API __abacus_select(abacus_short8 a, abacus_short8 b, abacus_ushort8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short8.

  • b[in] A abacus_short8.

  • c[in] A abacus_ushort8.

Returns

A abacus_short8.

inline abacus_short8 ABACUS_API select(abacus_short8 a, abacus_short8 b, abacus_ushort8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short8.

  • b[in] A abacus_short8.

  • c[in] A abacus_ushort8.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_select(abacus_ushort8 a, abacus_ushort8 b, abacus_short8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort8.

  • b[in] A abacus_ushort8.

  • c[in] A abacus_short8.

Returns

A abacus_ushort8.

inline abacus_ushort8 ABACUS_API select(abacus_ushort8 a, abacus_ushort8 b, abacus_short8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort8.

  • b[in] A abacus_ushort8.

  • c[in] A abacus_short8.

Returns

A abacus_ushort8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_select(abacus_ushort8 a, abacus_ushort8 b, abacus_ushort8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort8.

  • b[in] A abacus_ushort8.

  • c[in] A abacus_ushort8.

Returns

A abacus_ushort8.

inline abacus_ushort8 ABACUS_API select(abacus_ushort8 a, abacus_ushort8 b, abacus_ushort8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort8.

  • b[in] A abacus_ushort8.

  • c[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_short8 ABACUS_EXPORT_API __abacus_bitselect(abacus_short8 a, abacus_short8 b, abacus_short8 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_short8.

  • b[in] A abacus_short8.

  • c[in] A abacus_short8.

Returns

A abacus_short8.

inline abacus_short8 ABACUS_API bitselect(abacus_short8 a, abacus_short8 b, abacus_short8 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_short8.

  • b[in] A abacus_short8.

  • c[in] A abacus_short8.

Returns

A abacus_short8.

abacus_ushort8 ABACUS_EXPORT_API __abacus_bitselect(abacus_ushort8 a, abacus_ushort8 b, abacus_ushort8 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ushort8.

  • b[in] A abacus_ushort8.

  • c[in] A abacus_ushort8.

Returns

A abacus_ushort8.

inline abacus_ushort8 ABACUS_API bitselect(abacus_ushort8 a, abacus_ushort8 b, abacus_ushort8 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ushort8.

  • b[in] A abacus_ushort8.

  • c[in] A abacus_ushort8.

Returns

A abacus_ushort8.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_short8 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_short8 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_short8.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_short8 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short8.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_short8 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_short8.

Returns

A abacus_short8.

abacus_short16 ABACUS_EXPORT_API __abacus_select(abacus_short16 a, abacus_short16 b, abacus_short16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short16.

  • b[in] A abacus_short16.

  • c[in] A abacus_short16.

Returns

A abacus_short16.

inline abacus_short16 ABACUS_API select(abacus_short16 a, abacus_short16 b, abacus_short16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short16.

  • b[in] A abacus_short16.

  • c[in] A abacus_short16.

Returns

A abacus_short16.

abacus_short16 ABACUS_EXPORT_API __abacus_select(abacus_short16 a, abacus_short16 b, abacus_ushort16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_short16.

  • b[in] A abacus_short16.

  • c[in] A abacus_ushort16.

Returns

A abacus_short16.

inline abacus_short16 ABACUS_API select(abacus_short16 a, abacus_short16 b, abacus_ushort16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_short16.

  • b[in] A abacus_short16.

  • c[in] A abacus_ushort16.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_select(abacus_ushort16 a, abacus_ushort16 b, abacus_short16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort16.

  • b[in] A abacus_ushort16.

  • c[in] A abacus_short16.

Returns

A abacus_ushort16.

inline abacus_ushort16 ABACUS_API select(abacus_ushort16 a, abacus_ushort16 b, abacus_short16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort16.

  • b[in] A abacus_ushort16.

  • c[in] A abacus_short16.

Returns

A abacus_ushort16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_select(abacus_ushort16 a, abacus_ushort16 b, abacus_ushort16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ushort16.

  • b[in] A abacus_ushort16.

  • c[in] A abacus_ushort16.

Returns

A abacus_ushort16.

inline abacus_ushort16 ABACUS_API select(abacus_ushort16 a, abacus_ushort16 b, abacus_ushort16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ushort16.

  • b[in] A abacus_ushort16.

  • c[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_short16 ABACUS_EXPORT_API __abacus_bitselect(abacus_short16 a, abacus_short16 b, abacus_short16 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_short16.

  • b[in] A abacus_short16.

  • c[in] A abacus_short16.

Returns

A abacus_short16.

inline abacus_short16 ABACUS_API bitselect(abacus_short16 a, abacus_short16 b, abacus_short16 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_short16.

  • b[in] A abacus_short16.

  • c[in] A abacus_short16.

Returns

A abacus_short16.

abacus_ushort16 ABACUS_EXPORT_API __abacus_bitselect(abacus_ushort16 a, abacus_ushort16 b, abacus_ushort16 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ushort16.

  • b[in] A abacus_ushort16.

  • c[in] A abacus_ushort16.

Returns

A abacus_ushort16.

inline abacus_ushort16 ABACUS_API bitselect(abacus_ushort16 a, abacus_ushort16 b, abacus_ushort16 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ushort16.

  • b[in] A abacus_ushort16.

  • c[in] A abacus_ushort16.

Returns

A abacus_ushort16.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_short16 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_short16 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_short16.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_short16 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_short16.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_short16 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_short16.

Returns

A abacus_short16.

abacus_int ABACUS_EXPORT_API __abacus_select(abacus_int a, abacus_int b, abacus_int c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int.

  • b[in] A abacus_int.

  • c[in] A abacus_int.

Returns

A abacus_int.

inline abacus_int ABACUS_API select(abacus_int a, abacus_int b, abacus_int c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int.

  • b[in] A abacus_int.

  • c[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_select(abacus_int a, abacus_int b, abacus_uint c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int.

  • b[in] A abacus_int.

  • c[in] A abacus_uint.

Returns

A abacus_int.

inline abacus_int ABACUS_API select(abacus_int a, abacus_int b, abacus_uint c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int.

  • b[in] A abacus_int.

  • c[in] A abacus_uint.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_select(abacus_uint a, abacus_uint b, abacus_int c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint.

  • b[in] A abacus_uint.

  • c[in] A abacus_int.

Returns

A abacus_uint.

inline abacus_uint ABACUS_API select(abacus_uint a, abacus_uint b, abacus_int c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint.

  • b[in] A abacus_uint.

  • c[in] A abacus_int.

Returns

A abacus_uint.

abacus_uint ABACUS_EXPORT_API __abacus_select(abacus_uint a, abacus_uint b, abacus_uint c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint.

  • b[in] A abacus_uint.

  • c[in] A abacus_uint.

Returns

A abacus_uint.

inline abacus_uint ABACUS_API select(abacus_uint a, abacus_uint b, abacus_uint c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint.

  • b[in] A abacus_uint.

  • c[in] A abacus_uint.

Returns

A abacus_uint.

abacus_int ABACUS_EXPORT_API __abacus_bitselect(abacus_int a, abacus_int b, abacus_int c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_int.

  • b[in] A abacus_int.

  • c[in] A abacus_int.

Returns

A abacus_int.

inline abacus_int ABACUS_API bitselect(abacus_int a, abacus_int b, abacus_int c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_int.

  • b[in] A abacus_int.

  • c[in] A abacus_int.

Returns

A abacus_int.

abacus_uint ABACUS_EXPORT_API __abacus_bitselect(abacus_uint a, abacus_uint b, abacus_uint c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uint.

  • b[in] A abacus_uint.

  • c[in] A abacus_uint.

Returns

A abacus_uint.

inline abacus_uint ABACUS_API bitselect(abacus_uint a, abacus_uint b, abacus_uint c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uint.

  • b[in] A abacus_uint.

  • c[in] A abacus_uint.

Returns

A abacus_uint.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_int x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_int x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_int x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_int x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_int.

Returns

A abacus_int.

abacus_int2 ABACUS_EXPORT_API __abacus_select(abacus_int2 a, abacus_int2 b, abacus_int2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int2.

  • b[in] A abacus_int2.

  • c[in] A abacus_int2.

Returns

A abacus_int2.

inline abacus_int2 ABACUS_API select(abacus_int2 a, abacus_int2 b, abacus_int2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int2.

  • b[in] A abacus_int2.

  • c[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int2 ABACUS_EXPORT_API __abacus_select(abacus_int2 a, abacus_int2 b, abacus_uint2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int2.

  • b[in] A abacus_int2.

  • c[in] A abacus_uint2.

Returns

A abacus_int2.

inline abacus_int2 ABACUS_API select(abacus_int2 a, abacus_int2 b, abacus_uint2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int2.

  • b[in] A abacus_int2.

  • c[in] A abacus_uint2.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_select(abacus_uint2 a, abacus_uint2 b, abacus_int2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint2.

  • b[in] A abacus_uint2.

  • c[in] A abacus_int2.

Returns

A abacus_uint2.

inline abacus_uint2 ABACUS_API select(abacus_uint2 a, abacus_uint2 b, abacus_int2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint2.

  • b[in] A abacus_uint2.

  • c[in] A abacus_int2.

Returns

A abacus_uint2.

abacus_uint2 ABACUS_EXPORT_API __abacus_select(abacus_uint2 a, abacus_uint2 b, abacus_uint2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint2.

  • b[in] A abacus_uint2.

  • c[in] A abacus_uint2.

Returns

A abacus_uint2.

inline abacus_uint2 ABACUS_API select(abacus_uint2 a, abacus_uint2 b, abacus_uint2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint2.

  • b[in] A abacus_uint2.

  • c[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_int2 ABACUS_EXPORT_API __abacus_bitselect(abacus_int2 a, abacus_int2 b, abacus_int2 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_int2.

  • b[in] A abacus_int2.

  • c[in] A abacus_int2.

Returns

A abacus_int2.

inline abacus_int2 ABACUS_API bitselect(abacus_int2 a, abacus_int2 b, abacus_int2 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_int2.

  • b[in] A abacus_int2.

  • c[in] A abacus_int2.

Returns

A abacus_int2.

abacus_uint2 ABACUS_EXPORT_API __abacus_bitselect(abacus_uint2 a, abacus_uint2 b, abacus_uint2 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uint2.

  • b[in] A abacus_uint2.

  • c[in] A abacus_uint2.

Returns

A abacus_uint2.

inline abacus_uint2 ABACUS_API bitselect(abacus_uint2 a, abacus_uint2 b, abacus_uint2 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uint2.

  • b[in] A abacus_uint2.

  • c[in] A abacus_uint2.

Returns

A abacus_uint2.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_int2 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_int2 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_int2.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_int2 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int2.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_int2 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_int2.

Returns

A abacus_int2.

abacus_int3 ABACUS_EXPORT_API __abacus_select(abacus_int3 a, abacus_int3 b, abacus_int3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int3.

  • b[in] A abacus_int3.

  • c[in] A abacus_int3.

Returns

A abacus_int3.

inline abacus_int3 ABACUS_API select(abacus_int3 a, abacus_int3 b, abacus_int3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int3.

  • b[in] A abacus_int3.

  • c[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int3 ABACUS_EXPORT_API __abacus_select(abacus_int3 a, abacus_int3 b, abacus_uint3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int3.

  • b[in] A abacus_int3.

  • c[in] A abacus_uint3.

Returns

A abacus_int3.

inline abacus_int3 ABACUS_API select(abacus_int3 a, abacus_int3 b, abacus_uint3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int3.

  • b[in] A abacus_int3.

  • c[in] A abacus_uint3.

Returns

A abacus_int3.

abacus_uint3 ABACUS_EXPORT_API __abacus_select(abacus_uint3 a, abacus_uint3 b, abacus_int3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint3.

  • b[in] A abacus_uint3.

  • c[in] A abacus_int3.

Returns

A abacus_uint3.

inline abacus_uint3 ABACUS_API select(abacus_uint3 a, abacus_uint3 b, abacus_int3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint3.

  • b[in] A abacus_uint3.

  • c[in] A abacus_int3.

Returns

A abacus_uint3.

abacus_uint3 ABACUS_EXPORT_API __abacus_select(abacus_uint3 a, abacus_uint3 b, abacus_uint3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint3.

  • b[in] A abacus_uint3.

  • c[in] A abacus_uint3.

Returns

A abacus_uint3.

inline abacus_uint3 ABACUS_API select(abacus_uint3 a, abacus_uint3 b, abacus_uint3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint3.

  • b[in] A abacus_uint3.

  • c[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_int3 ABACUS_EXPORT_API __abacus_bitselect(abacus_int3 a, abacus_int3 b, abacus_int3 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_int3.

  • b[in] A abacus_int3.

  • c[in] A abacus_int3.

Returns

A abacus_int3.

inline abacus_int3 ABACUS_API bitselect(abacus_int3 a, abacus_int3 b, abacus_int3 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_int3.

  • b[in] A abacus_int3.

  • c[in] A abacus_int3.

Returns

A abacus_int3.

abacus_uint3 ABACUS_EXPORT_API __abacus_bitselect(abacus_uint3 a, abacus_uint3 b, abacus_uint3 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uint3.

  • b[in] A abacus_uint3.

  • c[in] A abacus_uint3.

Returns

A abacus_uint3.

inline abacus_uint3 ABACUS_API bitselect(abacus_uint3 a, abacus_uint3 b, abacus_uint3 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uint3.

  • b[in] A abacus_uint3.

  • c[in] A abacus_uint3.

Returns

A abacus_uint3.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_int3 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_int3 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_int3.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_int3 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int3.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_int3 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_int3.

Returns

A abacus_int3.

abacus_int4 ABACUS_EXPORT_API __abacus_select(abacus_int4 a, abacus_int4 b, abacus_int4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int4.

  • b[in] A abacus_int4.

  • c[in] A abacus_int4.

Returns

A abacus_int4.

inline abacus_int4 ABACUS_API select(abacus_int4 a, abacus_int4 b, abacus_int4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int4.

  • b[in] A abacus_int4.

  • c[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int4 ABACUS_EXPORT_API __abacus_select(abacus_int4 a, abacus_int4 b, abacus_uint4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int4.

  • b[in] A abacus_int4.

  • c[in] A abacus_uint4.

Returns

A abacus_int4.

inline abacus_int4 ABACUS_API select(abacus_int4 a, abacus_int4 b, abacus_uint4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int4.

  • b[in] A abacus_int4.

  • c[in] A abacus_uint4.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_select(abacus_uint4 a, abacus_uint4 b, abacus_int4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint4.

  • b[in] A abacus_uint4.

  • c[in] A abacus_int4.

Returns

A abacus_uint4.

inline abacus_uint4 ABACUS_API select(abacus_uint4 a, abacus_uint4 b, abacus_int4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint4.

  • b[in] A abacus_uint4.

  • c[in] A abacus_int4.

Returns

A abacus_uint4.

abacus_uint4 ABACUS_EXPORT_API __abacus_select(abacus_uint4 a, abacus_uint4 b, abacus_uint4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint4.

  • b[in] A abacus_uint4.

  • c[in] A abacus_uint4.

Returns

A abacus_uint4.

inline abacus_uint4 ABACUS_API select(abacus_uint4 a, abacus_uint4 b, abacus_uint4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint4.

  • b[in] A abacus_uint4.

  • c[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_int4 ABACUS_EXPORT_API __abacus_bitselect(abacus_int4 a, abacus_int4 b, abacus_int4 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_int4.

  • b[in] A abacus_int4.

  • c[in] A abacus_int4.

Returns

A abacus_int4.

inline abacus_int4 ABACUS_API bitselect(abacus_int4 a, abacus_int4 b, abacus_int4 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_int4.

  • b[in] A abacus_int4.

  • c[in] A abacus_int4.

Returns

A abacus_int4.

abacus_uint4 ABACUS_EXPORT_API __abacus_bitselect(abacus_uint4 a, abacus_uint4 b, abacus_uint4 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uint4.

  • b[in] A abacus_uint4.

  • c[in] A abacus_uint4.

Returns

A abacus_uint4.

inline abacus_uint4 ABACUS_API bitselect(abacus_uint4 a, abacus_uint4 b, abacus_uint4 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uint4.

  • b[in] A abacus_uint4.

  • c[in] A abacus_uint4.

Returns

A abacus_uint4.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_int4 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_int4 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_int4.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_int4 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int4.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_int4 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_int4.

Returns

A abacus_int4.

abacus_int8 ABACUS_EXPORT_API __abacus_select(abacus_int8 a, abacus_int8 b, abacus_int8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int8.

  • b[in] A abacus_int8.

  • c[in] A abacus_int8.

Returns

A abacus_int8.

inline abacus_int8 ABACUS_API select(abacus_int8 a, abacus_int8 b, abacus_int8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int8.

  • b[in] A abacus_int8.

  • c[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int8 ABACUS_EXPORT_API __abacus_select(abacus_int8 a, abacus_int8 b, abacus_uint8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int8.

  • b[in] A abacus_int8.

  • c[in] A abacus_uint8.

Returns

A abacus_int8.

inline abacus_int8 ABACUS_API select(abacus_int8 a, abacus_int8 b, abacus_uint8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int8.

  • b[in] A abacus_int8.

  • c[in] A abacus_uint8.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_select(abacus_uint8 a, abacus_uint8 b, abacus_int8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint8.

  • b[in] A abacus_uint8.

  • c[in] A abacus_int8.

Returns

A abacus_uint8.

inline abacus_uint8 ABACUS_API select(abacus_uint8 a, abacus_uint8 b, abacus_int8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint8.

  • b[in] A abacus_uint8.

  • c[in] A abacus_int8.

Returns

A abacus_uint8.

abacus_uint8 ABACUS_EXPORT_API __abacus_select(abacus_uint8 a, abacus_uint8 b, abacus_uint8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint8.

  • b[in] A abacus_uint8.

  • c[in] A abacus_uint8.

Returns

A abacus_uint8.

inline abacus_uint8 ABACUS_API select(abacus_uint8 a, abacus_uint8 b, abacus_uint8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint8.

  • b[in] A abacus_uint8.

  • c[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_int8 ABACUS_EXPORT_API __abacus_bitselect(abacus_int8 a, abacus_int8 b, abacus_int8 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_int8.

  • b[in] A abacus_int8.

  • c[in] A abacus_int8.

Returns

A abacus_int8.

inline abacus_int8 ABACUS_API bitselect(abacus_int8 a, abacus_int8 b, abacus_int8 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_int8.

  • b[in] A abacus_int8.

  • c[in] A abacus_int8.

Returns

A abacus_int8.

abacus_uint8 ABACUS_EXPORT_API __abacus_bitselect(abacus_uint8 a, abacus_uint8 b, abacus_uint8 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uint8.

  • b[in] A abacus_uint8.

  • c[in] A abacus_uint8.

Returns

A abacus_uint8.

inline abacus_uint8 ABACUS_API bitselect(abacus_uint8 a, abacus_uint8 b, abacus_uint8 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uint8.

  • b[in] A abacus_uint8.

  • c[in] A abacus_uint8.

Returns

A abacus_uint8.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_int8 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_int8 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_int8.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_int8 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int8.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_int8 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_int8.

Returns

A abacus_int8.

abacus_int16 ABACUS_EXPORT_API __abacus_select(abacus_int16 a, abacus_int16 b, abacus_int16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int16.

  • b[in] A abacus_int16.

  • c[in] A abacus_int16.

Returns

A abacus_int16.

inline abacus_int16 ABACUS_API select(abacus_int16 a, abacus_int16 b, abacus_int16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int16.

  • b[in] A abacus_int16.

  • c[in] A abacus_int16.

Returns

A abacus_int16.

abacus_int16 ABACUS_EXPORT_API __abacus_select(abacus_int16 a, abacus_int16 b, abacus_uint16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_int16.

  • b[in] A abacus_int16.

  • c[in] A abacus_uint16.

Returns

A abacus_int16.

inline abacus_int16 ABACUS_API select(abacus_int16 a, abacus_int16 b, abacus_uint16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_int16.

  • b[in] A abacus_int16.

  • c[in] A abacus_uint16.

Returns

A abacus_int16.

abacus_uint16 ABACUS_EXPORT_API __abacus_select(abacus_uint16 a, abacus_uint16 b, abacus_int16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint16.

  • b[in] A abacus_uint16.

  • c[in] A abacus_int16.

Returns

A abacus_uint16.

inline abacus_uint16 ABACUS_API select(abacus_uint16 a, abacus_uint16 b, abacus_int16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint16.

  • b[in] A abacus_uint16.

  • c[in] A abacus_int16.

Returns

A abacus_uint16.

abacus_uint16 ABACUS_EXPORT_API __abacus_select(abacus_uint16 a, abacus_uint16 b, abacus_uint16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_uint16.

  • b[in] A abacus_uint16.

  • c[in] A abacus_uint16.

Returns

A abacus_uint16.

inline abacus_uint16 ABACUS_API select(abacus_uint16 a, abacus_uint16 b, abacus_uint16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_uint16.

  • b[in] A abacus_uint16.

  • c[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_int16 ABACUS_EXPORT_API __abacus_bitselect(abacus_int16 a, abacus_int16 b, abacus_int16 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_int16.

  • b[in] A abacus_int16.

  • c[in] A abacus_int16.

Returns

A abacus_int16.

inline abacus_int16 ABACUS_API bitselect(abacus_int16 a, abacus_int16 b, abacus_int16 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_int16.

  • b[in] A abacus_int16.

  • c[in] A abacus_int16.

Returns

A abacus_int16.

abacus_uint16 ABACUS_EXPORT_API __abacus_bitselect(abacus_uint16 a, abacus_uint16 b, abacus_uint16 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_uint16.

  • b[in] A abacus_uint16.

  • c[in] A abacus_uint16.

Returns

A abacus_uint16.

inline abacus_uint16 ABACUS_API bitselect(abacus_uint16 a, abacus_uint16 b, abacus_uint16 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_uint16.

  • b[in] A abacus_uint16.

  • c[in] A abacus_uint16.

Returns

A abacus_uint16.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_int16 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_int16 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_int16.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_int16 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_int16.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_int16 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_int16.

Returns

A abacus_int16.

abacus_long ABACUS_EXPORT_API __abacus_select(abacus_long a, abacus_long b, abacus_long c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long.

  • b[in] A abacus_long.

  • c[in] A abacus_long.

Returns

A abacus_long.

inline abacus_long ABACUS_API select(abacus_long a, abacus_long b, abacus_long c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long.

  • b[in] A abacus_long.

  • c[in] A abacus_long.

Returns

A abacus_long.

abacus_long ABACUS_EXPORT_API __abacus_select(abacus_long a, abacus_long b, abacus_ulong c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long.

  • b[in] A abacus_long.

  • c[in] A abacus_ulong.

Returns

A abacus_long.

inline abacus_long ABACUS_API select(abacus_long a, abacus_long b, abacus_ulong c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long.

  • b[in] A abacus_long.

  • c[in] A abacus_ulong.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_select(abacus_ulong a, abacus_ulong b, abacus_long c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong.

  • b[in] A abacus_ulong.

  • c[in] A abacus_long.

Returns

A abacus_ulong.

inline abacus_ulong ABACUS_API select(abacus_ulong a, abacus_ulong b, abacus_long c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong.

  • b[in] A abacus_ulong.

  • c[in] A abacus_long.

Returns

A abacus_ulong.

abacus_ulong ABACUS_EXPORT_API __abacus_select(abacus_ulong a, abacus_ulong b, abacus_ulong c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong.

  • b[in] A abacus_ulong.

  • c[in] A abacus_ulong.

Returns

A abacus_ulong.

inline abacus_ulong ABACUS_API select(abacus_ulong a, abacus_ulong b, abacus_ulong c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong.

  • b[in] A abacus_ulong.

  • c[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_long ABACUS_EXPORT_API __abacus_bitselect(abacus_long a, abacus_long b, abacus_long c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_long.

  • b[in] A abacus_long.

  • c[in] A abacus_long.

Returns

A abacus_long.

inline abacus_long ABACUS_API bitselect(abacus_long a, abacus_long b, abacus_long c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_long.

  • b[in] A abacus_long.

  • c[in] A abacus_long.

Returns

A abacus_long.

abacus_ulong ABACUS_EXPORT_API __abacus_bitselect(abacus_ulong a, abacus_ulong b, abacus_ulong c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ulong.

  • b[in] A abacus_ulong.

  • c[in] A abacus_ulong.

Returns

A abacus_ulong.

inline abacus_ulong ABACUS_API bitselect(abacus_ulong a, abacus_ulong b, abacus_ulong c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ulong.

  • b[in] A abacus_ulong.

  • c[in] A abacus_ulong.

Returns

A abacus_ulong.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_long x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_long x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_long x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_long x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_long.

Returns

A abacus_long.

abacus_long2 ABACUS_EXPORT_API __abacus_select(abacus_long2 a, abacus_long2 b, abacus_long2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long2.

  • b[in] A abacus_long2.

  • c[in] A abacus_long2.

Returns

A abacus_long2.

inline abacus_long2 ABACUS_API select(abacus_long2 a, abacus_long2 b, abacus_long2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long2.

  • b[in] A abacus_long2.

  • c[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long2 ABACUS_EXPORT_API __abacus_select(abacus_long2 a, abacus_long2 b, abacus_ulong2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long2.

  • b[in] A abacus_long2.

  • c[in] A abacus_ulong2.

Returns

A abacus_long2.

inline abacus_long2 ABACUS_API select(abacus_long2 a, abacus_long2 b, abacus_ulong2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long2.

  • b[in] A abacus_long2.

  • c[in] A abacus_ulong2.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_select(abacus_ulong2 a, abacus_ulong2 b, abacus_long2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong2.

  • b[in] A abacus_ulong2.

  • c[in] A abacus_long2.

Returns

A abacus_ulong2.

inline abacus_ulong2 ABACUS_API select(abacus_ulong2 a, abacus_ulong2 b, abacus_long2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong2.

  • b[in] A abacus_ulong2.

  • c[in] A abacus_long2.

Returns

A abacus_ulong2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_select(abacus_ulong2 a, abacus_ulong2 b, abacus_ulong2 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong2.

  • b[in] A abacus_ulong2.

  • c[in] A abacus_ulong2.

Returns

A abacus_ulong2.

inline abacus_ulong2 ABACUS_API select(abacus_ulong2 a, abacus_ulong2 b, abacus_ulong2 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong2.

  • b[in] A abacus_ulong2.

  • c[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_long2 ABACUS_EXPORT_API __abacus_bitselect(abacus_long2 a, abacus_long2 b, abacus_long2 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_long2.

  • b[in] A abacus_long2.

  • c[in] A abacus_long2.

Returns

A abacus_long2.

inline abacus_long2 ABACUS_API bitselect(abacus_long2 a, abacus_long2 b, abacus_long2 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_long2.

  • b[in] A abacus_long2.

  • c[in] A abacus_long2.

Returns

A abacus_long2.

abacus_ulong2 ABACUS_EXPORT_API __abacus_bitselect(abacus_ulong2 a, abacus_ulong2 b, abacus_ulong2 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ulong2.

  • b[in] A abacus_ulong2.

  • c[in] A abacus_ulong2.

Returns

A abacus_ulong2.

inline abacus_ulong2 ABACUS_API bitselect(abacus_ulong2 a, abacus_ulong2 b, abacus_ulong2 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ulong2.

  • b[in] A abacus_ulong2.

  • c[in] A abacus_ulong2.

Returns

A abacus_ulong2.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_long2 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_long2 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_long2.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_long2 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long2.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_long2 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_long2.

Returns

A abacus_long2.

abacus_long3 ABACUS_EXPORT_API __abacus_select(abacus_long3 a, abacus_long3 b, abacus_long3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long3.

  • b[in] A abacus_long3.

  • c[in] A abacus_long3.

Returns

A abacus_long3.

inline abacus_long3 ABACUS_API select(abacus_long3 a, abacus_long3 b, abacus_long3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long3.

  • b[in] A abacus_long3.

  • c[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long3 ABACUS_EXPORT_API __abacus_select(abacus_long3 a, abacus_long3 b, abacus_ulong3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long3.

  • b[in] A abacus_long3.

  • c[in] A abacus_ulong3.

Returns

A abacus_long3.

inline abacus_long3 ABACUS_API select(abacus_long3 a, abacus_long3 b, abacus_ulong3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long3.

  • b[in] A abacus_long3.

  • c[in] A abacus_ulong3.

Returns

A abacus_long3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_select(abacus_ulong3 a, abacus_ulong3 b, abacus_long3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong3.

  • b[in] A abacus_ulong3.

  • c[in] A abacus_long3.

Returns

A abacus_ulong3.

inline abacus_ulong3 ABACUS_API select(abacus_ulong3 a, abacus_ulong3 b, abacus_long3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong3.

  • b[in] A abacus_ulong3.

  • c[in] A abacus_long3.

Returns

A abacus_ulong3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_select(abacus_ulong3 a, abacus_ulong3 b, abacus_ulong3 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong3.

  • b[in] A abacus_ulong3.

  • c[in] A abacus_ulong3.

Returns

A abacus_ulong3.

inline abacus_ulong3 ABACUS_API select(abacus_ulong3 a, abacus_ulong3 b, abacus_ulong3 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong3.

  • b[in] A abacus_ulong3.

  • c[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_long3 ABACUS_EXPORT_API __abacus_bitselect(abacus_long3 a, abacus_long3 b, abacus_long3 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_long3.

  • b[in] A abacus_long3.

  • c[in] A abacus_long3.

Returns

A abacus_long3.

inline abacus_long3 ABACUS_API bitselect(abacus_long3 a, abacus_long3 b, abacus_long3 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_long3.

  • b[in] A abacus_long3.

  • c[in] A abacus_long3.

Returns

A abacus_long3.

abacus_ulong3 ABACUS_EXPORT_API __abacus_bitselect(abacus_ulong3 a, abacus_ulong3 b, abacus_ulong3 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ulong3.

  • b[in] A abacus_ulong3.

  • c[in] A abacus_ulong3.

Returns

A abacus_ulong3.

inline abacus_ulong3 ABACUS_API bitselect(abacus_ulong3 a, abacus_ulong3 b, abacus_ulong3 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ulong3.

  • b[in] A abacus_ulong3.

  • c[in] A abacus_ulong3.

Returns

A abacus_ulong3.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_long3 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_long3 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_long3.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_long3 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long3.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_long3 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_long3.

Returns

A abacus_long3.

abacus_long4 ABACUS_EXPORT_API __abacus_select(abacus_long4 a, abacus_long4 b, abacus_long4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long4.

  • b[in] A abacus_long4.

  • c[in] A abacus_long4.

Returns

A abacus_long4.

inline abacus_long4 ABACUS_API select(abacus_long4 a, abacus_long4 b, abacus_long4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long4.

  • b[in] A abacus_long4.

  • c[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long4 ABACUS_EXPORT_API __abacus_select(abacus_long4 a, abacus_long4 b, abacus_ulong4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long4.

  • b[in] A abacus_long4.

  • c[in] A abacus_ulong4.

Returns

A abacus_long4.

inline abacus_long4 ABACUS_API select(abacus_long4 a, abacus_long4 b, abacus_ulong4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long4.

  • b[in] A abacus_long4.

  • c[in] A abacus_ulong4.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_select(abacus_ulong4 a, abacus_ulong4 b, abacus_long4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong4.

  • b[in] A abacus_ulong4.

  • c[in] A abacus_long4.

Returns

A abacus_ulong4.

inline abacus_ulong4 ABACUS_API select(abacus_ulong4 a, abacus_ulong4 b, abacus_long4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong4.

  • b[in] A abacus_ulong4.

  • c[in] A abacus_long4.

Returns

A abacus_ulong4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_select(abacus_ulong4 a, abacus_ulong4 b, abacus_ulong4 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong4.

  • b[in] A abacus_ulong4.

  • c[in] A abacus_ulong4.

Returns

A abacus_ulong4.

inline abacus_ulong4 ABACUS_API select(abacus_ulong4 a, abacus_ulong4 b, abacus_ulong4 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong4.

  • b[in] A abacus_ulong4.

  • c[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_long4 ABACUS_EXPORT_API __abacus_bitselect(abacus_long4 a, abacus_long4 b, abacus_long4 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_long4.

  • b[in] A abacus_long4.

  • c[in] A abacus_long4.

Returns

A abacus_long4.

inline abacus_long4 ABACUS_API bitselect(abacus_long4 a, abacus_long4 b, abacus_long4 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_long4.

  • b[in] A abacus_long4.

  • c[in] A abacus_long4.

Returns

A abacus_long4.

abacus_ulong4 ABACUS_EXPORT_API __abacus_bitselect(abacus_ulong4 a, abacus_ulong4 b, abacus_ulong4 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ulong4.

  • b[in] A abacus_ulong4.

  • c[in] A abacus_ulong4.

Returns

A abacus_ulong4.

inline abacus_ulong4 ABACUS_API bitselect(abacus_ulong4 a, abacus_ulong4 b, abacus_ulong4 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ulong4.

  • b[in] A abacus_ulong4.

  • c[in] A abacus_ulong4.

Returns

A abacus_ulong4.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_long4 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_long4 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_long4.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_long4 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long4.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_long4 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_long4.

Returns

A abacus_long4.

abacus_long8 ABACUS_EXPORT_API __abacus_select(abacus_long8 a, abacus_long8 b, abacus_long8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long8.

  • b[in] A abacus_long8.

  • c[in] A abacus_long8.

Returns

A abacus_long8.

inline abacus_long8 ABACUS_API select(abacus_long8 a, abacus_long8 b, abacus_long8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long8.

  • b[in] A abacus_long8.

  • c[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long8 ABACUS_EXPORT_API __abacus_select(abacus_long8 a, abacus_long8 b, abacus_ulong8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long8.

  • b[in] A abacus_long8.

  • c[in] A abacus_ulong8.

Returns

A abacus_long8.

inline abacus_long8 ABACUS_API select(abacus_long8 a, abacus_long8 b, abacus_ulong8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long8.

  • b[in] A abacus_long8.

  • c[in] A abacus_ulong8.

Returns

A abacus_long8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_select(abacus_ulong8 a, abacus_ulong8 b, abacus_long8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong8.

  • b[in] A abacus_ulong8.

  • c[in] A abacus_long8.

Returns

A abacus_ulong8.

inline abacus_ulong8 ABACUS_API select(abacus_ulong8 a, abacus_ulong8 b, abacus_long8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong8.

  • b[in] A abacus_ulong8.

  • c[in] A abacus_long8.

Returns

A abacus_ulong8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_select(abacus_ulong8 a, abacus_ulong8 b, abacus_ulong8 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong8.

  • b[in] A abacus_ulong8.

  • c[in] A abacus_ulong8.

Returns

A abacus_ulong8.

inline abacus_ulong8 ABACUS_API select(abacus_ulong8 a, abacus_ulong8 b, abacus_ulong8 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong8.

  • b[in] A abacus_ulong8.

  • c[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_long8 ABACUS_EXPORT_API __abacus_bitselect(abacus_long8 a, abacus_long8 b, abacus_long8 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_long8.

  • b[in] A abacus_long8.

  • c[in] A abacus_long8.

Returns

A abacus_long8.

inline abacus_long8 ABACUS_API bitselect(abacus_long8 a, abacus_long8 b, abacus_long8 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_long8.

  • b[in] A abacus_long8.

  • c[in] A abacus_long8.

Returns

A abacus_long8.

abacus_ulong8 ABACUS_EXPORT_API __abacus_bitselect(abacus_ulong8 a, abacus_ulong8 b, abacus_ulong8 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ulong8.

  • b[in] A abacus_ulong8.

  • c[in] A abacus_ulong8.

Returns

A abacus_ulong8.

inline abacus_ulong8 ABACUS_API bitselect(abacus_ulong8 a, abacus_ulong8 b, abacus_ulong8 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ulong8.

  • b[in] A abacus_ulong8.

  • c[in] A abacus_ulong8.

Returns

A abacus_ulong8.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_long8 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_long8 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_long8.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_long8 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long8.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_long8 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_long8.

Returns

A abacus_long8.

abacus_long16 ABACUS_EXPORT_API __abacus_select(abacus_long16 a, abacus_long16 b, abacus_long16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long16.

  • b[in] A abacus_long16.

  • c[in] A abacus_long16.

Returns

A abacus_long16.

inline abacus_long16 ABACUS_API select(abacus_long16 a, abacus_long16 b, abacus_long16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long16.

  • b[in] A abacus_long16.

  • c[in] A abacus_long16.

Returns

A abacus_long16.

abacus_long16 ABACUS_EXPORT_API __abacus_select(abacus_long16 a, abacus_long16 b, abacus_ulong16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_long16.

  • b[in] A abacus_long16.

  • c[in] A abacus_ulong16.

Returns

A abacus_long16.

inline abacus_long16 ABACUS_API select(abacus_long16 a, abacus_long16 b, abacus_ulong16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_long16.

  • b[in] A abacus_long16.

  • c[in] A abacus_ulong16.

Returns

A abacus_long16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_select(abacus_ulong16 a, abacus_ulong16 b, abacus_long16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong16.

  • b[in] A abacus_ulong16.

  • c[in] A abacus_long16.

Returns

A abacus_ulong16.

inline abacus_ulong16 ABACUS_API select(abacus_ulong16 a, abacus_ulong16 b, abacus_long16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong16.

  • b[in] A abacus_ulong16.

  • c[in] A abacus_long16.

Returns

A abacus_ulong16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_select(abacus_ulong16 a, abacus_ulong16 b, abacus_ulong16 c)

Select from a and b, based on most significant bit of c.

For each component of a vector type, result[i] = if most significant bit of c[i] is set ? b[i] : a[i] For scalar type, result = c ? b : a.

Standards compliant implementation of OpenCL 1.2 select.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/select.html

Parameters
  • a[in] A abacus_ulong16.

  • b[in] A abacus_ulong16.

  • c[in] A abacus_ulong16.

Returns

A abacus_ulong16.

inline abacus_ulong16 ABACUS_API select(abacus_ulong16 a, abacus_ulong16 b, abacus_ulong16 c)

Wrapper for __abacus_select.

Parameters
  • a[in] A abacus_ulong16.

  • b[in] A abacus_ulong16.

  • c[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_long16 ABACUS_EXPORT_API __abacus_bitselect(abacus_long16 a, abacus_long16 b, abacus_long16 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_long16.

  • b[in] A abacus_long16.

  • c[in] A abacus_long16.

Returns

A abacus_long16.

inline abacus_long16 ABACUS_API bitselect(abacus_long16 a, abacus_long16 b, abacus_long16 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_long16.

  • b[in] A abacus_long16.

  • c[in] A abacus_long16.

Returns

A abacus_long16.

abacus_ulong16 ABACUS_EXPORT_API __abacus_bitselect(abacus_ulong16 a, abacus_ulong16 b, abacus_ulong16 c)

Bit select from a and b, based on bits in c.

Each bit of result is corresponding bit of a if corresponding bit of c is 0.

Standards compliant implementation of OpenCL 1.2 bitselect.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/bitselect.html

Parameters
  • a[in] A abacus_ulong16.

  • b[in] A abacus_ulong16.

  • c[in] A abacus_ulong16.

Returns

A abacus_ulong16.

inline abacus_ulong16 ABACUS_API bitselect(abacus_ulong16 a, abacus_ulong16 b, abacus_ulong16 c)

Wrapper for __abacus_bitselect.

Parameters
  • a[in] A abacus_ulong16.

  • b[in] A abacus_ulong16.

  • c[in] A abacus_ulong16.

Returns

A abacus_ulong16.

abacus_int ABACUS_EXPORT_API __abacus_any(abacus_long16 x)

Any most significant bit is set.

Any of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 any.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int.

inline abacus_int ABACUS_API any(abacus_long16 x)

Wrapper for __abacus_any.

Parameters

x[in] A abacus_long16.

Returns

A abacus_int.

abacus_int ABACUS_EXPORT_API __abacus_all(abacus_long16 x)

All most significant bit is set.

All of the elements in x have most significant bit set.

Standards compliant implementation of OpenCL 1.2 all.

See

https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/any.html

Parameters

x[in] A abacus_long16.

Returns

A abacus_int.

inline abacus_int ABACUS_API all(abacus_long16 x)

Wrapper for __abacus_all.

Parameters

x[in] A abacus_long16.

Returns

A abacus_long16.

abacus type traits

Warning

doxygengroup: Cannot find group “abacus_type_traits” in doxygen xml output for project “ComputeAorta” from directory: /home/runner/work/oneapi-construction-kit/oneapi-construction-kit/build_doc/doc/doxygen/xml

libimg

group libimg

The types and functions encapsulating the host API’s.

Host side image validation API.

Definitions and types shared by the the host and kernel API’s.

Function definitions encapsulating the kernel API.

Defines

IMG_ASSERT(CONDITION, MESSAGE)

Ensure the condition is true, otherwise abort. Disabled by NDEBUG.

Parameters
  • CONDITION – Expression to evaluate and ensure is true.

  • MESSAGE – A human readable message describing the failure.

IMG_UNREACHABLE(MESSAGE)

Abort due to a situation that should never happen. Disabled by NDEBUG.

Parameters
  • MESSAGE – A human readable message describing the failure.

IMG_CHECK(CONDITION, ACTION)

Check that the condition is false, otherwise perform the action.

Parameters
  • CONDITION – Expression to evaluate and check it is true.

  • ACTION – Commands to be executed in event of a true condition.

Typedefs

typedef uint32_t HostSampler

Sampler is a 32-bit bitfield, that ors together filtering mode, addressing mode and normalized coordinates. In image library represented as uint32_t.

typedef libimg::UInt Sampler

Sampler, image_library’s representation of sampler.

Enums

enum RawDataStorage

Enumeration of image data storage types, this is OpenCL specific.

Enable representation of cl_mem_object_image1d_buffer and OpenCL 2.x 2D images using other images as their raw data providers.

Values:

enumerator kRawDataStorageInternal

Raw data stored internally directly next to meta data.

enumerator kRawDataStorageExternal

Raw data stored in externally provided memory.

Functions

HostImage *HostCreateImage(const cl_mem_flags flags, const cl_image_format &image_format, const cl_image_desc &image_desc, void *ptr, const size_t ptr_size, void *external_data)

Host side creation functions.

Create a HostImage in previously allocated memory.

Parameters
  • flags – Memory access and usage flags.

  • image_format – Description of pixel layout and storage.

  • image_desc – Description of image dimensions.

  • ptr – Pointer to previously allocated memory for image storage, must not be null.

  • ptr_size – Size in bytes of ptr, must be at least libimg::HostGetImageAllocationSize() bytes.

  • external_data – If CL_MEM_COPY_HOST_PTR or CL_MEM_USE_HOST_PTR flags are set this should be host_ptr, if image type is CL_MEM_OBJECT_IMAGE1D_BUFFER this should be a pointer to the internal buffer data, otherwise it should be null.

Returns

Pointer to the created image, points to the same address as ptr.

void HostInitializeImage(const cl_image_format &image_format, const cl_image_desc &image_desc, HostImage *image)

Initialize a HostImage in preparation for attaching external storage.

Parameters
  • image_format – Description of pixel layout and storage.

  • image_desc – Description of image dimensions.

  • image – Image to initialize.

void HostAttachImageStorage(HostImage *image, void *ptr)

Attach external image storage.

Parameters
  • image – Image to attach external storage to.

  • ptr – Pointer to external storage.

HostSampler HostCreateSampler(const cl_bool normalized_coordinates, const cl_addressing_mode addressing_mode, const cl_filter_mode filter_mode)

Create a sampler from OpenCL sampler values.

This function translates the original CL values to their CLK equivalents, then or them together input arguments to form a sampler value.

Parameters
  • normalized_coordinates – Determines if the image coordinates specified are normalized

  • addressing_mode – Specifies how out of range image coordinates are handled.

  • filter_mode – Specifies the type of filter.

Returns

HostSampler.

cl_int ValidateImageFormat(const cl_image_format &image_format)

Check that the image format is valid.

Parameters

image_format – Image format, describing pixel stroage.

Returns

CL_SUCCESS on success, CL_INVALID_IMAGE_FORMAT_DESCRIPTOR otherwise.

cl_int ValidateImageSize(const cl_image_desc &desc, const size_t image2d_max_width, const size_t image2d_max_height, const size_t image3d_max_width, const size_t image3d_max_height, const size_t image3d_max_depth, const size_t image_max_array_size, const size_t image_max_buffer_size)

Check that the image descriptor is within the given device limits.

Parameters
  • desc – The image descriptor.

  • image2d_max_width – Device max supported 2d image width.

  • image2d_max_height – Device max supported 2d image height.

  • image3d_max_width – Device max supported 3d image width.

  • image3d_max_height – Device max supported 3d image height.

  • image3d_max_depth – Device max supported 3d image depth.

  • image_max_array_size – Device max supported array size.

  • image_max_buffer_size – Device max supported buffer size.

Returns

Returns CL_INVALID_IMAGE_SIZE on error, CL_SUCCESS otherwise.

cl_int ValidateOriginAndRegion(const cl_image_desc &desc, const size_t origin[3], const size_t region[3])

Check that the origin and region are valid for the given image.

Parameters
  • desc – The descriptor for the image from.

  • origin – The origin of the image to copy from.

  • region – The region of the image to copy from.

Returns

Returns CL_INVALID_VALUE on error, CL_SUCCESS otherwise.

cl_int ValidateImageFormatMismatch(const cl_image_format &format_left, const cl_image_format &format_right)

Check that the left and right image formats are compatible.

Parameters
  • format_left – Left hand image format.

  • format_right – Right hand image format.

Returns

Returns CL_IMAGE_FORMAT_MISMATCH on error, CL_SUCCESS otherwise.

cl_int ValidateRowAndSlicePitchForReadWriteImage(const cl_image_format &image_format, const cl_image_desc &image_desc, const size_t region[3], const size_t host_row_pitch, const size_t host_slice_pitch)

Validates the row pitch and slice pitch of the user provided host memory to read from/write to. Helper function called by clEnqueueReadImage and clEnqueueWriteImage. See specification of row_pitch and slice_pitch for clEnqueueReadImage or see specification for input_row_pitch and input_slice_pitch of clEnqueueWriteImage.

Parameters
  • image_format – Description of the image format.

  • image_desc – Description of the image data.

  • region – Validated region providing the width and, if required, the height to validate the values for the pitches.

  • host_row_pitch – Row pitch of the user provided host memory to read from/write to.

  • host_slice_pitch – Slice pitch of the user provided host memory to read from/write to.

Returns

CL_SUCCESS if the pitches are valid. CL_INVALID_VALUE if the image is of type CL_MEM_OBJECT_IMAGE1D or CL_MEM_OBJECT_IMAGE2D and the pitches are not 0. CL_INVALID_VALUE of the pitches are larger than 0 but lesser than the minimum required values.

cl_int ValidateNoOverlap(const cl_image_desc &desc, const size_t src_origin[3], const size_t dst_origin[3], const size_t region[3])

Validates a src and dst origin with region and image_description to ensure that they are not overlapping. This is only used if the src and dst images are the same. Called by clEnqueueCopyImage. This also previously assumes other validations have been performed and that the src_origin and dst_origin are legitimate.

Parameters
  • desc – Description of the image format. As the image is the same for src and dst we only need the one

  • src_origin – The origin for the src image.

  • dst_origin – The origin for the dst image.

  • region – Row pitch of the user provided host memory to read from/write to.

Returns

CL_SUCCESS if the pitches are valid. CL_MEM_COPY_OVERLAP if the image overlaps for any of the image types on any dimension.

struct HostImage
#include <host.h>

Representation of an image, used by the host API.

If host image meta data storage type is kInternal, then image.raw_data points to the memory area directly following the memory of HostImage.

If host image meta data storage type is kExternal, then image.raw_data points to user provided memory.

struct ImageMetaData
#include <shared.h>

An image descriptor, used by both the host and kernel API’s.

struct Image
#include <shared.h>

An image object, used by both the host and kernel API’s.

mux module

group mux

Defines

MUX_MAJOR_VERSION

Mux major version number.

MUX_MINOR_VERSION

Mux minor version number.

MUX_PATCH_VERSION

Mux patch version number.

MUX_VERSION

Mux combined version number.

MUX_NULL_ID

Default value for initializing Mux object id member variable.

Typedefs

typedef int32_t mux_result_t

A result code type.

The return code from our Mux functions.

See

mux_result_e

typedef uint32_t mux_id_t

Declare Mux’s combined identifier type.

typedef uint32_t mux_object_id_t

Declare Mux’s object identifier type.

typedef uint32_t mux_target_id_t

Declare Mux’s target identifier type.

typedef uint32_t mux_command_id_t

Declare Mux’s command identifier type.

typedef struct mux_device_info_s *mux_device_info_t

Forward declare Mux’s device information container.

typedef struct mux_device_s *mux_device_t

Forward declare Mux’s device container.

typedef struct mux_memory_s *mux_memory_t

Forward declare Mux’s memory container.

typedef struct mux_buffer_s *mux_buffer_t

Forward declare Mux’s buffer container.

typedef struct mux_offset_3d_s mux_offset_3d_t

Forward declare Mux’s three dimensional offset.

typedef struct mux_extent_3d_s mux_extent_3d_t

Forward declare Mux’s three dimensional extent.

typedef struct mux_extent_2d_s mux_extent_2d_t

Forward declare Mux’s two dimensional extent.

typedef struct mux_image_s *mux_image_t

Forward declare Mux’s image container.

typedef struct mux_sampler_s mux_sampler_t

Forward declare Mux’s sampler container.

typedef struct mux_queue_s *mux_queue_t

Forward declare Mux’s queue container.

typedef struct mux_command_buffer_s *mux_command_buffer_t

Forward declare Mux’s command buffer container.

typedef struct mux_semaphore_s *mux_semaphore_t

Forward declare Mux’s semaphore container.

typedef struct mux_fence_s *mux_fence_t

Forward declare Mux’s fence container.

typedef struct mux_sync_point_s *mux_sync_point_t

Forward declare Mux’s sync-point container.

typedef struct mux_executable_s *mux_executable_t

Forward declare Mux’s executable container.

typedef struct mux_kernel_s *mux_kernel_t

Forward declare Mux’s kernel container.

typedef struct mux_query_pool_s *mux_query_pool_t

Forward declare Mux’s query pool container.

typedef struct mux_query_counter_s mux_query_counter_t

Forward declare Mux’s query counter container.

typedef struct mux_query_counter_description_s mux_query_counter_description_t

Forward declare Mux’s query counter description container.

typedef struct mux_query_counter_config_s mux_query_counter_config_t

Forward declare Mux’s query counter configuration container.

typedef struct mux_query_duration_result_s *mux_query_duration_result_t

Forward declare Mux’s duration query result container.

typedef struct mux_query_counter_result_s *mux_query_counter_result_t

Forward declare Mux’s counter query result container.

typedef struct mux_allocator_info_s mux_allocator_info_t

Forward declare Mux’s allocator container.

typedef struct mux_callback_info_s *mux_callback_info_t

Forward declare Mux’s callback container.

typedef struct mux_descriptor_info_s mux_descriptor_info_t

Forward declare Mux’s descriptor container.

typedef struct mux_buffer_region_info_s mux_buffer_region_info_t

Forward declare Mux’s buffer region container.

typedef struct mux_ndrange_options_s mux_ndrange_options_t

Forward declare Mux’s kernel execution options container.

typedef enum mux_queue_type_e mux_queue_type_e

All possible queue types that can be supported.

Used to identify which queue type is required for operations.

Note

There exists code that assumes that this enum starts at zero, and that the numbers increment contiguously until mux_queue_type_total.

typedef enum mux_allocation_type_e mux_allocation_type_e

All possible allocation types that can be supported.

Used when allocating memory through the Mux device to specify what allocation type is being requested.

typedef enum mux_memory_property_e mux_memory_property_e

Each of the memory properties which may be requested for an allocation.

typedef enum mux_image_type_e mux_image_type_e

All possible image types that can be supported.

Used when creating a mux_image_t object to specify the dimensionality of the image.

typedef enum mux_image_tiling_e mux_image_tiling_e

All possible image tiling modes an image can be in.

typedef enum mux_image_format_e mux_image_format_e

All possible image formats that can be supported.

Used when creating a mux_image_t object to specify the pixel data format of the image. The enum values are constructed from the hexadecimal constants specified by OpenCL, the lower 16 bits contains the cl_channel_order value and the upper 16 bits contains the cl_channel_type value.

typedef enum mux_address_mode_e mux_address_mode_e

All possible addressing modes describing how to handle out of range image coordinates.

typedef enum mux_filter_mode_e mux_filter_mode_e

All possible filter modes for image sampling.

typedef enum mux_query_type_e mux_query_type_e

Accepted as query_type parameter to muxCreateQueryPool.

The type of a query pool specifies the data that can be stored within it.

typedef enum mux_query_counter_storage_e mux_query_counter_storage_e

All possible query counter storage types.

typedef enum mux_query_counter_unit_e mux_query_counter_unit_e

All possible query counter unit types.

typedef enum mux_wfv_status_e mux_wfv_status_e

All possible whole function vectorization status codes for a kernel.

typedef void (*mux_command_user_callback_t)(mux_queue_t queue, mux_command_buffer_t command_buffer, void *const user_data)

Command buffer user callback function type.

A parameter type of muxCommandUserCallback, defining the signature of callback functors.

typedef struct mux_memory_requirements_s mux_memory_requirements_s

Description of the device memory requirements of a buffer or an image.

Enums

enum mux_result_e

All Mux result types.

Used as the return codes from our Mux functions, to denote whether the function was successful.

Values:

enumerator mux_success

No error occurred.

enumerator mux_error_failure

An unknown error occurred.

enumerator mux_error_null_out_parameter

An out parameter (EG. a pointer argument) was null when it should not be.

enumerator mux_error_invalid_value

An invalid parameter was provided.

enumerator mux_error_out_of_memory

An allocation failed.

enumerator mux_error_null_allocator_callback

An allocator callback provided to Mux was null.

enumerator mux_error_device_entry_hook_failed

A device entry hook was malformed.

enumerator mux_error_invalid_binary

A file was an invalid binary.

enumerator mux_error_feature_unsupported

Feature is unsupported by Mux API.

enumerator mux_error_missing_kernel

Kernel was not found.

enumerator mux_error_internal

An internal error has occurred, this should never happen. Use this in place of assertions.

enumerator mux_error_fence_failure

A fence waited upon failed.

enumerator mux_fence_not_ready

A fence waited upon was not yet complete.

enum mux_object_id_e

All Mux object type tags.

Type IDs are combined with the generated mux_target_id_e, using a bitwise and, to create the value for each Mux object’s id member, all mux_object_id_e values are in the upper 16 bits of the 32 bit mux_id_t.

Values:

enumerator mux_object_id_buffer

ID for mux_buffer_t objects.

enumerator mux_object_id_command_buffer

ID for mux_command_buffer_t objects.

enumerator mux_object_id_device

ID for mux_device_t objects.

enumerator mux_object_id_executable

ID for mux_executable_t objects.

enumerator mux_object_id_image

ID for mux_image_t objects.

enumerator mux_object_id_kernel

ID for mux_kernel_t objects.

enumerator mux_object_id_memory

ID for mux_memory_t objects.

enumerator mux_object_id_queue

ID for mux_queue_t objects.

enumerator mux_object_id_sampler

ID for mux_sampler_t objects.

enumerator mux_object_id_semaphore

ID for mux_semaphore_t objects.

enumerator mux_object_id_query_pool

ID for mux_query_pool_t objects.

enumerator mux_object_id_sync_point

ID for mux_sync_point_t objects.

enumerator mux_object_id_fence

ID for mux_fence_t objects.

enumerator mux_object_id_mask

Mask for ID values which are always help in the upper 16 bits of the 32 bit mux_id_t.

enum mux_device_type_e

All possible device types.

Used to identify which type a Mux device is, can be used as a bitfield to select devices by type with muxGetDeviceInfos.

See

mux_device_info_s::device_type

Values:

enumerator mux_device_type_cpu

Device is a CPU.

enumerator mux_device_type_gpu_integrated

Device is an integrated GPU.

enumerator mux_device_type_gpu_discrete

Device is a discrete GPU.

enumerator mux_device_type_gpu_virtual

Device is a virtualized GPU.

enumerator mux_device_type_accelerator

Device is an accelerator chip.

enumerator mux_device_type_custom

Device is a mysterious custom type.

enumerator mux_device_type_all

Mask to match all device types.

enum mux_queue_type_e

All possible queue types that can be supported.

Used to identify which queue type is required for operations.

Note

There exists code that assumes that this enum starts at zero, and that the numbers increment contiguously until mux_queue_type_total.

Values:

enumerator mux_queue_type_compute

A queue type that supports all compute operations.

enumerator mux_queue_type_total

The total number of queue types used.

enum mux_allocation_type_e

All possible allocation types that can be supported.

Used when allocating memory through the Mux device to specify what allocation type is being requested.

Values:

enumerator mux_allocation_type_alloc_host

Allocate pinned memory visible on both host and device. Used in combination with mux_memory_property_host_coherent or mux_memory_property_host_cached.

enumerator mux_allocation_type_alloc_device

Allocate device memory. Can be used with mux_memory_property_device_local or mux_memory_property_host_visible.

enum mux_allocation_capabilities_e

Bitfield of all possible allocation capabilities.

Each Mux device info struct has a member which denotes the allocation capabilities of that device, as a bitfield of the following enum.

See

mux_device_info_s::allocation_capabilities

Values:

enumerator mux_allocation_capabilities_coherent_host

Can a Mux device allocate cache coherent host memory, or use pre-allocated host memory without synchronization.

enumerator mux_allocation_capabilities_cached_host

Can a Mux device use host memory with explicit synchronization.

enumerator mux_allocation_capabilities_alloc_device

Can a Mux device allocate device-only memory.

enum mux_memory_property_e

Each of the memory properties which may be requested for an allocation.

Values:

enumerator mux_memory_property_device_local

Memory is visible only on the device and can not be mapped. Must not be used in combination with mux_memory_property_host_visible, mux_memory_property_host_coherent, or mux_memory_property_host_cached.

enumerator mux_memory_property_host_visible

Memory is visible on host and device, can be mapped using muxMapMemory. Can be used with mux_memory_property_host_coherent or mux_memory_property_host_cached.

enumerator mux_memory_property_host_coherent

Memory caches are coherent between host and device. No explicit synchronization is required. Can be used with mux_memory_property_host_visible, is mutually exclusive with mux_memory_property_host_cached.

enumerator mux_memory_property_host_cached

Memory caches are not coherent between host and device. Explicit synchronization is required, using muxMapMemory and muxUnmapMemory, before updates are visible on host or device. Can be used with mux_memory_property_host_visible, is mutually exclusive with mux_memory_property_host_coherent.

enum mux_image_type_e

All possible image types that can be supported.

Used when creating a mux_image_t object to specify the dimensionality of the image.

Values:

enumerator mux_image_type_1d

A 1 dimensional image type.

enumerator mux_image_type_2d

A 2 dimensional image type.

enumerator mux_image_type_3d

A 3 dimensional image type.

enumerator mux_force_size_image_type

Force enum size to 32 bits.

enum mux_image_tiling_e

All possible image tiling modes an image can be in.

Values:

enumerator mux_image_tiling_linear

Linear tiling mode lays out pixel data in linear order, this order should be used when transferring data to/from the host.

enumerator mux_image_tiling_optimal

Optimal tiling mode lays out pixel data in cache friendly order, this mode should be used for best device performance.

enum mux_image_format_e

All possible image formats that can be supported.

Used when creating a mux_image_t object to specify the pixel data format of the image. The enum values are constructed from the hexadecimal constants specified by OpenCL, the lower 16 bits contains the cl_channel_order value and the upper 16 bits contains the cl_channel_type value.

Values:

enumerator mux_image_format_R8_snorm

R channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_R16_snorm

R channel format with 16 signed normalized bits per channel.

enumerator mux_image_format_R8_unorm

R channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_R16_unorm

R channel format with 16 unsigned normalized bits per channel.

enumerator mux_image_format_R8_sint

R channel format with 8 signed integer bits per channel.

enumerator mux_image_format_R16_sint

R channel format with 16 signed integer bits per channel.

enumerator mux_image_format_R32_sint

R channel format with 32 signed integer bits per channel.

enumerator mux_image_format_R8_uint

R channel format with 8 unsigned integer bits per channel.

enumerator mux_image_format_R16_uint

R channel format with 16 unsigned integer bits per channel.

enumerator mux_image_format_R32_uint

R channel format with 32 unsigned integer bits per channel.

enumerator mux_image_format_R16_sfloat

R channel format with 16 signed floating point bits per channel.

enumerator mux_image_format_R32_sfloat

R channel format with 32 signed floating point bits per channel.

enumerator mux_image_format_A8_snorm

A channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_A16_snorm

A channel format with 16 signed normalized bits per channel.

enumerator mux_image_format_A8_unorm

A channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_A16_unorm

A channel format with 16 unsigned normalized bits per channel.

enumerator mux_image_format_A8_sint

A channel format with 8 signed integer bits per channel.

enumerator mux_image_format_A16_sint

A channel format with 16 signed integer bits per channel.

enumerator mux_image_format_A32_sint

A channel format with 32 signed integer bits per channel.

enumerator mux_image_format_A8_uint

A channel format with 8 unsigned integer bits per channel.

enumerator mux_image_format_A16_uint

A channel format with 16 unsigned integer bits per channel.

enumerator mux_image_format_A32_uint

A channel format with 32 unsigned integer bits per channel.

enumerator mux_image_format_A16_sfloat

A channel format with 16 signed floating point bits per channel.

enumerator mux_image_format_A32_sfloat

A channel format with 32 signed floating point bits per channel.

enumerator mux_image_format_R8G8_snorm

RG channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_R16G16_snorm

RG channel format with 16 signed normalized bits per channel.

enumerator mux_image_format_R8G8_unorm

RG channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_R16G16_unorm

RG channel format with 16 unsigned normalized bits per channel.

enumerator mux_image_format_R8G8_sint

RG channel format with 8 signed integer bits per channel.

enumerator mux_image_format_R16G16_sint

RG channel format with 16 signed integer bits per channel.

enumerator mux_image_format_R32G32_sint

RG channel format with 32 signed integer bits per channel.

enumerator mux_image_format_R8G8_uint

RG channel format with 8 unsigned integer bits per channel.

enumerator mux_image_format_R16G16_uint

RG channel format with 16 unsigned integer bits per channel.

enumerator mux_image_format_R32G32_uint

RG channel format with 32 unsigned integer bits per channel.

enumerator mux_image_format_R16G16_sfloat

RG channel format with 16 signed floating point bits per channel.

enumerator mux_image_format_R32G32_sfloat

RG channel format with 32 signed floating point bits per channel.

enumerator mux_image_format_R8A8_snorm

RA channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_R16A16_snorm

RA channel format with 16 signed normalized bits per channel.

enumerator mux_image_format_R8A8_unorm

RA channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_R16A16_unorm

RA channel format with 16 unsigned normalized bits per channel.

enumerator mux_image_format_R8A8_sint

RA channel format with 8 signed integer bits per channel.

enumerator mux_image_format_R16A16_sint

RA channel format with 16 signed integer bits per channel.

enumerator mux_image_format_R32A32_sint

RA channel format with 32 signed integer bits per channel.

enumerator mux_image_format_R8A8_uint

RA channel format with 8 unsigned integer bits per channel.

enumerator mux_image_format_R16A16_uint

RA channel format with 16 unsigned integer bits per channel.

enumerator mux_image_format_R32A32_uint

RA channel format with 32 unsigned integer bits per channel.

enumerator mux_image_format_R16A16_sfloat

RA channel format with 16 signed floating point bits per channel.

enumerator mux_image_format_R32A32_sfloat

RA channel format with 32 signed floating point bits per channel.

enumerator mux_image_format_R5G6B5_unorm_pack16

RGB channel format with 16 bits of unsigned normalized storage.

enumerator mux_image_format_R5G5B5_unorm_pack16

RGB channel format with 16 bits of unsigned normalized storage.

enumerator mux_image_format_R10G10B10_unorm_pack32

RGB channel format with 32 bits of unsigned normalized storage.

enumerator mux_image_format_R8G8B8A8_snorm

RGBA channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_R16G16B16A16_snorm

RGBA channel format with 16 signed normalized bits per channel.

enumerator mux_image_format_R8G8B8A8_unorm

RGBA channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_R16G16B16A16_unorm

RGBA channel format with 16 unsigned normalized bits per channel.

enumerator mux_image_format_R8G8B8A8_sint

RGBA channel format with 8 signed integer bits per channel.

enumerator mux_image_format_R16G16B16A16_sint

RGBA channel format with 16 signed integer bits per channel.

enumerator mux_image_format_R32G32B32A32_sint

RGBA channel format with 32 signed integer bits per channel.

enumerator mux_image_format_R8G8B8A8_uint

RGBA channel format with 8 unsigned integer bits per channel.

enumerator mux_image_format_R16G16B16A16_uint

RGBA channel format with 16 unsigned integer bits per channel.

enumerator mux_image_format_R32G32B32A32_uint

RGBA channel format with 32 unsigned integer bits per channel.

enumerator mux_image_format_R16G16B16A16_sfloat

RGBA channel format with 16 signed floating point bits per channel.

enumerator mux_image_format_R32G32B32A32_sfloat

RGBA channel format with 32 signed floating point bits per channel.

enumerator mux_image_format_B8G8R8A8_snorm

BGRA channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_B8G8R8A8_unorm

BGRA channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_B8G8R8A8_sint

BGRA channel format with 8 signed integer bits per channel.

enumerator mux_image_format_B8G8R8A8_uint

BGRA channel format with 8 unsigned integer bits per channel.

enumerator mux_image_format_A8R8G8B8_snorm

ARGB channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_A8R8G8B8_unorm

ARGB channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_A8R8G8B8_sint

ARGB channel format with 8 signed integer bits per channel.

enumerator mux_image_format_A8R8G8B8_uint

ARGB channel format with 8 unsigned integer bits per channel.

enumerator mux_image_format_INTENSITY8_snorm

Intensity channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_INTENSITY16_snorm

Intensity channel format with 16 signed normalized bits per channel.

enumerator mux_image_format_INTENSITY8_unorm

Intensity channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_INTENSITY16_unorm

Intensity channel format with 16 unsigned normalized bits per channel.

enumerator mux_image_format_INTENSITY16_sfloat

Intensity channel format with 16 signed floating point bits per channel.

enumerator mux_image_format_INTENSITY32_sfloat

Intensity channel format with 32 signed floating point bits per channel.

enumerator mux_image_format_LUMINANCE8_snorm

Luminance channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_LUMINANCE16_snorm

Luminance channel format with 16 signed normalized bits per channel.

enumerator mux_image_format_LUMINANCE8_unorm

Luminance channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_LUMINANCE16_unorm

Luminance channel format with 16 unsigned normalized bits per channel.

enumerator mux_image_format_LUMINANCE16_sfloat

Luminance channel format with 16 signed floating point bits per channel.

enumerator mux_image_format_LUMINANCE32_sfloat

Luminance channel format with 32 signed floating point bits per channel.

enumerator mux_image_format_R8x8_snorm

Rx channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_R16x16_snorm

Rx channel format with 16 signed normalized bits per channel.

enumerator mux_image_format_R8x8_unorm

Rx channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_R16x16_unorm

Rx channel format with 16 unsigned normalized bits per channel.

enumerator mux_image_format_R8x8_sint

Rx channel format with 8 signed integer bits per channel.

enumerator mux_image_format_R16x16_sint

Rx channel format with 16 signed integer bits per channel.

enumerator mux_image_format_R32x32_sint

Rx channel format with 32 signed integer bits per channel.

enumerator mux_image_format_R8x8_uint

Rx channel format with 8 unsigned integer bits per channel.

enumerator mux_image_format_R16x16_uint

Rx channel format with 16 unsigned integer bits per channel.

enumerator mux_image_format_R32x32_uint

Rx channel format with 32 unsigned integer bits per channel.

enumerator mux_image_format_R16x16_sfloat

Rx channel format with 16 signed floating point bits per channel.

enumerator mux_image_format_R32x32_sfloat

Rx channel format with 32 signed floating point bits per channel.

enumerator mux_image_format_R8G8Bx_snorm

RGx channel format with 8 signed normalized bits per channel.

enumerator mux_image_format_R16G16B16_snorm

RGx channel format with 16 signed normalized bits per channel.

enumerator mux_image_format_R8G8Bx_unorm

RGx channel format with 8 unsigned normalized bits per channel.

enumerator mux_image_format_R16G16B16_unorm

RGx channel format with 16 unsigned normalized bits per channel.

enumerator mux_image_format_R8G8Bx_sint

RGx channel format with 8 signed integer bits per channel.

enumerator mux_image_format_R16G16B16_sint

RGx channel format with 16 signed integer bits per channel.

enumerator mux_image_format_R32G32B32_sint

RGx channel format with 32 signed integer bits per channel.

enumerator mux_image_format_R8G8Bx_uint

RGx channel format with 8 unsigned integer bits per channel.

enumerator mux_image_format_R16G16B16B16_uint

RGx channel format with 16 unsigned integer bits per channel.

enumerator mux_image_format_R32G32B32_uint

RGx channel format with 32 unsigned integer bits per channel.

enumerator mux_image_format_R16G16B16_sfloat

RGx channel format with 16 signed floating point bits per channel.

enumerator mux_image_format_R32G32B32_sfloat

RGx channel format with 32 signed floating point bits per channel.

enumerator mux_image_format_R5G6B5x0_unorm_pack16

RGBx channel format with 16 bits of unsigned normalized storage.

enumerator mux_image_format_R5G5B5x1_unorm_pack16

RGBx channel format with 16 bits of unsigned normalized storage.

enumerator mux_image_format_R10G10B10x2_unorm_pack32

RGBx channel format with 32 bits of unsigned normalized storage.

enum mux_address_type_e

All possible addressing types that can be used.

Used to specify what modes of addressing are supported by the platform.

Values:

enumerator mux_address_type_logical

Logical addressing.

enumerator mux_address_type_bits32

32-bit wide pointer addressing.

enumerator mux_address_type_bits64

64-bit wide pointer addressing.

enum mux_address_capabilities_e

Bitfield of all possible addressing capabilities.

Each Mux device info struct has a member which denotes the addressing capabilities of that device, as a bitfield of the following enum.

See

mux_device_info_s::source_capabilities

Values:

enumerator mux_address_capabilities_logical

Logical addressing supported.

enumerator mux_address_capabilities_bits32

32-bit wide pointer addressing supported.

enumerator mux_address_capabilities_bits64

64-bit wide pointer addressing supported.

enum mux_atomic_capabilities_e

Bitfield of all possible atomic capabilities.

Each Mux device struct has a member which denotes the atomic capabilities of that device, as a bitfield of the following enum.

Values:

enumerator mux_atomic_capabilities_8bit

8 bit atomic support

enumerator mux_atomic_capabilities_16bit

16 bit atomic support

enumerator mux_atomic_capabilities_32bit

32 bit atomic support

enumerator mux_atomic_capabilities_64bit

64 bit atomic support

enum mux_cache_capabilities_e

Bitfield of all possible caching capabilities.

Each Mux device struct has a member which denotes the caching capabilities of that device, as a bitfield of the following enum.

Values:

enumerator mux_cache_capabilities_read

Read caching supported.

enumerator mux_cache_capabilities_write

Write caching supported.

enum mux_floating_point_capabilities_e

Bitfield of all possible floating point capabilities.

Each Mux device struct has a member which denotes the floating point capabilities of that device, as a bitfield of the following enum.

Values:

enumerator mux_floating_point_capabilities_denorm

Denormals supported.

enumerator mux_floating_point_capabilities_inf_nan

INF and NaN are supported.

enumerator mux_floating_point_capabilities_rte

Round to nearest even supported.

enumerator mux_floating_point_capabilities_rtz

Round to zero supported.

enumerator mux_floating_point_capabilities_rtp

Round to positive infinity supported.

enumerator mux_floating_point_capabilities_rtn

Round to negative infinity supported.

enumerator mux_floating_point_capabilities_fma

Fused multiply add supported.

enumerator mux_floating_point_capabilities_soft

Floating point operations are written in software.

enumerator mux_floating_point_capabilities_full

Binary format conforms to the IEEE-754 specification.

enum mux_integer_capabilities_e

Bitfield of all possible integer capabilities.

Each Mux device struct has a member which denotes the integer capabilities of that device, as a bitfield of the following enum.

Values:

enumerator mux_integer_capabilities_8bit

8 bit integer support

enumerator mux_integer_capabilities_16bit

16 bit integer support

enumerator mux_integer_capabilities_32bit

32 bit integer support

enumerator mux_integer_capabilities_64bit

64 bit integer support

enum mux_custom_buffer_capabilities_e

Bitfield of all possible custom buffer capabilities.

Each Mux device struct has a member which denotes the custom buffer capabilities of that device, as a bitfield of the following enum.

Values:

enumerator mux_custom_buffer_capabilities_data

Custom buffer support for setting data and size in mux_descriptor_info_custom_buffer_s.

enumerator mux_custom_buffer_capabilities_address_space

Custom buffer support for setting address_space in mux_descriptor_info_custom_buffer_s.

enum mux_endianness_e

All possible endiannesses.

Values:

enumerator mux_endianness_little

Little endian device.

enumerator mux_endianness_big

Big endian device.

enum mux_shared_local_memory_type_e

All possible shared local memory types.

Values:

enumerator mux_shared_local_memory_physical

The shared local memory used by the device is truely that - physical memory on the device.

enumerator mux_shared_local_memory_virtual

The shared local memory used by the device is virtual - its actually using the global memory available to the device to pretend that it has shared local memory support.

enum mux_descriptor_info_type_e

All possible descriptor types.

Used to identify which type a descriptor is.

See

mux_descriptor_info_s::_type

Values:

enumerator mux_descriptor_info_type_buffer

Descriptor is a buffer.

enumerator mux_descriptor_info_type_image

Descriptor is an image.

enumerator mux_descriptor_info_type_sampler

Descriptor is a sampler.

enumerator mux_descriptor_info_type_plain_old_data

Descriptor is plain-old-data.

enumerator mux_descriptor_info_type_shared_local_buffer

Descriptor is a shared local buffer.

enumerator mux_descriptor_info_type_null_buffer

Descriptor is a null buffer.

enumerator mux_descriptor_info_type_custom_buffer

Descriptor is a custom buffer.

enum mux_address_mode_e

All possible addressing modes describing how to handle out of range image coordinates.

Values:

enumerator mux_address_mode_none

Image coordinates must reside within the image dimensions.

enumerator mux_address_mode_repeat

Out of range image coordinates are wrapped around to a valid range.

enumerator mux_address_mode_repeat_mirror

Out of range image coordinates are mirrored along image boundaries.

enumerator mux_address_mode_clamp

Out of range image coordinates are clamped to the border colour.

enumerator mux_address_mode_clamp_edge

Out of range image coordinates are clamped to the image extent.

enum mux_filter_mode_e

All possible filter modes for image sampling.

Values:

enumerator mux_filter_mode_nearest

Sample the nearest pixel to the specified coordinate.

enumerator mux_filter_mode_linear

Sample and blend the neighbouring pixels to the specified coordinate.

enum mux_query_type_e

Accepted as query_type parameter to muxCreateQueryPool.

The type of a query pool specifies the data that can be stored within it.

Values:

enumerator mux_query_type_duration

Query the command duration with a start and end time stamp, the start and end timestamps must be CPU timestamps which may require interpolation of device timestamps, only a single command duration query shall be enabled in a command buffer at one time.

enumerator mux_query_type_counter

Query the values of an enabled set of hardware counters.

enum mux_query_counter_storage_e

All possible query counter storage types.

Values:

enumerator mux_query_counter_result_type_int32

Query counter storage is int32_t.

enumerator mux_query_counter_result_type_int64

Query counter storage is int64_t.

enumerator mux_query_counter_result_type_uint32

Query counter storage is uint32_t.

enumerator mux_query_counter_result_type_uint64

Query counter storage is uint64_t.

enumerator mux_query_counter_result_type_float32

Query counter storage is float.

enumerator mux_query_counter_result_type_float64

Query counter storage is double.

enum mux_query_counter_unit_e

All possible query counter unit types.

Values:

enumerator mux_query_counter_unit_generic

The counter unit is a generic value.

enumerator mux_query_counter_unit_percentage

The counter unit is a percentage.

enumerator mux_query_counter_unit_nanoseconds

The counter unit is nanoseconds.

enumerator mux_query_counter_unit_bytes

The counter unit is bytes.

enumerator mux_query_counter_unit_bytes_per_second

The counter unit is bytes per second.

enumerator mux_query_counter_unit_kelvin

The counter unit is degrees kelvin.

enumerator mux_query_counter_unit_watts

The counter unit is watts.

enumerator mux_query_counter_unit_volts

The counter unit is volts.

enumerator mux_query_counter_unit_amps

The counter unit is amperes.

enumerator mux_query_counter_unit_hertz

The counter unit is hertz.

enumerator mux_query_counter_unit_cycles

The counter unit is cycles.

enum mux_wfv_status_e

All possible whole function vectorization status codes for a kernel.

Values:

enumerator mux_wfv_status_none

Whole function vectorization has not been performed.

enumerator mux_wfv_status_error

An error was encountered while trying to perform whole function vectorization.

enumerator mux_wfv_status_success

Whole function vectorization has been performed successfully.

Functions

mux_result_t muxGetDeviceInfos(uint32_t device_types, uint64_t device_infos_length, mux_device_info_t *out_device_infos, uint64_t *out_device_infos_length)

Gets Mux devices’ information.

Parameters
  • device_types[in] A bitfield of mux_device_type_e values to return in out_device_infos.

  • device_infos_length[in] The length of out_device_infos. Must be 0, if out_devices is null.

  • out_device_infos[out] Array of information for devices Mux knows about, or null if an error occurred. Can be null, if out_device_infos_length is non-null.

  • out_device_infos_length[out] The total number of devices for which we are returning information, or 0 if an error occurred. Can be null, if out_device_infos is non-null.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCreateDevices(uint64_t devices_length, mux_device_info_t *device_infos, mux_allocator_info_t allocator_info, mux_device_t *out_devices)
Parameters
  • devices_length[in] The length of out_devices. Must be 0, if out_devices is null.

  • device_infos[in] Array of device information determining which devices to create.

  • allocator_info[in] Allocator information.

  • out_devices[out] Array of devices Mux knows about, or null if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void muxDestroyDevice(mux_device_t device, mux_allocator_info_t allocator_info)

Destroy a device.

This function allows Mux to call into our partner’s code to destroy a device that was created previously by the partner.

Parameters
  • device[in] A Mux device to destroy.

  • allocator_info[in] Allocator information.

mux_result_t muxAllocateMemory(mux_device_t device, size_t size, uint32_t heap, uint32_t memory_properties, mux_allocation_type_e allocation_type, uint32_t alignment, mux_allocator_info_t allocator_info, mux_memory_t *out_memory)

Allocate Mux device memory to be bound to a buffer or image.

This function uses a Mux device to allocate device memory which can later be bound to buffers and images, providing physical memory backing, with the muxBindBufferMemory and muxBindImageMemory functions.

Parameters
  • device[in] A Mux device.

  • size[in] The size in bytes of memory to allocate.

  • heap[in] Value of a single set bit in the mux_memory_requirements_s::supported_heaps bitfield of the buffer or image the device memory is being allocated for. Passing the value of 1 to heap must result in a successful allocation, heap must not be 0.

  • memory_properties[in] Bitfield of memory properties this allocation should support, values from mux_memory_property_e.

  • allocation_type[in] The type of allocation.

  • alignment[in] Minimum alignment in bytes for the requested allocation.

  • allocator_info[in] Allocator information.

  • out_memory[out] The created memory, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCreateMemoryFromHost(mux_device_t device, size_t size, void *host_pointer, mux_allocator_info_t allocator_info, mux_memory_t *out_memory)

Assigns Mux device visible memory from pre-allocated host side memory.

This function takes a pointer to pre-allocated host memory and binds it to device visible memory, which is cache coherent with the host allocation. Entry point is optional and must return mux_error_feature_unsupported if device doesn’t support mux_allocation_capabilities_cached_host.

See

mux_device_info_s::allocation_capabilities

Parameters
  • device[in] A Mux device.

  • size[in] The size in bytes of allocated memory.

  • host_pointer[in] Pointer to pre-allocated host addressable memory, must not be null.

  • allocator_info[in] Allocator information.

  • out_memory[out] The created memory, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void muxFreeMemory(mux_device_t device, mux_memory_t memory, mux_allocator_info_t allocator_info)

Free Mux device memory after use has finished.

This function uses the Mux device used for allocation with either muxAllocateMemory or muxCreateMemoryFromHost to deallocate the device memory.

Parameters
  • device[in] The Mux device the memory was allocated for.

  • memory[in] The Mux device memory to be freed.

  • allocator_info[in] Allocator information.

mux_result_t muxMapMemory(mux_device_t device, mux_memory_t memory, uint64_t offset, uint64_t size, void **out_data)

Map Mux device memory to a host address.

Parameters
  • device[in] The device where the device memory is allocated.

  • memory[in] The memory to be mapped to a host accessible memory address.

  • offset[in] Offset in bytes into the device memory to map to host addressable memory.

  • size[in] Size in bytes of device memory to map to host addressable memory.

  • out_data[out] Pointer to returned mapped host address, must not be null.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxUnmapMemory(mux_device_t device, mux_memory_t memory)

Unmap a mapped device memory.

Parameters
  • device[in] The device where the device memory is allocated.

  • memory[in] The device memory to unmap.

mux_result_t muxFlushMappedMemoryToDevice(mux_device_t device, mux_memory_t memory, uint64_t offset, uint64_t size)

Explicitly update device memory with data residing in host memory.

muxFlushMappedMemoryToDevice is intended to be used with mux_memory_ts allocated with the mux_memory_property_host_cached flag set. It updates device memory with the content currently residing in host memory.

Parameters
  • device[in] The device where the memory is allocated.

  • memory[in] The device memory to be flushed.

  • offset[in] The offset in bytes into the device memory to begin the range.

  • size[in] The size in bytes of the range to flush.

Returns

Returns mux_success on success or mux_error_invalid_value when; device is not a valid mux_device_t, memory is not a valid mux_memory_t, offset combined with size is greater than memory size.

mux_result_t muxFlushMappedMemoryFromDevice(mux_device_t device, mux_memory_t memory, uint64_t offset, uint64_t size)

Explicitly update host memory with data residing in device memory.

muxFlushMappedMemoryFromDevice is intended to be used with mux_memory_ts allocated with the mux_memory_property_host_cached flag set. It updates host memory with the content currently residing in device memory.

Parameters
  • device[in] The device where the memory is allocated.

  • memory[in] The device memory to be flushed.

  • offset[in] The offset in bytes into the device memory to begin the range.

  • size[in] The size in bytes of the range to flush.

Returns

Returns mux_success on success or mux_error_invalid_value when; device is not a valid mux_device_t, memory is not a valid mux_memory_t, offset combined with size is greater than memory size.

mux_result_t muxCreateBuffer(mux_device_t device, size_t size, mux_allocator_info_t allocator_info, mux_buffer_t *out_buffer)

Create buffer memory.

The function uses a Mux device, and is used to call into the Mux device code to create a buffer of a specific type and size.

Parameters
  • device[in] A Mux device.

  • size[in] The size (in bytes) of buffer requested.

  • allocator_info[in] Allocator information.

  • out_buffer[out] The created buffer, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void muxDestroyBuffer(mux_device_t device, mux_buffer_t buffer, mux_allocator_info_t allocator_info)

Destroy a buffer.

This function allows Mux to call into our partner’s code to destroy a buffer that was created previously by the partner.

Parameters
  • device[in] The Mux device the buffer was created with.

  • buffer[in] The buffer to destroy.

  • allocator_info[in] Allocator information.

mux_result_t muxBindBufferMemory(mux_device_t device, mux_memory_t memory, mux_buffer_t buffer, uint64_t offset)

Bind Mux device memory to the Mux buffer.

Bind device memory to a buffer providing physical backing so it can be used when processing a mux_command_buffer_t.

Parameters
  • device[in] The device on which the memory resides.

  • memory[in] The device memory to be bound to the buffer.

  • buffer[in] The buffer to which the device memory is to be bound.

  • offset[in] The offset into device memory to bind to the buffer.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCreateImage(mux_device_t device, mux_image_type_e type, mux_image_format_e format, uint32_t width, uint32_t height, uint32_t depth, uint32_t array_layers, uint64_t row_size, uint64_t slice_size, mux_allocator_info_t allocator_info, mux_image_t *out_image)

Create an image.

The function uses a Mux device to create an image with specific type, format, and dimensions. Newly created images are by default in the mux_image_tiling_linear mode.

Parameters
  • device[in] A Mux device.

  • type[in] The type of image to create.

  • format[in] The pixel data format of the image to create.

  • width[in] The width of the image in pixels, must be greater than one and less than max width.

  • height[in] The height of the image in pixels, must be zero for 1D images, must be greater than one and less than max height for 2D and 3D images.

  • depth[in] The depth of the image in pixels, must be zero for 1D and 2D images, must be greater than one and less than max depth for 3D images.

  • array_layers[in] The number of layers in an image array, must be 0 for non image arrays, must be and less than max array layers for image arrays.

  • row_size[in] The size of an image row in bytes.

  • slice_size[in] The size on an image slice in bytes.

  • allocator_info[in] Allocator information.

  • out_image[out] The created image, or null if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void muxDestroyImage(mux_device_t device, mux_image_t image, mux_allocator_info_t allocator_info)

Destroy an image.

The function allows Mux to call into client code to destroy an image that was previously created.

Parameters
  • device[in] The device the image was created with.

  • image[in] The image to destroy.

  • allocator_info[in] Allocator information.

mux_result_t muxBindImageMemory(mux_device_t device, mux_memory_t memory, mux_image_t image, uint64_t offset)

Bind Mux device memory to the Mux image.

Bind device memory to an image providing physical backing so it can be used when processing a mux_command_buffer_t.

Parameters
  • device[in] The device on which the memory resides.

  • memory[in] The device memory to be bound to the image.

  • image[in] The image to which the device memory is to be bound.

  • offset[in] The offset into device memory to bind the image.

Returns

Return mux_success on success, or a mux_error_* if an error occurred.

mux_result_t muxGetSupportedImageFormats(mux_device_t device, mux_image_type_e image_type, mux_allocation_type_e allocation_type, uint32_t count, mux_image_format_e *out_formats, uint32_t *out_count)

Query the Mux device for a list of supported image formats.

Parameters
  • device[in] The device to query for supported image formats.

  • image_type[in] The type of the image.

  • allocation_type[in] The required allocation capabilities of the image.

  • count[in] The element count of the out_formats array, must be greater than zero if out_formats is not null and zero otherwise.

  • out_formats[out] Return the list of supported formats, may be null. Storage must be an array of out_count elements.

  • out_count[out] Return the number of supported formats, may be null.

Returns

Return mux_success on success, or a mux_error_* if an error occurred.

mux_result_t muxGetSupportedQueryCounters(mux_device_t device, mux_queue_type_e queue_type, uint32_t count, mux_query_counter_t *out_counters, mux_query_counter_description_t *out_descriptions, uint32_t *out_count)

Get the list of supported query counters for a device’s queue type.

Parameters
  • device[in] A Mux device.

  • queue_type[in] The type of queue to get the supported query counters list for.

  • count[in] The element count of the out_counters and out_descriptions arrays, must be greater than zero if out_counters is not null and zero otherwise.

  • out_counters[out] Return the list of supported query counters, may be null. Storage must be an array of count elements.

  • out_descriptions[out] Return the list of descriptions of support query counters, may be null. Storage must be an array of count elements.

  • out_count[out] Return the total count of supported query counters.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxGetQueue(mux_device_t device, mux_queue_type_e queue_type, uint32_t queue_index, mux_queue_t *out_queue)

Get a queue from the owning device.

The function uses a Mux device, and is used to call into the Mux code to create a queue.

Parameters
  • device[in] A Mux device.

  • queue_type[in] The type of queue we want.

  • queue_index[in] The index of the queue_type we want to get from the device.

  • out_queue[out] The created queue, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCreateFence(mux_device_t device, mux_allocator_info_t allocator_info, mux_fence_t *out_fence)

Create a fence.

The function uses Mux device, and is used to call into the Mux code to create a fence.

Parameters
  • device[in] A Mux device.

  • allocator_info[in] Allocator information.

  • out_fence[out] The created fence, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void muxDestroyFence(mux_device_t device, mux_fence_t fence, mux_allocator_info_t allocator_info)

Destroy a fence.

This hook allows Mux to call into our partner’s code to destroy a fence that was created previously by the partner.

Parameters
  • device[in] The Mux device the fence was created with.

  • fence[in] The fence to destroy.

  • allocator_info[in] Allocator information.

mux_result_t muxCreateSemaphore(mux_device_t device, mux_allocator_info_t allocator_info, mux_semaphore_t *out_semaphore)

Create a semaphore.

The function uses Mux device, and is used to call into the Mux code to create a semaphore.

Parameters
  • device[in] A Mux device.

  • allocator_info[in] Allocator information.

  • out_semaphore[out] The created semaphore, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void muxDestroySemaphore(mux_device_t device, mux_semaphore_t semaphore, mux_allocator_info_t allocator_info)

Destroy a semaphore.

This hook allows Mux to call into our partner’s code to destroy a semaphore that was created previously by the partner.

Parameters
  • device[in] The Mux device the semaphore was created with.

  • semaphore[in] The semaphore to destroy.

  • allocator_info[in] Allocator information.

mux_result_t muxCreateCommandBuffer(mux_device_t device, mux_callback_info_t callback_info, mux_allocator_info_t allocator_info, mux_command_buffer_t *out_command_buffer)

Create a command buffer.

This function allows Mux to call into our partner’s code to create a command buffer. Command buffers are a construct whereby we can encapsulate a group of commands for execution on a device.

Parameters
  • device[in] A Mux device.

  • callback_info[in] User provided callback, which may be null, can be used by the implementation to provide detailed messages about command buffer execution to the user.

  • allocator_info[in] Allocator information.

  • out_command_buffer[out] The newly created command buffer, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxFinalizeCommandBuffer(mux_command_buffer_t command_buffer)

Finalize a command buffer.

This function allows Mux to call into our partner’s code to finalize a command buffer. Finalized command buffers are in an immutable state and cannot have further commands pushed to them.

Parameters

command_buffer[in] A Mux command buffer.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCloneCommandBuffer(mux_device_t device, mux_allocator_info_t allocator_info, mux_command_buffer_t command_buffer, mux_command_buffer_t *out_command_buffer)

Clone a command buffer.

This function allows Mux to call into our partner’s code to clone a command buffer.

Parameters
  • device[in] A Mux device.

  • allocator_info[in] Allocator information.

  • command_buffer[in] A Mux command buffer to clone.

  • out_command_buffer[out] The newly created command buffer, or uninitialized if an error occurred.

Returns

mux_success, a mux_error_* if an error occurred or mux_error_feature_unsupported if cloning command buffers is not supported by the device.

void muxDestroyCommandBuffer(mux_device_t device, mux_command_buffer_t command_buffer, mux_allocator_info_t allocator_info)

Destroy a command buffer.

This hook allows Mux to call into our partner’s code to destroy a command buffer that was created previously by the partner.

Parameters
  • device[in] The Mux device the command buffer was created with.

  • command_buffer[in] The command buffer to destroy.

  • allocator_info[in] Allocator information.

mux_result_t muxCreateExecutable(mux_device_t device, const void *binary, uint64_t binary_length, mux_allocator_info_t allocator_info, mux_executable_t *out_executable)

Load a binary into an executable container.

This function takes a precompiled binary and turns it into an executable.

Parameters
  • device[in] The Mux device to create the executable with.

  • binary[in] The source binary data.

  • binary_length[in] The length of the source binary (in bytes).

  • allocator_info[in] Allocator information.

  • out_executable[out] The newly created executable, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void muxDestroyExecutable(mux_device_t device, mux_executable_t executable, mux_allocator_info_t allocator_info)

Destroy an executable.

This hook allows Mux to call into our partner’s code to destroy an executable that was created previously by the partner.

Parameters
  • device[in] The Mux device the executable was created with.

  • executable[in] The executable to destroy.

  • allocator_info[in] Allocator information.

mux_result_t muxCreateKernel(mux_device_t device, mux_executable_t executable, const char *name, uint64_t name_length, mux_allocator_info_t allocator_info, mux_kernel_t *out_kernel)

Create a kernel from an executable.

This function creates an object that represents a kernel function inside an executable.

Parameters
  • device[in] The Mux device to create the kernel with.

  • executable[in] A previously created Mux executable.

  • name[in] The name of the kernel we want to create.

  • name_length[in] The length (in bytes) of name.

  • allocator_info[in] Allocator information.

  • out_kernel[out] The newly created kernel, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCreateBuiltInKernel(mux_device_t device, const char *name, uint64_t name_length, mux_allocator_info_t allocator_info, mux_kernel_t *out_kernel)

Create a kernel from a built-in kernel name provided by the device.

This function creates an object that represents a kernel which is provided by the device itself, rather than contained within a binary contained within an executable.

Parameters
  • device[in] The Mux device to create the kernel with.

  • name[in] The name of the kernel we want to create.

  • name_length[in] The length (in bytes) of name.

  • allocator_info[in] Allocator information.

  • out_kernel[out] The newly created kernel, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxQueryMaxNumSubGroups(mux_kernel_t kernel, size_t *out_max_num_sub_groups)

Query the maximum number of sub-groups that this kernel supports for each work-group.

Parameters
  • kernel[in] The Mux kernel to query the max number of subgroups for.

  • out_max_num_sub_groups[out] The maximum number of sub-groups this kernel supports.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxQueryLocalSizeForSubGroupCount(mux_kernel_t kernel, size_t sub_group_count, size_t *out_local_size_x, size_t *out_local_size_y, size_t *out_local_size_z)

Query the local size that would give the requested number of sub-groups.

This function queries a kernel for the local size that would give the requested number of sub-groups. It must return 0 if no local size would give the requested number of sub-groups.

Parameters
  • kernel[in] The Mux kernel to query the local size for.

  • sub_group_count[in] The requested number of sub-groups.

  • out_local_size_x[out] The local size in the x dimension which would give the requested number of sub-groups.

  • out_local_size_y[out] The local size in the y dimension which would give the requested number of sub-groups.

  • out_local_size_z[out] The local size in the z dimension which would give the requested number of sub-groups.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxQuerySubGroupSizeForLocalSize(mux_kernel_t kernel, size_t local_size_x, size_t local_size_y, size_t local_size_z, size_t *out_sub_group_size)

Query the sub-group size for the given local size.

This function queries a kernel for maximum sub-group size that would exist in a kernel enqueued with the local work-group size passed as parameters. A kernel enqueue may include one sub-group with a smaller size when the sub-group size doesn’t evenly divide the local size.

Parameters
  • kernel[in] The Mux kernel to query the sub-group size for.

  • local_size_x[in] The local size in the x dimension for which we wish to query sub-group size.

  • local_size_y[in] The local size in the y dimension for which we wish to query sub-group size.

  • local_size_z[in] The local size in the z dimension for which we wish to query sub-group size.

  • out_sub_group_size[out] The maximum sub-group sub-group size for the queried local size.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxQueryWFVInfoForLocalSize(mux_kernel_t kernel, size_t local_size_x, size_t local_size_y, size_t local_size_z, mux_wfv_status_e *out_wfv_status, size_t *out_work_width_x, size_t *out_work_width_y, size_t *out_work_width_z)

Query the whole function vectorization status and dimension work widths for the given local size.

This function queries a kernel for the whole function vectorization status and dimension work widths that would be applicable for a kernel enqueued with the local work-group size passed as parameters. The number of work-items executed per kernel invocation shall be equal to the dimension work widths returned from this function.

Parameters
  • kernel[in] The Mux kernel to query the WFV info for.

  • local_size_x[in] The local size in the x dimension for which we wish to query WFV info.

  • local_size_y[in] The local size in the y dimension for which we wish to query WFV info.

  • local_size_z[in] The local size in the z dimension for which we wish to query WFV info.

  • out_wfv_status[out] The status of whole function vectorization for the queried local size.

  • out_work_width_x[out] The work width in the x dimension for the queried local size.

  • out_work_width_y[out] The work width in the y dimension for the queried local size.

  • out_work_width_z[out] The work width in the z dimension for the queried local size.

Returns

mux_success, or a mux_error_* if an error occurred.

void muxDestroyKernel(mux_device_t device, mux_kernel_t kernel, mux_allocator_info_t allocator_info)

Destroy a kernel.

This hook allows Mux to call into our partner’s code to destroy a kernel that was created previously by the partner.

Parameters
  • device[in] The Mux device the kernel was created with.

  • kernel[in] The kernel to destroy.

  • allocator_info[in] Allocator information.

mux_result_t muxCreateQueryPool(mux_queue_t queue, mux_query_type_e query_type, uint32_t query_count, const mux_query_counter_config_t *query_counter_configs, mux_allocator_info_t allocator_info, mux_query_pool_t *out_query_pool)

Create a query pool.

This function creates a query pool into which data can be stored about the runtime behavior of commands on a queue.

Parameters
  • queue[in] The Mux queue to create the query pool with.

  • query_type[in] The type of query pool to create (one of the values in the enum mux_query_type_e).

  • query_count[in] The number of queries to allocate storage for.

  • query_counter_configs[in] Array of query counter configuration data with length query_count, must be provided when query_type is mux_query_type_counter, otherwise must be NULL.

  • allocator_info[in] Allocator information.

  • out_query_pool[out] The newly created query pool, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void muxDestroyQueryPool(mux_queue_t queue, mux_query_pool_t query_pool, mux_allocator_info_t allocator_info)

Destroy a query pool.

This hook allows Mux to call into our partner’s code to destroy a query pool that was created previously by the partner.

Parameters
  • queue[in] The Mux queue the query pool was created with.

  • query_pool[in] The Mux query pool to destroy.

  • allocator_info[in] Allocator information.

mux_result_t muxGetQueryCounterRequiredPasses(mux_queue_t queue, uint32_t query_count, const mux_query_counter_config_t *query_counter_configs, uint32_t *out_pass_count)

Get the number of passes required for valid query counter results.

Parameters
  • queue[in] A Mux queue.

  • query_count[in] The number of elements in the array pointed to by query_info.

  • query_counter_configs[in] Array of query counter configuration data with length query_count, must be provided when query_type is mux_query_type_counter, otherwise must be NULL.

  • out_pass_count[out] Return the number of passes required to produce valid results for the given list of query counters.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxGetQueryPoolResults(mux_queue_t queue, mux_query_pool_t query_pool, uint32_t query_index, uint32_t query_count, size_t size, void *data, size_t stride)

Get query results previously written to the query pool.

This function copies the requested query pool results previously written during runtime on the Mux queue into the user provided storage.

Parameters
  • queue[in] The Mux queue the query pool was created with.

  • query_pool[in] The Mux query pool to get the results from.

  • query_index[in] The query index of the first query to get the result of.

  • query_count[in] The number of queries to get the results of.

  • size[in] The size in bytes of the memory pointed to by data.

  • data[out] A pointer to the memory to write the query results into.

  • stride[in] The stride in bytes between query results to be written into data.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandReadBuffer(mux_command_buffer_t command_buffer, mux_buffer_t buffer, uint64_t offset, void *host_pointer, uint64_t size, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a read buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the read command to.

  • buffer[in] The buffer to read from.

  • offset[in] The offset (in bytes) into the buffer object to read.

  • host_pointer[out] The host pointer to write to.

  • size[in] The size (in bytes) of the buffer object to read.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandReadBufferRegions(mux_command_buffer_t command_buffer, mux_buffer_t buffer, void *host_pointer, mux_buffer_region_info_t *regions, uint64_t regions_length, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a read buffer regions command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the command to.

  • buffer[in] The buffer to read from.

  • host_pointer[out] The host pointer to write to.

  • regions[in] The regions to read from buffer to host_pointer.

  • regions_length[in] The length of regions.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandWriteBuffer(mux_command_buffer_t command_buffer, mux_buffer_t buffer, uint64_t offset, const void *host_pointer, uint64_t size, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a write buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the write command to.

  • buffer[in] The buffer to write to.

  • offset[in] The offset (in bytes) into the buffer object to write.

  • host_pointer[in] The host pointer to read from.

  • size[in] The size (in bytes) of the buffer object to write.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandWriteBufferRegions(mux_command_buffer_t command_buffer, mux_buffer_t buffer, const void *host_pointer, mux_buffer_region_info_t *regions, uint64_t regions_length, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a write buffer regions command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the command to.

  • buffer[in] The buffer to write to.

  • host_pointer[in] The host pointer to read from.

  • regions[in] The regions to read from host_pointer to buffer.

  • regions_length[in] The length of regions.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandCopyBuffer(mux_command_buffer_t command_buffer, mux_buffer_t src_buffer, uint64_t src_offset, mux_buffer_t dst_buffer, uint64_t dst_offset, uint64_t size, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the copy command to.

  • src_buffer[in] The source buffer to copy from.

  • src_offset[in] The offset (in bytes) into the source buffer to copy.

  • dst_buffer[in] The destination buffer to copy to.

  • dst_offset[in] The offset (in bytes) into the destination buffer to copy.

  • size[in] The size (in bytes) to copy.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandCopyBufferRegions(mux_command_buffer_t command_buffer, mux_buffer_t src_buffer, mux_buffer_t dst_buffer, mux_buffer_region_info_t *regions, uint64_t regions_length, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy buffer regions command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the copy command to.

  • src_buffer[in] The source buffer to copy from.

  • dst_buffer[in] The destination buffer to copy to.

  • regions[in] The regions to copy from src to dst.

  • regions_length[in] The length of regions.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandFillBuffer(mux_command_buffer_t command_buffer, mux_buffer_t buffer, uint64_t offset, uint64_t size, const void *pattern_pointer, uint64_t pattern_size, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a write buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer push the fill command to.

  • buffer[in] The buffer to fill.

  • offset[in] The offset (in bytes) into the buffer object to fill.

  • size[in] The size (in bytes) of the buffer object to fill.

  • pattern_pointer[in] The pointer to the pattern to read and fill the buffer with, this data must be copied by the device.

  • pattern_size[in] The size (in bytes) of pattern_pointer, the maximum size is 128 bytes which is the size of the largest supported vector type.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandReadImage(mux_command_buffer_t command_buffer, mux_image_t image, mux_offset_3d_t offset, mux_extent_3d_t extent, uint64_t row_size, uint64_t slice_size, void *pointer, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a read image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image read command to.

  • image[in] The image to read from.

  • offset[in] The x, y, z, offset in pixels into the image to read from.

  • extent[in] The width, height, depth in pixels of the image to read from.

  • row_size[in] The row size in bytes of the host addressable pointer data.

  • slice_size[in] The slice size in bytes of the host addressable pointer data.

  • pointer[out] The host addressable pointer to image data to write into.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandWriteImage(mux_command_buffer_t command_buffer, mux_image_t image, mux_offset_3d_t offset, mux_extent_3d_t extent, uint64_t row_size, uint64_t slice_size, const void *pointer, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a write image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image write command to.

  • image[in] The image to write to.

  • offset[in] The x, y, z, offset in pixel into the image to write to.

  • extent[in] The width, height, depth in pixels of the image to write to.

  • row_size[in] The row size in bytes of the host addressable pointer data.

  • slice_size[in] The slice size in bytes of the host addressable pointer data.

  • pointer[in] The host addressable pointer to image data to read from.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandFillImage(mux_command_buffer_t command_buffer, mux_image_t image, const void *color, uint32_t color_size, mux_offset_3d_t offset, mux_extent_3d_t extent, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a fill image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image fill command to.

  • image[in] The image to fill.

  • color[in] The color to fill the image with, this data must be copied by the device.

  • color_size[in] The size (in bytes) of the color.

  • offset[in] The x, y, z, offset in pixels into the image to fill.

  • extent[in] The width, height, depth in pixels of the image to fill.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandCopyImage(mux_command_buffer_t command_buffer, mux_image_t src_image, mux_image_t dst_image, mux_offset_3d_t src_offset, mux_offset_3d_t dst_offset, mux_extent_3d_t extent, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image copy command to.

  • src_image[in] The source image where data will be copied from.

  • dst_image[in] The destination image where data will be copied to.

  • src_offset[in] The x, y, z offset in pixels into the source image.

  • dst_offset[in] The x, y, z offset in pixels into the destination image.

  • extent[in] The width, height, depth in pixels range of the images to be copied.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandCopyImageToBuffer(mux_command_buffer_t command_buffer, mux_image_t src_image, mux_buffer_t dst_buffer, mux_offset_3d_t src_offset, uint64_t dst_offset, mux_extent_3d_t extent, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy image to buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image to buffer copy to.

  • src_image[in] The source image to copy data from.

  • dst_buffer[in] The destination buffer to copy data to.

  • src_offset[in] The x, y, z, offset in pixels into the source image to copy.

  • dst_offset[in] The offset in bytes into the destination buffer to copy.

  • extent[in] The width, height, depth in pixels of the image to copy.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandCopyBufferToImage(mux_command_buffer_t command_buffer, mux_buffer_t src_buffer, mux_image_t dst_image, uint32_t src_offset, mux_offset_3d_t dst_offset, mux_extent_3d_t extent, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy buffer to image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the buffer to image copy command to.

  • src_buffer[in] The source buffer to copy data from.

  • dst_image[in] The destination image to copy data to.

  • src_offset[in] The offset in bytes into the source buffer to copy.

  • dst_offset[in] The x, y, z, offset in pixels into the destination image to copy.

  • extent[in] The width, height, depth in pixels range of the data to copy.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandNDRange(mux_command_buffer_t command_buffer, mux_kernel_t kernel, mux_ndrange_options_t options, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push an N-Dimensional run command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the N-Dimensional run command to.

  • kernel[in] The kernel to execute.

  • options[in] The execution options to use during the run command.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxUpdateDescriptors(mux_command_buffer_t command_buffer, mux_command_id_t command_id, uint64_t num_args, uint64_t *arg_indices, mux_descriptor_info_t *descriptors)

Update arguments to an N-Dimensional run command within the command buffer.

Parameters
  • command_buffer[in] The command buffer containing an N-Dimensional run command to update.

  • command_id[in] The unique ID representing the index of the ND range command within its containing command buffer.

  • num_args[in] Number of arguments to the kernel to be updated.

  • arg_indices[in] Indices of the arguments to be updated in the order they appear as parameters to the kernel.

  • descriptors[in] Array of num_args argument descriptors which are the new values for the arguments to the kernel.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandUserCallback(mux_command_buffer_t command_buffer, mux_command_user_callback_t user_function, void *user_data, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a user callback to the command buffer.

User callback commands allow a command to be placed within a command buffer that will call back into user code. Care should be taken that the work done within the user callback is minimal, as this will stall any forward progress on the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the user callback command to.

  • user_function[in] The user callback to invoke, must not be null.

  • user_data[in] The data to pass to the user callback on invocation, may be null.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxCommandBeginQuery(mux_command_buffer_t command_buffer, mux_query_pool_t query_pool, uint32_t query_index, uint32_t query_count, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a begin query command to the command buffer.

Begin query commands enable a query pool for use storing query results.

Parameters
  • command_buffer[in] The command buffer to push the begin query command to.

  • query_pool[in] The query pool to store the query result in.

  • query_index[in] The initial query slot index that will contain the result.

  • query_count[in] The number of query slots to enable.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* error code in an error occurred.

mux_result_t muxCommandEndQuery(mux_command_buffer_t command_buffer, mux_query_pool_t query_pool, uint32_t query_index, uint32_t query_count, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a begin query command to the command buffer.

End query commands disable a query pool from use for storing query results.

Parameters
  • command_buffer[in] The command buffer to push the end query command to.

  • query_pool[in] The query pool the result is stored in.

  • query_index[in] The initial query slot index that contains the result.

  • query_count[in] The number of query slots to disable.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* error code in an error occurred.

mux_result_t muxCommandResetQueryPool(mux_command_buffer_t command_buffer, mux_query_pool_t query_pool, uint32_t query_index, uint32_t query_count, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a reset query pool command to the command buffer.

Reset query pool commands enable reuse of the query pool as if it was newly created.

Parameters
  • command_buffer[in] The command buffer to push the query pool reset command to.

  • query_pool[in] The query pool to reset.

  • query_index[in] The first query index to reset.

  • query_count[in] The number of query slots to reset.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* error code in an error occurred.

mux_result_t muxResetCommandBuffer(mux_command_buffer_t command_buffer)

Reset a command buffer.

Parameters

command_buffer[in] The command buffer to reset.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxDispatch(mux_queue_t queue, mux_command_buffer_t command_buffer, mux_fence_t fence, mux_semaphore_t *wait_semaphores, uint32_t wait_semaphores_length, mux_semaphore_t *signal_semaphores, uint32_t signal_semaphores_length, void (*user_function)(mux_command_buffer_t command_buffer, mux_result_t error, void *const user_data), void *user_data)

Push a command buffer to a queue.

Push a command buffer to a queue.

Parameters
  • queue[in] A Mux queue.

  • command_buffer[in] A command buffer to push to a queue.

  • fence[in] A fence to signal when the dispatch completes.

  • wait_semaphores[in] An array of semaphores that this dispatch must wait on before executing.

  • wait_semaphores_length[in] The length of wait_semaphores.

  • signal_semaphores[in] An array of semaphores that this dispatch will signal when complete.

  • signal_semaphores_length[in] The length of signal_semaphores.

  • user_function[in] The command buffer complete callback, may be null.

  • user_data[in] The data to pass to the command buffer complete callback on completion, may be null.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxTryWait(mux_queue_t queue, uint64_t timeout, mux_fence_t fence)

Try to wait for a fence to be signaled.

If the fence is not yet signaled, return mux_fence_not_ready.

Parameters
  • queue[in] A Mux queue.

  • timeout[in] The timeout period in units of nanoseconds. If the fence waited on isn’t signaled before timeout nanoseconds after the API is called, tryWait will return with the fence having not been signaled. timeout == UINT64_MAX indicates an infinite timeout period and the entry point will block until the fence is signaled.

  • fence[in] A fence to wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t muxWaitAll(mux_queue_t queue)

Wait for all previously pushed command buffers to complete.

Wait for all previously pushed command buffers to complete.

Parameters

queue[in] A Mux queue.

Returns

mux_success, or a mux_error_* if an error occurred.

struct mux_allocator_info_s
#include <mux.h>

Mux’s allocator container.

This struct is used to pass in the allocator functions, and the user data required, to a Mux device.

Public Members

void *(*alloc)(void *user_data, size_t size, size_t alignment)

Callback to allocate aligned memory.

void (*free)(void *user_data, void *pointer)

Callback to free previously allocated memory.

void *user_data

The user data to be used when calling our callbacks.

struct mux_callback_info_s
#include <mux.h>

Mux’s callback container.

This struct is used to pass in a message callback function, and the user data required, to a Mux device. The callback may be invoked by the implementation to provide more detailed information about API usage.

Public Members

void (*callback)(void *user_data, const char *message, const void *data, size_t data_size)

Callback to provide a message to the user.

void *user_data

The user data to be used when calling the callback.

struct mux_device_info_s
#include <mux.h>

Mux’s device information container.

Holds details about a partner device, allowing the access to them without initializing that device.

Subclassed by host::device_info_s, riscv::device_info_s

Public Members

mux_id_t id

The ID of this device object.

uint32_t allocation_capabilities

The buffer capabilities of this Mux device, a bitfield.

See

mux_allocation_capabilities_e

uint32_t address_capabilities

The addressing capabilities of this Mux device, a bitfield.

See

mux_address_capabilities_e

uint32_t atomic_capabilities

The atomic capabilities of this Mux device, a bitfield.

See

mux_atomic_capabilities_e

uint32_t cache_capabilities

The caching capabilities of this Mux device, a bitfield.

See

mux_cache_capabilities_e

uint32_t half_capabilities

The half floating point capabilities of this Mux device, a bitfield.

See

mux_floating_point_capabilities_e

uint32_t float_capabilities

The floating point capabilities of this Mux device, a bitfield.

See

mux_floating_point_capabilities_e

uint32_t double_capabilities

The double floating point capabilities of this Mux device, a bitfield.

See

mux_floating_point_capabilities_e

uint32_t integer_capabilities

The integer capabilities of this Mux device, a bitfield.

See

mux_integer_capabilities_e

uint32_t custom_buffer_capabilities

The custom buffer capabilities of this Mux device, a bitfield.

See

mux_custom_buffer_capabilities_e

uint32_t endianness

The endianness of this Mux device.

See

mux_endianness_e

uint32_t khronos_vendor_id

The unique Khronos-allocated vendor ID of this Mux device.

This value is assigned by Khronos to all fee-paying implementers of Khronos standards, used primarily to differentiate between different vendor implementations of standards. For Mux, we allow our partners to return 0 for applications that do not want to advertise that they support any of the Khronos standards, but if a partner does want to be able to tell their own userbase, or use Khronos conformance to any standard as part of any marketing materials, they must either have their own allocated Khronos ID, or use Codeplay’s Khronos ID.

For OpenCL, this value is queryable by calling clGetDeviceInfo, asking for CL_DEVICE_VENDOR_ID.

See

MUX_DEVICE_KHRONOS_CODEPLAY_ID

uint32_t shared_local_memory_type

The type of this Mux device’s shared local memory.

This value specifies which type a Mux device’s shared local memory is.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_LOCAL_MEM_TYPE.

See

mux_shared_local_memory_type_e

uint32_t device_type

The type of this Mux device.

This value specifies which type a Mux device is. This is used to provide information to users of the various standards that sit above Mux as to what each device actually is.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_TYPE.

See

mux_device_type_e

const char *builtin_kernel_declarations

A semicolon-separated, null-terminated list of built-in kernel declarations.

The declarations are of the form kernel_name(parameters), e.g., a_kernel(global float* foo, int bar). Kernel names and parameters conform to the OpenCL specification for kernel names and kernel parameters with the following exceptions:

  1. The leading __kernel keyword must not be used

  2. The return type (void) must be omitted

  3. Pointer parameters using [] notation must not be used

  4. Struct parameters and pointer-to-struct parameters must not be used

  5. Type and variable attributes (e.g., __attribute__*) must not be used

  6. All whitespace must only be characters; other whitespace characters (\t, \n, etc.) must not be used

  7. The built-in kernel name including a trailing NUL character must not exceed CL_NAME_VERSION_KHR (64 characters).

Also note that:

  1. Pointer-to-pointer parameters are not supported.

  2. The const and volatile type qualifiers are ignored when used with a value parameter. I.e., const int foo and int foo are equivalent.

const char *device_name

A null-terminated string, with static lifetime duration, of this Mux device’s name.

This value is a human-readable variant of the device_type field. It is used for standards that return a string to users to help them identify whose implementation of a given standard they are using.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_NAME.

uint32_t max_concurrent_work_items

The maximum number of work items in a work group that can run concurrently.

The maximum number of work items that can inhabit a work/thread group. Various standards refer to work items and work/thread groups using different lingo, but at the heart work items should execute on a given device concurrently, up to this maximum number of work items.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_MAX_WORK_GROUP_SIZE.

uint32_t max_work_group_size_x

The maximum work group size in the x dimension.

The maximum number of work items allowed in the x dimension of a work group.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_MAX_WORK_ITEM_SIZES.

uint32_t max_work_group_size_y

The maximum work group size in the y dimension.

The maximum number of work items allowed in the y dimension of a work group.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_MAX_WORK_ITEM_SIZES.

uint32_t max_work_group_size_z

The maximum work group size in the z dimension.

The maximum number of work items allowed in the z dimension of a work group.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_MAX_WORK_ITEM_SIZES.

uint32_t max_work_width

The maximum work width.

The maximum number of work items of a work group allowed to execute in one invocation of a kernel.

uint32_t clock_frequency

The clock frequency (in MHz) of this Mux device.

Used for standards that want to know the frequency of the chip they are going to execute with.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_MAX_CLOCK_FREQUENCY.

uint32_t compute_units

The number of compute units in this Mux device.

Used for standards that want to know how many distinct compute units make up a given Mux device.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_MAX_COMPUTE_UNITS.

uint32_t buffer_alignment

The alignment (in bytes) of buffer’s allocated via this device.

Used for standards that need to know what alignment buffer objects will have in device memory. Must be a power of 2.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE.

uint64_t memory_size

The size (in bytes) of our device memory.

Used for standards that want to know the total size of memory allocatable from each device.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_GLOBAL_MEM_SIZE.

uint64_t allocation_size

The maximum size (in bytes) of a single device memory allocation.

Used for standards that want to know the maximum size of a single memory allocation from each device. For some devices this value may be the same as memory_size, i.e. there is no single allocation limit beyond the total memory capacity.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_MAX_MEM_ALLOC_SIZE. For OpenCL full profile a minimum value of 128MiB (128*1024*1024) will be required, for embedded profile a minimum value of 1MiB (1*1024*1024) will be required.

Note

Although OpenCL also generally calculates maximum allocation size as 1/4 of total memory size, this is not required here, it is the OpenCL implementation’s responsibility to consider such things.

uint64_t cache_size

The size (in bytes) of our device memory cache.

Used for standards that want to know the total size of memory that is cached by the device.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_GLOBAL_MEM_CACHE_SIZE.

uint64_t cacheline_size

The size (in bytes) of our device memory cache line.

Used for standards that want to know the total size of memory that is held, in each line of a cache, by the device.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE.

uint64_t shared_local_memory_size

The size (in bytes) of our shared local device memory.

Used for standards that want to know the total size of memory allocatable in shared local memory from each device.

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for CL_DEVICE_LOCAL_MEM_SIZE.

uint32_t native_vector_width

Native vector width of the device (in bytes).

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for all of the CL_DEVICE_NATIVE_VECTOR_WIDTH_* queries.

uint32_t preferred_vector_width

Preferred vector width of the device (in bytes).

For OpenCL, this value is used to implement clGetDeviceInfo, when asking for all of the CL_DEVICE_PREFERRED_VECTOR_WIDTH_* queries.

bool image_support

Is true if the device supports images, false otherwise.

bool image2d_array_writes

Is true if the device supports 2D image array writes, false otherwise.

bool image3d_writes

Is true if the device supports 3D image writes, false otherwise.

uint32_t max_image_dimension_1d

The maximum dimension size in pixels for a one dimensional image, zero if images are not supported.

uint32_t max_image_dimension_2d

The maximum dimension size in pixels for a two dimensional image, zero if images are not supported.

uint32_t max_image_dimension_3d

The maximum dimension size in pixels for a three dimensional image, zero if images are not supported.

uint32_t max_image_array_layers

The maximum array layers count for an image array, zero if images are not supported.

uint32_t max_storage_images

The maximum number of bound images for image storage (write), zero if images are not supported.

uint32_t max_sampled_images

The maximum number of bound images for image sampling (read), zero if images are not supported.

uint32_t max_samplers

The maximum number of bound samplers, zero if images are not supported.

uint32_t queue_types[mux_queue_type_total]

The number of queues of each type that are available with this device.

int8_t device_priority

The priority of devices on the system for deciding which should be default device.

This value is used for tracking device priority when deciding which devices shall be returned if CL_DEVICE_TYPE_DEFAULT is requested. Host will have a value of 0 where higher priority devices will be in the positive range and conversely a lower priority for the negative range.

bool query_counter_support

If true the device supports mux_query_type_counter, false otherwise.

bool descriptors_updatable

If true the device supports updating the mux_device_info_t argument descriptors passed to a specialized kernel in a muxCommandNDRange command after the containing mux_command_buffer has been finalized.

bool can_clone_command_buffers

If true the device supports cloning mux_command_buffers via the muxCloneCommandBuffer entry point.

bool supports_builtin_kernels

If true the device supports creating built-in kernels via the muxCreateBuiltInKernel entry point.

uint32_t max_sub_group_count

The maximum number of sub-groups in a work-group. A target not supporting sub-groups must set this to 0.

bool sub_groups_support_ifp

If true the device supports independent forward progress in its sub-groups. A target not supporting sub-groups must set this to false.

uint32_t max_hardware_counters

Maximum number of hardware counters that can be active at one time.

bool supports_work_group_collectives

Boolean value indicating if work-group collective functions are supported by the device.

bool supports_generic_address_space

Boolean value indicating if the generic address space is supported by the device.

size_t num_sub_group_sizes

The number of sub-group sizes supported by the device, pointed to by sub_group_sizes.

size_t *sub_group_sizes

List of sub-group sizes supported by the device, sized by num_sub_group_sizes.

struct mux_device_s
#include <mux.h>

Mux’s device container.

The entry struct into all partner code - the device. Each partner must register at least one device (by defining hooks of type coreGetDeviceInfos_t and coreCreateDevices_t). All other partner code is interfaced with through instances of this device struct.

Subclassed by host::device_s, mux::hal::device

Public Members

mux_id_t id

The ID of this device object, matches the device info ID.

mux_device_info_t info

The information associated with this device.

struct mux_memory_requirements_s
#include <mux.h>

Description of the device memory requirements of a buffer or an image.

Public Members

uint64_t size

The size in bytes of device memory required.

uint32_t alignment

The alignment in bytes of the required device memory offset.

uint32_t supported_heaps

Bitfield of device memory heaps which support this buffer or image. The bitfield must have at least one bit set, for implementations with only one heap the first bit must be set.

struct mux_memory_s
#include <mux.h>

Mux’s memory container.

Each Mux device can allocate memory which can be bound to objects requiring device memory, such as buffers and images.

Subclassed by host::memory_s, mux::hal::memory

Public Members

mux_id_t id

The ID of this memory object.

uint64_t size

The size in bytes of the allocated device memory.

uint32_t properties

The memory properties of the allocated device memory.

uint64_t handle

A handle to the allocated memory. For memory objects with the mux_memory_property_host_visible property this is a host accessible pointer.

struct mux_buffer_s
#include <mux.h>

Mux’s buffer container.

Each Mux device can allocate buffers for use when executing programs on a device.

Subclassed by host::buffer_s, mux::hal::buffer

Public Members

mux_id_t id

The ID of this buffer object.

mux_memory_requirements_s memory_requirements

The device memory requirements for this buffer.

struct mux_offset_3d_s
#include <mux.h>

Describes an offset in three dimensions.

Public Members

uint32_t x

The value of the x dimension of the three dimensional offset.

uint32_t y

The value of the y dimension of the three dimensional offset.

uint32_t z

The value of the z dimension of the three dimensional offset.

struct mux_extent_3d_s
#include <mux.h>

Describes a range in three dimensions.

Public Members

size_t x

The value of the x dimension of the three dimensional extent.

size_t y

The value of the y dimension of the three dimensional extent.

size_t z

The value of the z dimension of the three dimensional extent.

struct mux_extent_2d_s
#include <mux.h>

Describes a range in two dimensions.

Public Members

size_t x

The value of the x dimension of the two dimensional extent.

size_t y

The value of the y dimension of the two dimensional extent.

struct mux_image_s
#include <mux.h>

Mux’s image container.

Each Mux device can allocate images for use when executing programs on a device.

Subclassed by host::image_s

Public Members

mux_id_t id

The ID of this image object.

mux_memory_requirements_s memory_requirements

The device memory requirements for this image.

mux_image_type_e type

The type of this image.

mux_image_format_e format

The pixel format of this image.

uint32_t pixel_size

The size in bytes of a single pixel.

mux_extent_3d_t size

The width, height, depth of this image.

uint32_t array_layers

The number of array layers in the image.

uint64_t row_size

The size in bytes of an image row.

uint64_t slice_size

The size in bytes of an image slice.

mux_image_tiling_e tiling

The current image tiling mode of this image.

struct mux_sampler_s
#include <mux.h>

A container describing a sampler.

Public Members

mux_id_t id

The ID of this sampler object.

mux_address_mode_e address_mode

Specify what happens when an out-of-range image coordinate is specified.

mux_filter_mode_e filter_mode

Specify what kind of filter to user when reading image data.

bool normalize_coords

If true sampler expects coordinates to be normalized, if false sampler does not expect normalized coordinates.

struct mux_queue_s
#include <mux.h>

Mux’s queue container.

Each Mux device has zero or more queues to execute programs, run commands, and interact with the asynchronous device. This struct contains members that denote information about this queue.

Subclassed by host::queue_s, riscv::queue_s

Public Members

mux_id_t id

The ID of this queue object.

mux_device_t device

The Mux device that this object was got from.

struct mux_semaphore_s
#include <mux.h>

Mux’s semaphore container.

Each Mux device can allocate a semaphore that can be used to synchronize on device between command buffer’s.

Subclassed by host::semaphore_s, mux::hal::semaphore

Public Members

mux_id_t id

The ID of this semaphore object.

mux_device_t device

The Mux device that this object was created from.

struct mux_fence_s
#include <mux.h>

Mux’s fence container.

Each Mux device can allocate a fence that can be used to synchronize from device to host.

Subclassed by host::fence_s, mux::hal::fence

Public Members

mux_id_t id

The ID of this fence object.

mux_device_t device

The Mux device that this object was created from.

struct mux_sync_point_s
#include <mux.h>

Mux’s sync-point container.

Each Mux command-buffer command can return a sync-point object that can be used to synchronize on commands inside a command-buffer.

Subclassed by host::sync_point_s, riscv::sync_point_s

Public Members

mux_id_t id

The ID of this sync-point object.

mux_command_buffer_t command_buffer

The Mux command-buffer that this object was created from.

struct mux_executable_s
#include <mux.h>

Mux’s executable container.

Subclassed by host::executable_s, mux::hal::executable

Public Members

mux_id_t id

The ID of this executable object.

mux_device_t device

The Mux device that this object was created from.

struct mux_kernel_s
#include <mux.h>

Mux’s kernel container.

Subclassed by mux::hal::kernel< mux::hal::kernel_variant_s >, host::kernel_s, mux::hal::kernel< VariantData >

Public Members

mux_id_t id

The ID of this kernel object.

mux_device_t device

The Mux device that this object was created from.

size_t preferred_local_size_x

The preferred local size in the x dimension for this kernel.

size_t preferred_local_size_y

The preferred local size in the y dimension for this kernel.

size_t preferred_local_size_z

The preferred local size in the z dimension for this kernel.

size_t local_memory_size

The amount of local memory used by this kernel.

struct mux_ndrange_options_s
#include <mux.h>

Describes a kernel’s execution options.

Public Members

mux_descriptor_info_t *descriptors

Array of argument descriptors.

uint64_t descriptors_length

Length of the descriptors array.

size_t local_size[3]

Local size in the x, y and z dimensions.

const size_t *global_offset

Array of global offsets (can be null).

const size_t *global_size

Array of global sizes.

size_t dimensions

The length of global_offset and global_size (if they are non-null).

struct mux_command_buffer_s
#include <mux.h>

Mux’s command buffer container.

Subclassed by host::command_buffer_s, riscv::command_buffer_s

Public Members

mux_id_t id

The ID of this command buffer object.

mux_device_t device

The Mux device that this object was created from.

struct mux_query_pool_s
#include <mux.h>

Mux’s query pool container.

Subclassed by host::query_pool_s, mux::hal::query_pool

Public Members

mux_id_t id

The ID of this query pool object.

mux_query_type_e type

The type of the query pool (one of the values in the enum mux_query_type_e).

uint32_t count

The total number of queries that can be stored in the query pool.

struct mux_query_counter_s
#include <mux.h>

Mux’s query counter information container.

Public Members

mux_query_counter_unit_e unit

The unit of the query counter result.

mux_query_counter_storage_e storage

The storage type of the query counter result.

uint32_t uuid

The unique ID of the query counter.

uint32_t hardware_counters

How many hardware counters this query counter uses to take its measurement.

struct mux_query_counter_description_s
#include <mux.h>

Mux’s query counter description container.

Public Members

char name[256]

The counter name stored in a UTF-8 encoded null terminated array of 256 characters.

char category[256]

The counter category stored in a UTF-8 encoded null terminated array of 256 characters.

char description[256]

The counter description stored in a UTF-8 encoded null terminated array of 256 characters.

struct mux_query_counter_config_s
#include <mux.h>

Mux’s query counter configuration container.

Public Members

uint32_t uuid

The unique ID of the query counter.

void *data

Data used to specify how a counter is to be configured, may be NULL.

struct mux_query_duration_result_s
#include <mux.h>

Mux’s duration query result container.

Public Members

uint64_t start

The CPU timestamp at the start of the command, in nanoseconds.

uint64_t end

The CPU timestamp at the end of the command, in nanoseconds.

struct mux_query_counter_result_s
#include <mux.h>

Mux’s counter query result container.

Public Members

union mux_query_counter_result_s

The union of possible counter query results.

struct mux_descriptor_info_buffer_s
#include <mux.h>

A Mux descriptor for buffers.

Public Members

mux_buffer_t buffer

Buffer descriptor.

uint64_t offset

Offset in bytes into buffer.

struct mux_descriptor_info_image_s
#include <mux.h>

A Mux descriptor for images.

Public Members

mux_image_t image

Image object.

struct mux_descriptor_info_sampler_s
#include <mux.h>

A Mux descriptor for samplers.

Public Members

mux_sampler_t sampler

Sampler object.

struct mux_descriptor_info_plain_old_data_s
#include <mux.h>

A Mux descriptor for plain old data.

Public Members

const void *data

Pointer to plain old data.

size_t length

Size in bytes of data storage.

struct mux_descriptor_info_shared_local_buffer_s
#include <mux.h>

A Mux descriptor for a shared local buffer.

Public Members

size_t size

Size in bytes of shared local buffer.

struct mux_descriptor_info_custom_buffer_s
#include <mux.h>

A Mux descriptor for a custom buffer.

Public Members

const void *data

Pointer to custom data representing the buffer.

size_t size

Size in bytes of the memory pointed to by data.

uint32_t address_space

Address space of the custom buffer.

struct mux_descriptor_info_s
#include <mux.h>

Mux’s descriptor container.

Public Members

uint32_t type

The type of this descriptor (one of the values in the enum mux_descriptor_info_type_e).

struct mux_buffer_region_info_s
#include <mux.h>

A buffer region.

Public Members

mux_extent_3d_t region

The dimensions of the region of memory. If a 2D shape z must be 1, if a 1D shape y and z must be 1.

mux_extent_3d_t src_origin

In bytes, source origin offset expressed in 3D.

mux_extent_3d_t dst_origin

In bytes, destination origin offset, expressed in 3D.

mux_extent_2d_t src_desc

The description of the source buffer, where x represents the length of a row, and y represents the size of a 2D slice. If a 1D shape y must be 1.

mux_extent_2d_t dst_desc

The description of the destination buffer, where x represents the length of a row, and y represents the size of a 2D slice. If a 1D shape y must be 1.

compiler::utils

A set of C++ utilities are provides along side mux, whilst it is not required to make use of them they prove useful when implementing and maintaining an implementation of the API for a specific device.

group utils

Defines

UTILS_SYSTEM_32_BIT

Typedefs

using BuiltinID = int32_t
using ParamTypeAttrsPair = std::pair<llvm::Type*, llvm::AttributeSet>
using UpdateMDCallbackFn = std::function<void(llvm::Function &oldFn, llvm::Function &newFn, unsigned)>
using CreateLoopBodyFn = std::function<llvm::BasicBlock*(llvm::BasicBlock*, llvm::Value*, llvm::ArrayRef<llvm::Value*>, llvm::MutableArrayRef<llvm::Value*>)>

Enums

enum BaseBuiltinID

Values:

enumerator eBuiltinUnknown
enumerator eMuxBuiltinIsFTZ
enumerator eMuxBuiltinUseFast
enumerator eMuxBuiltinIsEmbeddedProfile
enumerator eMuxBuiltinGetGlobalSize
enumerator eMuxBuiltinGetGlobalId
enumerator eMuxBuiltinGetGlobalOffset
enumerator eMuxBuiltinGetLocalSize
enumerator eMuxBuiltinGetLocalId
enumerator eMuxBuiltinSetLocalId
enumerator eMuxBuiltinGetSubGroupId
enumerator eMuxBuiltinSetSubGroupId
enumerator eMuxBuiltinGetNumGroups
enumerator eMuxBuiltinGetNumSubGroups
enumerator eMuxBuiltinSetNumSubGroups
enumerator eMuxBuiltinGetMaxSubGroupSize
enumerator eMuxBuiltinSetMaxSubGroupSize
enumerator eMuxBuiltinGetGroupId
enumerator eMuxBuiltinGetWorkDim
enumerator eMuxBuiltinDMARead1D
enumerator eMuxBuiltinDMARead2D
enumerator eMuxBuiltinDMARead3D
enumerator eMuxBuiltinDMAWrite1D
enumerator eMuxBuiltinDMAWrite2D
enumerator eMuxBuiltinDMAWrite3D
enumerator eMuxBuiltinDMAWait
enumerator eMuxBuiltinGetGlobalLinearId
enumerator eMuxBuiltinGetLocalLinearId
enumerator eMuxBuiltinGetEnqueuedLocalSize
enumerator eMuxBuiltinGetSubGroupSize
enumerator eMuxBuiltinGetSubGroupLocalId
enumerator eMuxBuiltinMemBarrier
enumerator eMuxBuiltinSubGroupBarrier
enumerator eMuxBuiltinWorkGroupBarrier
enumerator GROUP_BUILTINS
enumerator GROUP_BUILTINS
enumerator eLastMuxWorkgroupCollectiveBuiltin
enumerator GROUP_BUILTINS
enumerator eMuxBuiltinSubgroupShuffle
enumerator eMuxBuiltinSubgroupShuffleUp
enumerator eMuxBuiltinSubgroupShuffleDown
enumerator eMuxBuiltinSubgroupShuffleXor
enumerator eLastMuxSubgroupCollectiveBuiltin
enumerator GROUP_BUILTINS
enumerator eLastMuxVecgroupCollectiveBuiltin
enumerator eFirstTargetBuiltin
enum BuiltinUniformity

Describes the uniformity of a builtin’s return values. An uniform value is the same for all instances (e.g. SIMD lanes).

Values:

enumerator eBuiltinUniformityUnknown

The uniformity of the builtin’s return value cannot be determined.

enumerator eBuiltinUniformityNever

The builtin never returns uniform values.

enumerator eBuiltinUniformityAlways

The builtin always returns uniform values.

enumerator eBuiltinUniformityLikeInputs

The builtin returns uniform values if its inputs are uniform.

enumerator eBuiltinUniformityInstanceID

The builtin returns a sequential instance ID value (e.g. get_local_id in OpenCL).

enumerator eBuiltinUniformityMaybeInstanceID

The builtin might return a sequential instance ID value, if its argument can be zero (e.g. get_local_id(x)).

enum BuiltinProperties

Describes certain properties of builtin functions that the vectorizer needs to know about.

Values:

enumerator eBuiltinPropertyNone

The builtin has no special propery.

enumerator eBuiltinPropertyWorkItem

The builtin returns a value related to the geometry of the work space, such as its dimension or an index into that dimensions.

enumerator eBuiltinPropertyExecutionFlow

The builtin can affect the execution flow (e.g. barrier).

enumerator eBuiltinPropertyReduction

The builtin implements a reduction, that is, it takes vector arguments and returns a scalar value.

enumerator eBuiltinPropertySideEffects

The builtin has known side-effects.

enumerator eBuiltinPropertyNoSideEffects

The builtin is known to have no runtime side-effects. This is equivalent to ‘readonly’ or ‘readnone’ in IR. The return value depends only on the values of the arguments.

enumerator eBuiltinPropertySupportsInstantiation

The builtin can be instantiated, even if it has side-effects. Builtins with ‘NoSideEffects’ should not be instantiated unless they also have this flag, because of the ‘noduplicate’ IR attribute.

enumerator eBuiltinPropertyNoVectorEquivalent

The builtin has no vector equivalent. There may be functions that have the same signature that a vector equivalent function would have, but these functions should not be used for that purpose. This can also mean that a vector builtin has no scalar equivalent.

enumerator eBuiltinPropertyVectorEquivalent

The builtin has a vector equivalent. This is used for the LLVM intrinsics, since for the OpenCL builtins we can determine that programmatically. It can also mean that a builtin has a scalar equivalent.

enumerator eBuiltinPropertyCanEmitInline

The builtin can be emitted inline.

enumerator eBuiltinPropertyPointerReturnEqualRetTy

The builtin returns a value through its pointer argument. The returned type is equal to the function return type.

enumerator eBuiltinPropertyInlinePostVectorization

The builtin wants to be inlined post vectorization.

enumerator eBuiltinPropertyPointerReturnEqualIntRetTy

The builtin returns a value through its pointer argument. The returned value is an i32 scalar or vector, matching the function return type: float -> i32, <4 x double> -> <4 x i32>, etc.

enumerator eBuiltinPropertyLocalID

The builtin returns local work item ID.

enumerator eBuiltinPropertyAtomic

The builtin is atomic.

enumerator eBuiltinPropertyRematerializable

The builtin is rematerializable on the other side of a barrier.

The WorkItemLoopsPass queries this property to prune the number of live variables that are stored and passed between barrier regions. Calls to rematerializable builtins are removed from the live variable structure, and are re-inserted into each barrier region that requires their results.

enumerator eBuiltinPropertyLowerToMuxBuiltin

The builtin should be lowered to a mux builtin.

This mapping takes place in BuiltinInfo::lowerBuiltinToMuxBuiltin.

enumerator eBuiltinPropertyKnownNonConvergent

The builtin is known not be be convergent, i.e., it does not depend on any other work-item in any way.

enum BuiltinMatFlags

Describes how builtins should be materialized.

Values:

enumerator eBuiltinMatDefault

Use default materialization options.

enumerator eBuiltinMatDefinition

The body of the builtin should be materialized.

Functions

static inline llvm::Type *getPointerReturnPointeeTy(const llvm::Function &F, BuiltinProperties Props)
std::unique_ptr<BILangInfoConcept> createCLBuiltinInfo(llvm::Module *builtins)

Convenience function for constructing a CLBuiltinInfo as a unique_ptr.

Parameters

builtins[in] the Builtin module

Returns

a std::unique_ptr to a new CLBuiltinInfo

llvm::Value *isThreadEQ(llvm::BasicBlock *bb, unsigned x, unsigned y, unsigned z, llvm::Function &GetLocalIDFn)

Helper function to check the local ID of the current thread.

Parameters
  • bb[in] Basic block to generate the check in.

  • x[in] The local id in the x dimension to compare against.

  • y[in] The local id in the y dimension to compare against.

  • z[in] The local id in the z dimension to compare against.

  • GetLocalIDFn[in] Function used to get the local work-item ID

Returns

A true Value if the local ID equals that passed via the index arguments, false otherwise.

llvm::Value *isThreadZero(llvm::BasicBlock *bb, llvm::Function &GetLocalIDFn)

Helper function to check if the local ID of the current thread is {0, 0, 0}.

Parameters
  • bb[in] Basic block to generate the check in.

  • GetLocalIDFn[in] Function used to get the local work-item ID

Returns

A true Value if the local ID is {0, 0, 0} / false otherwise.

void buildThreadCheck(llvm::BasicBlock *entryBlock, llvm::BasicBlock *trueBlock, llvm::BasicBlock *falseBlock, llvm::Function &GetLocalIDFn)

Insert ‘thread-checking’ logic in the entry block, so that control branches to the ‘true’ block when the current work-item in the first in the work-group (e.g. ID zero in all dimensions) or to the ‘false’ block for other work-items.

Parameters
  • entryBlock[in] Block to insert the ‘thread-checking’ logic

  • trueBlock[in] Block to execute only on the first work-item

  • falseBlock[in] Block to execute on all other work-items

  • GetLocalIDFn[in] Function used to get the local work-item ID

llvm::StructType *getOrCreateMuxDMAEventType(llvm::Module &m)

Gets or creates the __mux_dma_event_t type.

This type may be declared by other passes hence we “get or create it”.

Parameters

m[in] LLVM Module to get or create the type in.

Returns

The opaque struct declaration of the __mux_dma_event_t type.

uint64_t computeApproximatePrivateMemoryUsage(const llvm::Function &fn)

Calculate (approximately) the amount of private memory used by a kernel.

Parameters

fn – The kernel function

Returns

uint64_t The private memory used by the kernel function in bytes.

void replaceConstantExpressionWithInstruction(llvm::Constant *const constant)

Forces a constant expression or constant vector back to a normal instruction.

Parameters

constant[in] to be replaced

void remapConstantExpr(llvm::ConstantExpr *expr, llvm::Constant *from, llvm::Constant *to)

remap operands of a constant expression

Note

This will create a new constant expression and replace references to the original constant with the new one

Parameters
  • expr[in] Constant expression to be remapped

  • from[in] Constant which if found in expression will be replaced

  • to[in] Constant which will replace any operands which are from

void remapConstantArray(llvm::ConstantArray *arr, llvm::Constant *from, llvm::Constant *to)

remap operands of a constant array

Note

This will create a new constant array and replace references to the original constant with the new one

Parameters
  • arr[in] Constant array to be remapped

  • from[in] Constant which if found in array will be replaced

  • to[in] Constant which will replace any operands which are from

bool funcContainsDebugMetadata(const llvm::Function &func, llvm::ValueToValueMapTy &vmap)

Discover if input function references debug info metadata nodes.

Parameters
  • func[in] Function to check

  • vmap[inout] Value map updated with identity mappings of any debug info metadata found

Returns

bool True if function contains debug info, false otherwise

llvm::AttributeList getCopiedFunctionAttrs(const llvm::Function &oldFn, int numParams = -1)

Return a copy of a function’s function, return, and parameter attributes.

Only parameter attributes from indices 0 to numParams are copied. If numParams is negative, all parameter attributes are copied.

void copyFunctionAttrs(const llvm::Function &oldFn, llvm::Function &newFn, int numParams = -1)

Copy a function’s attributes to a new function.

Parameters
  • oldFn[in] Function to copy function attributes from.

  • newFn[in] Function to copy function attributes to.

  • numParams[in] number of parameters to copy attributes from, starting from the first parameter. If set to a negative number, will copy all parameter attributes.

bool cloneFunctionsAddArg(llvm::Module &module, std::function<ParamTypeAttrsPair(llvm::Module&)> paramTypeFunc, std::function<void(const llvm::Function&, bool &ClonedWithBody, bool &ClonedNoBody)> toBeClonedFunc, const UpdateMDCallbackFn &updateMetaDataCallback = nullptr)

Clone functions in a module and add an argument to them.

This iterates through all the functions in a module but only clones and adds the extra param for those that meet the following criteria after setting clonedNoBody and ClonedWithBody from the toBeCloned expression:-

  1. !function declaration or ClonedNoBody or is a function declaration and ClonedWithBody

  2. Not already processed

Parameters
  • module – LLVM module containing the functions

  • paramTypeFunc – Additional parameter to be added defined as a function returning the type and set of attributes. This function takes a module, primarily to access DataLayout

  • toBeClonedFunc – function which dictates whether each function is cloned

  • updateMetaDataCallback – if set, is invoked with the old function, new function and new argument index.

Returns

bool if the module has changed (currently always true)

void remapClonedCallsites(llvm::Function &oldFunc, llvm::Function &newFunc, bool extraArg)

Updates call instructions after to function clone to point to newFunc instead of oldFunc, old call instructions are deleted.

Parameters
  • oldFunc[in] Function which has been cloned

  • newFunc[in] Cloned function to point callsites to

  • extraArg[in] Whether the cloned callee has an extra argument added

llvm::BasicBlock *createLoop(llvm::BasicBlock *entry, llvm::BasicBlock *exit, llvm::Value *indexStart, llvm::Value *indexEnd, const CreateLoopOpts &opts, CreateLoopBodyFn body)

Create a loop around a body, creating an implicit induction variable (IV) between specified start and end values, and incremented by a user-specified amount. The loop thus has a trip count equal to the following C-style loop: for (auto i = start; i < end; i += incr).

Note that this helper always creates a CFG loop, even if the loop bounds are known not to produce a loop at compile time. Users can use stock LLVM optimizations to eliminate/simplify the loop in such a case.

The parameters of this function are as follows: the loop body BasicBlock; the Value corresponding to the IV beginning at indexStart and incremented each iteration by indexInc while less than indexEnd; the list of IVs for this iteration of the loop (may or may not be PHIs, depending on the loop bounds); the list of IVs for the next iteration of the loop (the function is required to fill these in). Both these sets of IVs will be arrays of equal length to the original list of IVs, in the same order. The function returns the loop latch/exiting block: this block will be given the branch that decides between continuing the loop and exiting from it.

Parameters
  • entry – Loop pre-header block. This block will be rewired to jump into the new loop.

  • exit – Loop exit block. The new loop will jump to this once it exits.

  • indexStart – The start index

  • indexEnd – The end index (we compare for <)

  • opts – Set of options configuring the generation of this loop.

  • body – Body of code to insert into loop.

Returns

llvm::BasicBlock* The exit block

llvm::Argument *getLastArgument(llvm::Function *f)

Get the last argument of a function.

Parameters

f – An LLVM function to get an argument from.

Returns

An LLVM argument.

unsigned getSizeTypeBytes(const llvm::Module &m)

get the device-side size of size_t type in bytes.

llvm::IntegerType *getSizeType(const llvm::Module &m)

get a size_t type.

Returns

a LLVM IntegerType representing size_t.

llvm::Function *createKernelWrapperFunction(llvm::Module &M, llvm::Function &F, llvm::ArrayRef<llvm::Type*> ArgTypes, llvm::StringRef Suffix, llvm::StringRef OldSuffix = "")

Creates a wrapper function (without body), intended for calling F.

declare void @foo() ; Function attrs “mux-base-fn-name”=”baz” declare void @bar()

With suffix ‘.wrapper’, this function will produce:

declare void @foo.wrapper() declare void @baz.wrapper()

With suffix ‘.new’ and old suffix ‘.old’, this function will produce:

declare void @foo.old() ; Function attrs “mux-base-fn-name”=”baz” declare void @bar.old()

declare void @foo.new() declare void @baz.new()

It is advised that the suffix begins with a character that may not occur in the original source language, to avoid clashes with user functions.

Note

This takes the metadata and debug from the original function. This is intended to be used for creating a function which replaces the original function but calls the original.

Note

The name of the wrapper function is computed as the original name of F followed by the Suffix. The original name of F is taken from F’s ‘mux-base-fn-name’ attribute, if set, else it is F’s name:

Parameters
  • M – Containing module

  • F – Kernel function which is being replaced

  • ArgTypes – List of types to be used for the new function

  • Suffix – String to which to append to the new function

  • OldSuffix – String to which to append to the old function

llvm::Function *createKernelWrapperFunction(llvm::Function &F, llvm::StringRef Suffix, llvm::StringRef OldSuffix = "")

As above, but creating a wrapper with the exact function signature of F.

Copies over all parameter names and attributes.

llvm::CallInst *createCallToWrappedFunction(llvm::Function &WrappedF, const llvm::SmallVectorImpl<llvm::Value*> &Args, llvm::BasicBlock *BB, llvm::BasicBlock::iterator InsertPt, llvm::StringRef Name = "")

Creates a call to a a wrapped function.

Sets the calling convention and call-site attributes to match the wrapped function.

Parameters
  • WrappedF – the function to call

  • Args – the list of arguments to pass to the call

  • BB – the basic block into which to insert the call. May be null, in which case the call is not inserted anywhere.

  • InsertPt – the point in BB at which to insert the call

  • Name – the name of the call instruction. May be empty.

Returns

The call instruction

llvm::Value *createBinOpForRecurKind(llvm::IRBuilderBase &B, llvm::Value *LHS, llvm::Value *RHS, llvm::RecurKind Kind)

Create a binary operation corresponding to the given llvm::RecurKind with the two provided arguments. It may not necessarily return one of LLVM’s in-built BinaryOperators, or even one operation: integer min/max operations may defer to multiple instructions or intrinsics depending on the LLVM version.

Parameters
  • B[in] the IRBuilder to build new instructions

  • LHS[in] the left-hand value for the operation

  • RHS[in] the right-hand value for the operation

  • Kind[in] the kind of operation to create

Returns

The binary operation.

UniqueOpaqueStructsPass() = default
llvm::PreservedAnalyses run(llvm::Module&, llvm::ModuleAnalysisManager&)
uint64_t timestampMicroSeconds()

Get the current system clock tick count in nanoseconds.

Returns

Clock time count measured in nanoseconds.

uint64_t timestampNanoSeconds()

Get the current system clock tick count in nanoseconds.

Returns

Clock time count measured in nanoseconds.

struct compiler::utils::Builtin
#include <builtin_info.h>

struct to hold information about a builtin function

Subclassed by compiler::utils::BuiltinCall

Public Functions

inline bool isUnknown() const

returns whether the builtin is unknown

Public Members

const llvm::Function &function

the builtin Function

const BuiltinID ID

ID for internal use.

const BuiltinProperties properties

the Builtin Properties

std::vector<llvm::Type*> mux_overload_info = {}

list of types used in overloading this builtin (only relevant for overloadable mux builtins)

struct compiler::utils::BuiltinCall : public compiler::utils::Builtin
#include <builtin_info.h>

struct to hold information about a builtin function call

Public Functions

inline BuiltinCall(const Builtin &B, const llvm::CallInst &CI, BuiltinUniformity U)

constructor

Public Members

const llvm::CallInst &call

the call instruction

const BuiltinUniformity uniformity

the uniformity of the builtin call

class compiler::utils::BuiltinInfo
#include <builtin_info.h>

A class that encapsulates information and transformations concerning compiler builtin functions.

It provides methods for querying data about builtin functions, methods for emitting bodies of builtins “inline”, and methods for materializing builtins from an external source.

It contains a BIMuxInfoConcept implementation to provide mux builtin information on a target-by-target basis.

It contains an optional BILangInfoConcept implementation to provide builtin information on a target-by-target basis.

Public Functions

llvm::Module *getBuiltinsModule()

Retrieves the optional module containing builtin definitions.

std::optional<Builtin> analyzeBuiltin(const llvm::Function &F) const

Determine general properties for the given builtin function.

Parameters

F[in] Function to analyze.

Returns

Analyzed properties for the builtin.

std::optional<BuiltinCall> analyzeBuiltinCall(const llvm::CallInst &CI, unsigned SimdDimIdx) const

Determine general properties for the given builtin function.

Parameters

CI[in] Call instruction to analyze.

Returns

Analyzed properties for the builtin call.

llvm::Function *getVectorEquivalent(const Builtin &B, unsigned Width, llvm::Module *M = nullptr)

Try to find a builtin function that is a vector equivalent of the given function with the given vector width, if it exists.

Parameters
  • B[in] Builtin to query for a vector equivalent.

  • Width[in] Vector width.

  • M[in] Optional module where the vector equivalent should be declared.

Returns

Equivalent vector builtin function on success.

llvm::Function *getScalarEquivalent(const Builtin &B, llvm::Module *M)

Try to find a builtin function that is a scalar equivalent of the given function, if it exists.

Parameters
  • B[in] Builtin to query for a scalar equivalent.

  • M[in] Optional module where the vector equivalent should be declared.

Returns

Equivalent scalar builtin function on success.

llvm::Value *emitBuiltinInline(llvm::Function *Builtin, llvm::IRBuilder<> &B, llvm::ArrayRef<llvm::Value*> Args)

Emit an inline implementation of the builtin function F.

Parameters
  • Builtin – Builtin function to emit an implementation for.

  • B[in] Insertion point for the implementation.

  • Args[in] Arguments to the builtin function.

Returns

A value that implements the builtin function or null.

std::optional<llvm::ConstantRange> getBuiltinRange(llvm::CallInst &CI, std::array<std::optional<uint64_t>, 3> MaxLocalSizes, std::array<std::optional<uint64_t>, 3> MaxGlobalSizes) const

Return a known range of values this call may return.

Parameters
  • CI[in] Call instruction to analyze.

  • MaxLocalSizes[in] The maximum local work-group sizes in each of the 3 dimensions that this target supports.

  • MaxGlobalSizes[in] The maximum global work-group sizes in each of the 3 dimensions that this target supports.

llvm::Instruction *lowerBuiltinToMuxBuiltin(llvm::CallInst &CI)

Lowers a call to a language-level builtin to an instruction sequences calling a mux builtin.

For a call to a builtin for which the property eBuiltinPropertyLowerToMuxBuiltin is set, the target must then re-express the call to a new sequence, usually involving mux builtins.

std::optional<BuiltinID> getPrintfBuiltin() const

Get a builtin for printf.

Returns

An identifier for the builtin, or the invalid builtin if there is none. This builtin should have a signature of <void type | integer type> <builtin name>(<char*>, ...).

llvm::Function *defineMuxBuiltin(BuiltinID, llvm::Module &M, llvm::ArrayRef<llvm::Type*> OverloadInfo = {})

Defines the body of a ComputeMux builtin declaration.

If the Module already has a function definition with the corresponding function name, it is left alone and returned.

Will declare any builtins it requires as transitive dependencies.

Parameters

OverloadInfo – An array of types required to resolve certain overloadable builtins, e.g., group builtins.

llvm::Function *getOrDeclareMuxBuiltin(BuiltinID, llvm::Module &M, llvm::ArrayRef<llvm::Type*> OverloadInfo = {})

Gets a ComputeMux builtin from the module, or declares it.

Parameters

OverloadInfo – An array of types required to resolve certain overloadable builtins, e.g., group builtins.

llvm::SmallVector<SchedParamInfo, 4> getMuxSchedulingParameters(llvm::Module&)

Returns a target-specific list of scheduling parameters to be applied to all builtins for which requiresSchedulingParameters returns true.

This list of parameters that dictates the order of parameters added to each builtin. As such it must be constant and immutable for each Module.

This list is emitted into the module as metadata by the AddSchedulingParametersPass for user reference.

This function does not have to fill in SchedParamInfo::ArgVal, as this query is not specific to one function.

llvm::SmallVector<SchedParamInfo, 4> getFunctionSchedulingParameters(llvm::Function&)

Returns target-specific scheduling parameters from a concrete function.

Uses metadata returned via compiler::utils::getSchedulingParameterFunctionMetadata to determine whether the function contains scheduling parameters.

If set, this function should return the same result as getMuxSchedulingParameters, but with SchedParamInfo::ArgVal filled in to correspond to the actual concrete llvm::Argument values of the given function. Note that not all ArgVals are guaranteed to be populated, as a function may contain only a subset of the target’s list of scheduling parameters.

If not set, this function returns an empty list.

llvm::Value *initializeSchedulingParamForWrappedKernel(const SchedParamInfo &Info, llvm::IRBuilder<> &B, llvm::Function &IntoF, llvm::Function &CalleeF)

Responsible for initializing a scheduling parameter for which PassedExternally is ‘false’.

This is conceptually used to initialize scheduling parameters which are used for scheduling “internally” and do not make up the driver-facing kernel ABI.

Parameters
  • Info – The SchedParamInfo dictating which kind of scheduling parameter to initialize.

  • B – An IRBuilder providing the insertion point at which to insert initialization instructions.

  • IntoF – The function into which initialization instructions are to be inserted.

  • CalleeF – The function for which the initialization is taking place. CalleeF will be called by IntoF.

bool requiresSchedulingParameters(BuiltinID ID)

Returns true if the builtin ID requires extra scheduling parameters to function.

This function only handles mux builtins, and does not to defer any of BuiltinInfo’s implementation instances.

These parameters will to be added to the function (and its callers) by the AddSchedulingParametersPass.

llvm::Type *getRemappedTargetExtTy(llvm::Type *Ty, llvm::Module &M)

Returns the remapped type for a target extension type.

This method is intended for target implementations to be able signal to the DefineTargetExtTysPass how LLVM’s target extension types should be remapped across the module. There is a default implementation: see BIMuxInfoConcept::getRemappedTargetExtTy

This method is safe to call before LLVM 17 but will do nothing (there are no target extension types before LLVM 17). Otherwise this method asserts that the type is a target extension type.

Parameters
  • Ty – The target extension type to remap

  • M – The Module in which to replace the type

Returns

The remapped type, or nullptr if the type does not require remapping

inline bool invalidate(llvm::Module&, const llvm::PreservedAnalyses&, llvm::ModuleAnalysisManager::Invalidator&)

Handle the invalidation of this information.

When used as a result of BuiltinInfoAnalysis this method will be called when the function this was computed for changes. When it returns false, the information is preserved across those changes.

Public Static Functions

static inline bool isMuxBuiltinID(BuiltinID ID)

Returns true if the given ID is a ComputeMux builtin ID.

static bool isOverloadableMuxBuiltinID(BuiltinID ID)

Returns true if the given ID is an overloadable ComputeMux builtin ID.

These builtins require extra overloading info when declaring or defining.

static inline bool isMuxControlBarrierID(BuiltinID ID)

Returns true if the given ID is a ComputeMux barrier builtin ID.

static inline bool isMuxDmaBuiltinID(BuiltinID ID)

Returns true if the given ID is a ComputeMux DMA builtin ID.

static std::optional<GroupCollective> isMuxGroupCollective(BuiltinID ID)

Gets information about a mux group operation builtin.

static std::optional<BuiltinID> getMuxGroupCollective(const GroupCollective &Group)

Returns the mux builtin ID matching the group collective, or eBuiltinInvalid.

static inline bool isMuxBuiltinWithBarrierID(BuiltinID ID)

Returns true if the mux builtin has a barrier ID as its first operand.

static inline bool isMuxBuiltinWithWGBarrierID(BuiltinID ID)

Returns true if the mux builtin has a barrier ID as its first operand, and applies at Work Group scope.

static std::string getMuxBuiltinName(BuiltinID ID, llvm::ArrayRef<llvm::Type*> OverloadInfo = {})

Maps a ComputeMux builtin ID to its function name.

Parameters

OverloadInfo – An array of types required to resolve certain overloadable builtins, e.g., group builtins.

static std::string getMangledTypeStr(llvm::Type *Ty)

Mangles a type using the LLVM intrinsic scheme.

This is an extremely simple mangling scheme matching LLVM’s intrinsic mangling system. It is only designed to be used with a specific set of types and is not a general-purpose mangler.

  • iXXX -> iXXX

  • half -> f16

  • float -> f32

  • double -> f64

  • <N x Ty> -> vNTy

  • <vscale x N x Ty> -> nxvNTy

static std::pair<llvm::Type*, llvm::StringRef> getDemangledTypeFromStr(llvm::StringRef TyStr, llvm::LLVMContext &Ctx)

Demangles a type using the LLVM intrinsic scheme - returns nullptr if it was unable to demangle a type.

See

getMangledTypeStr

struct SchedParamInfo
#include <builtin_info.h>

Public Members

unsigned ID

An identifier providing resolution for targets to identify specific scheduling parameters.

By default, will be the index into the list returned by getMuxSchedulingParameters.

llvm::Type *ParamTy

The parameter type.

llvm::AttributeSet ParamAttrs

A (possibly empty) set of parameter attributes to apply to all functions featuring this parameter.

std::string ParamName

The name of the parameter, to aid debugging. May be empty.

std::string ParamDebugName

A human-readable name to be emitted in !mux-scheduling-params.

bool PassedExternally

True if the parameter is passed externally by the driver to the kernel entry point, else false if this parameter is initialized by the kernel at the top level.

This provides an interface to passes such as AddKernelWrapperPass.

If true, the parameter is passed through every layer of kernels. If false, the parameter must be initialized by initializeSchedulingParamForWrappedKernel.

llvm::Type *ParamPointeeTy = nullptr

An optional type to aid targets in remembering the underlying parameter type, if the parameter is a pointer.

llvm::Argument *ArgVal = nullptr

An optional value specifying the concrete function argument.

class compiler::utils::BIMuxInfoConcept
#include <builtin_info.h>

An interface class that provides mux- and target-specific information and transformations to an instance of BuiltinInfo. All methods are to be called through from the equivalent methods in BuiltinInfo.

Subclassed by host::HostBIMuxInfo

Public Functions

virtual llvm::Function *defineMuxBuiltin(BuiltinID, llvm::Module &M, llvm::ArrayRef<llvm::Type*> OverloadInfo = {})

See BuiltinInfo::defineMuxBuiltin.

virtual llvm::Function *getOrDeclareMuxBuiltin(BuiltinID, llvm::Module &M, llvm::ArrayRef<llvm::Type*> OverloadInfo = {})

See BuiltinInfo::getOrDeclareMuxBuiltin.

virtual llvm::SmallVector<BuiltinInfo::SchedParamInfo, 4> getMuxSchedulingParameters(llvm::Module&)

See BuiltinInfo::getMuxSchedulingParameters.

virtual llvm::SmallVector<BuiltinInfo::SchedParamInfo, 4> getFunctionSchedulingParameters(llvm::Function&)

See BuiltinInfo::getFunctionSchedulingParameters.

virtual llvm::Value *initializeSchedulingParamForWrappedKernel(const BuiltinInfo::SchedParamInfo &Info, llvm::IRBuilder<> &B, llvm::Function &IntoF, llvm::Function &CalleeF)

See BuiltinInfo::initializeSchedulingParamForWrappedKernel.

virtual bool requiresSchedulingParameters(BuiltinID)

Returns true if the mux builtin requires scheduling parameters to function.

virtual llvm::Type *getRemappedTargetExtTy(llvm::Type *Ty, llvm::Module &M)

See BuiltinInfo::getRemappedTargetExtTy.

This method is overridable but the default implementation provides the following mappings:

  • spirv.Event -> i32

  • spirv.Sampler -> i32

  • spirv.Image -> MuxImage* (regardless of image parameters)

virtual std::optional<llvm::ConstantRange> getBuiltinRange(llvm::CallInst&, BuiltinID ID, std::array<std::optional<uint64_t>, 3>, std::array<std::optional<uint64_t>, 3>) const

See

BuiltinInfo::getBuiltinRange

Public Static Functions

static void setDefaultBuiltinAttributes(llvm::Function &F, bool AlwaysInline = true)

Sets default builtin attributes on the given function.

class compiler::utils::BILangInfoConcept
#include <builtin_info.h>

An interface class that provides language-specific information and transformations to an instance of BuiltinInfo. All methods are to be called through from the equivalent methods in BuiltinInfo.

Subclassed by compiler::utils::CLBuiltinInfo

Public Functions

inline virtual llvm::Module *getBuiltinsModule()

See

BuiltinInfo::getBuiltinsModule

virtual std::optional<Builtin> analyzeBuiltin(const llvm::Function &F) const = 0

See

BuiltinInfo::analyzeBuiltin

virtual BuiltinUniformity isBuiltinUniform(const Builtin &B, const llvm::CallInst*, unsigned) const = 0

See

BuiltinInfo::isBuiltinUniform

virtual llvm::Function *getVectorEquivalent(const Builtin &B, unsigned Width, llvm::Module *M = nullptr) = 0

See

BuiltinInfo::getVectorEquivalent

virtual llvm::Function *getScalarEquivalent(const Builtin &B, llvm::Module *M) = 0

See

BuiltinInfo::getScalarEquivalent

virtual llvm::Value *emitBuiltinInline(llvm::Function *Builtin, llvm::IRBuilder<> &B, llvm::ArrayRef<llvm::Value*> Args) = 0

See

BuiltinInfo::emitBuiltinInline

inline virtual std::optional<llvm::ConstantRange> getBuiltinRange(llvm::CallInst&, std::array<std::optional<uint64_t>, 3>, std::array<std::optional<uint64_t>, 3>) const

See

BuiltinInfo::getBuiltinRange

inline virtual llvm::Instruction *lowerBuiltinToMuxBuiltin(llvm::CallInst&, BIMuxInfoConcept&)

See

BuiltinInfo::lowerBuiltinToMuxBuiltin

virtual std::optional<BuiltinID> getPrintfBuiltin() const = 0

See

BuiltinInfo::getPrintfBuiltin

class compiler::utils::BuiltinInfoAnalysis : public llvm::AnalysisInfoMixin<BuiltinInfoAnalysis>
#include <builtin_info.h>

Caches and returns the BuiltinInfo for a Module.

Public Functions

inline Result run(llvm::Module &M, llvm::ModuleAnalysisManager&)

Retrieve the BuiltinInfo for the requested module.

Public Static Functions

static inline llvm::StringRef name()

Return the name of the pass.

class compiler::utils::CLBuiltinLoader
#include <cl_builtin_info.h>

Builtin loader base class.

Subclassed by compiler::utils::SimpleCLBuiltinLoader

Public Functions

virtual llvm::Function *materializeBuiltin(llvm::StringRef BuiltinName, llvm::Module *DestM, BuiltinMatFlags Flags)

Load a builtin function.

Parameters
  • BuiltinName[in] Name of the builtin function to materialize.

  • DestM[in] Optional module in which to load the builtin function.

  • Flags[in] Materialization flags to use.

Returns

Pointer to the materialized builtin function on success. If a module is passed, the returned builtin function must live in that module.

inline virtual llvm::Module *getBuiltinsModule()

Expose any builtins Module.

class compiler::utils::SimpleCLBuiltinLoader : public compiler::utils::CLBuiltinLoader
#include <cl_builtin_info.h>

Simple Builtin loader wrapping a given builtins module.

Public Functions

inline virtual llvm::Module *getBuiltinsModule() override

Expose any builtins Module.

class compiler::utils::CLBuiltinInfo : public compiler::utils::BILangInfoConcept
#include <cl_builtin_info.h>

A class that encapsulates information and transformations concerning compiler OpenCL builtin functions.

Public Functions

CLBuiltinInfo(llvm::Module *Builtins)

Constructs a CLBuiltinInfo from a given Builtins module.

inline CLBuiltinInfo(std::unique_ptr<CLBuiltinLoader> L)

Constructs a CLBuiltinInfo with a user-provided loader.

virtual llvm::Module *getBuiltinsModule() override

See

BuiltinInfo::getBuiltinsModule

virtual BuiltinUniformity isBuiltinUniform(const Builtin &B, const llvm::CallInst *CI, unsigned SimdDimIdx) const override

See

BuiltinInfo::isBuiltinUniform

virtual std::optional<Builtin> analyzeBuiltin(const llvm::Function &F) const override

See

BuiltinInfo::analyzeBuiltin

virtual llvm::Function *getVectorEquivalent(const Builtin &B, unsigned Width, llvm::Module *M = nullptr) override

See

BuiltinInfo::getVectorEquivalent

virtual llvm::Function *getScalarEquivalent(const Builtin &B, llvm::Module *M) override

See

BuiltinInfo::getScalarEquivalent

virtual llvm::Value *emitBuiltinInline(llvm::Function *Builtin, llvm::IRBuilder<> &B, llvm::ArrayRef<llvm::Value*> Args) override

See

BuiltinInfo::emitBuiltinInline

virtual llvm::Instruction *lowerBuiltinToMuxBuiltin(llvm::CallInst&, BIMuxInfoConcept&) override

See

BuiltinInfo::lowerBuiltinToMuxBuiltin

virtual std::optional<BuiltinID> getPrintfBuiltin() const override

See

BuiltinInfo::getPrintfBuiltin

struct compiler::utils::CreateLoopOpts
#include <pass_functions.h>

Public Members

llvm::Value *indexInc = nullptr

indexInc Value by which to increment the loop counter. If nullptr, then it is created as the constant 1, based on type of indexStart, which is a parameter to compiler::utils::createLoop proper.

bool disableVectorize = false

disableVectorize Sets loop metadata disabling further vectorization.

llvm::StringRef headerName = "loopIR"

headerName Optional name for the loop header block. Defaults to: “loopIR”.

std::vector<llvm::Value*> IVs

An optional list of incoming IV values.

Each of these is used as the incoming value to a PHI created by createLoop. These PHIs are provided to the ‘body’ function of createLoop, which should in turn set the ‘next’ version of the IV.

std::vector<std::string> loopIVNames

An optional list of IV names, to be set on the PHIs provided by ‘IVs’ field/parameter.

If set, the names are assumed to correlate 1:1 with those IVs. The list may be shorter than the list of IVs, in which case the trailing IVs are not named.

class compiler::utils::StructTypeRemapper : public llvm::ValueMapTypeRemapper
#include <StructTypeRemapper.h>

Remap structs from one type to another.

This is intended to help with the cases where duplicatate opaque types exist between two modules or a module and a context. This can be used to fixup suffixed types remapping based on a user passed map to their unsuffixed verions. More generally it can be used to remap struct types.

Public Functions

inline llvm::Type *remapType(llvm::Type *srcType) override

Callback called when remapping values.

Parameters

srcType[in] Current type of Value being cloned

Returns

Alternative type if one could be found, existing type otherwise.

inline bool isRemapped(llvm::Type *type)

Indicates whether type will be remapped.

Parameters

type[in] Type to query.

Returns

Whether type will be remapped.

Returns

true – if type will remapped, false otherise

inline StructTypeRemapper(const StructMap &m)

Constructor taking a struct map.

class UniqueOpaqueStructsPass : public llvm::PassInfoMixin<UniqueOpaqueStructsPass>
#include <unique_opaque_structs_pass.h>

This pass replaces instances of suffixed opaque structure types with unsuffixed versions if an unsuffixed version exists in the context.

When linking together two modules that declare the same opaque struct type, or deserializing a module referencing an opaque struct type in a context that already contains an opaque type with the same name, LLVM will attempt to resolve the clash by appending a suffix to the name in module. For example, deserializing a module referencing the opencl.event_t in a context that already has this type will result in the references all being renamed to opencl.event_t.0. This is problematic if passes rely on the name of the struct to identify them. This pass can be used to resolve this issue by searching for problematic types and replacing them with their unsuffixed version.

class VerifyReqdSubGroupSizeLegalPass : public llvm::PassInfoMixin<VerifyReqdSubGroupSizeLegalPass>
#include <verify_reqd_sub_group_size_pass.h>

This pass checks that any kernels with required sub-group sizes are using sub-group sizes that are marked as legal by the device.

Raises a compile diagnostic on kernel which breaches this rule.

class VerifyReqdSubGroupSizeSatisfiedPass : public llvm::PassInfoMixin<VerifyReqdSubGroupSizeSatisfiedPass>
#include <verify_reqd_sub_group_size_pass.h>

This pass checks that any kernels with required sub-group sizes have had those sub-group sizes successfully satisfied by the compiler.

Raises a compile diagnostic on kernel which breaches this rule.

namespace compiler::utils::MuxBuiltins

Variables

constexpr const char isftz[] = "__mux_isftz"
constexpr const char usefast[] = "__mux_usefast"
constexpr const char isembeddedprofile[] = "__mux_isembeddedprofile"
constexpr const char get_global_size[] = "__mux_get_global_size"
constexpr const char get_global_id[] = "__mux_get_global_id"
constexpr const char get_global_offset[] = "__mux_get_global_offset"
constexpr const char get_local_size[] = "__mux_get_local_size"
constexpr const char get_local_id[] = "__mux_get_local_id"
constexpr const char get_sub_group_id[] = "__mux_get_sub_group_id"
constexpr const char get_num_groups[] = "__mux_get_num_groups"
constexpr const char get_num_sub_groups[] = "__mux_get_num_sub_groups"
constexpr const char get_max_sub_group_size[] = "__mux_get_max_sub_group_size"
constexpr const char get_group_id[] = "__mux_get_group_id"
constexpr const char get_work_dim[] = "__mux_get_work_dim"
constexpr const char dma_read_1d[] = "__mux_dma_read_1D"
constexpr const char dma_read_2d[] = "__mux_dma_read_2D"
constexpr const char dma_read_3d[] = "__mux_dma_read_3D"
constexpr const char dma_write_1d[] = "__mux_dma_write_1D"
constexpr const char dma_write_2d[] = "__mux_dma_write_2D"
constexpr const char dma_write_3d[] = "__mux_dma_write_3D"
constexpr const char dma_wait[] = "__mux_dma_wait"
constexpr const char get_global_linear_id[] = "__mux_get_global_linear_id"
constexpr const char get_local_linear_id[] = "__mux_get_local_linear_id"
constexpr const char get_enqueued_local_size[] = "__mux_get_enqueued_local_size"
constexpr const char get_sub_group_size[] = "__mux_get_sub_group_size"
constexpr const char get_sub_group_local_id[] = "__mux_get_sub_group_local_id"
constexpr const char mem_barrier[] = "__mux_mem_barrier"
constexpr const char sub_group_barrier[] = "__mux_sub_group_barrier"
constexpr const char work_group_barrier[] = "__mux_work_group_barrier"
constexpr const char dma_event_type[] = "__mux_dma_event_t"
constexpr const char set_local_id[] = "__mux_set_local_id"
constexpr const char set_sub_group_id[] = "__mux_set_sub_group_id"
constexpr const char set_num_sub_groups[] = "__mux_set_num_sub_groups"
constexpr const char set_max_sub_group_size[] = "__mux_set_max_sub_group_size"

host mux target

group host

Stores the hook and metadata for binary kernels.

Defines

HOST_MAJOR_VERSION

Host major version number.

HOST_MINOR_VERSION

Host minor version number.

HOST_PATCH_VERSION

Host patch version number.

HOST_VERSION

Host combined version number.

Typedefs

using builtin_kernel_map = std::map<std::string, ::host::kernel_variant_s::entry_hook_t>
using kernel_variant_map = std::unordered_map<std::string, std::vector<::host::binary_kernel_s>>
typedef void (*function_t)(void*const, void*const, void*const, size_t)

The signature of our thread pool functions.

Enums

enum command_type_e

Values:

enumerator command_type_read_buffer
enumerator command_type_write_buffer
enumerator command_type_copy_buffer
enumerator command_type_fill_buffer
enumerator command_type_read_image
enumerator command_type_write_image
enumerator command_type_fill_image
enumerator command_type_copy_image
enumerator command_type_copy_image_to_buffer
enumerator command_type_copy_buffer_to_image
enumerator command_type_ndrange
enumerator command_type_user_callback
enumerator command_type_begin_query
enumerator command_type_end_query
enumerator command_type_reset_query_pool
enumerator command_type_terminate
enum arch

Enumeration of target architectures.

Values:

enumerator ARM
enumerator AARCH64
enumerator X86
enumerator X86_64
enumerator RISCV32
enumerator RISCV64
enum os

Values:

enumerator LINUX
enumerator WINDOWS
enumerator MACOS
enumerator ANDROID

Functions

builtin_kernel_map getBuiltinKernels(mux_device_info_t device_info)

Get the map of supported builtin kernels.

Parameters

device_info[in] Pointer to device information.

Returns

Returns the builtin kernel map if present.

mux_result_t hostGetDeviceInfos(uint32_t device_types, uint64_t device_infos_length, mux_device_info_t *out_device_infos, uint64_t *out_device_infos_length)

Gets Mux devices’ information.

Parameters
  • device_types[in] A bitfield of mux_device_type_e values to return in out_device_infos.

  • device_infos_length[in] The length of out_device_infos. Must be 0, if out_devices is null.

  • out_device_infos[out] Array of information for devices Mux knows about, or null if an error occurred. Can be null, if out_device_infos_length is non-null.

  • out_device_infos_length[out] The total number of devices for which we are returning information, or 0 if an error occurred. Can be null, if out_device_infos is non-null.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCreateDevices(uint64_t devices_length, mux_device_info_t *device_infos, mux_allocator_info_t allocator_info, mux_device_t *out_devices)
Parameters
  • devices_length[in] The length of out_devices. Must be 0, if out_devices is null.

  • device_infos[in] Array of device information determining which devices to create.

  • allocator_info[in] Allocator information.

  • out_devices[out] Array of devices Mux knows about, or null if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void hostDestroyDevice(mux_device_t device, mux_allocator_info_t allocator_info)

Destroy a device.

This function allows Mux to call into our partner’s code to destroy a device that was created previously by the partner.

Parameters
  • device[in] A Mux device to destroy.

  • allocator_info[in] Allocator information.

mux_result_t hostAllocateMemory(mux_device_t device, size_t size, uint32_t heap, uint32_t memory_properties, mux_allocation_type_e allocation_type, uint32_t alignment, mux_allocator_info_t allocator_info, mux_memory_t *out_memory)

Allocate Mux device memory to be bound to a buffer or image.

This function uses a Mux device to allocate device memory which can later be bound to buffers and images, providing physical memory backing, with the muxBindBufferMemory and muxBindImageMemory functions.

Parameters
  • device[in] A Mux device.

  • size[in] The size in bytes of memory to allocate.

  • heap[in] Value of a single set bit in the mux_memory_requirements_s::supported_heaps bitfield of the buffer or image the device memory is being allocated for. Passing the value of 1 to heap must result in a successful allocation, heap must not be 0.

  • memory_properties[in] Bitfield of memory properties this allocation should support, values from mux_memory_property_e.

  • allocation_type[in] The type of allocation.

  • alignment[in] Minimum alignment in bytes for the requested allocation.

  • allocator_info[in] Allocator information.

  • out_memory[out] The created memory, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCreateMemoryFromHost(mux_device_t device, size_t size, void *host_pointer, mux_allocator_info_t allocator_info, mux_memory_t *out_memory)

Assigns Mux device visible memory from pre-allocated host side memory.

This function takes a pointer to pre-allocated host memory and binds it to device visible memory, which is cache coherent with the host allocation. Entry point is optional and must return mux_error_feature_unsupported if device doesn’t support mux_allocation_capabilities_cached_host.

See

mux_device_info_s::allocation_capabilities

Parameters
  • device[in] A Mux device.

  • size[in] The size in bytes of allocated memory.

  • host_pointer[in] Pointer to pre-allocated host addressable memory, must not be null.

  • allocator_info[in] Allocator information.

  • out_memory[out] The created memory, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void hostFreeMemory(mux_device_t device, mux_memory_t memory, mux_allocator_info_t allocator_info)

Free Mux device memory after use has finished.

This function uses the Mux device used for allocation with either muxAllocateMemory or muxCreateMemoryFromHost to deallocate the device memory.

Parameters
  • device[in] The Mux device the memory was allocated for.

  • memory[in] The Mux device memory to be freed.

  • allocator_info[in] Allocator information.

mux_result_t hostMapMemory(mux_device_t device, mux_memory_t memory, uint64_t offset, uint64_t size, void **out_data)

Map Mux device memory to a host address.

Parameters
  • device[in] The device where the device memory is allocated.

  • memory[in] The memory to be mapped to a host accessible memory address.

  • offset[in] Offset in bytes into the device memory to map to host addressable memory.

  • size[in] Size in bytes of device memory to map to host addressable memory.

  • out_data[out] Pointer to returned mapped host address, must not be null.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostUnmapMemory(mux_device_t device, mux_memory_t memory)

Unmap a mapped device memory.

Parameters
  • device[in] The device where the device memory is allocated.

  • memory[in] The device memory to unmap.

mux_result_t hostFlushMappedMemoryToDevice(mux_device_t device, mux_memory_t memory, uint64_t offset, uint64_t size)

Explicitly update device memory with data residing in host memory.

hostFlushMappedMemoryToDevice is intended to be used with mux_memory_ts allocated with the mux_memory_property_host_cached flag set. It updates device memory with the content currently residing in host memory.

Parameters
  • device[in] The device where the memory is allocated.

  • memory[in] The device memory to be flushed.

  • offset[in] The offset in bytes into the device memory to begin the range.

  • size[in] The size in bytes of the range to flush.

Returns

Returns mux_success on success or mux_error_invalid_value when; device is not a valid mux_device_t, memory is not a valid mux_memory_t, offset combined with size is greater than memory size.

mux_result_t hostFlushMappedMemoryFromDevice(mux_device_t device, mux_memory_t memory, uint64_t offset, uint64_t size)

Explicitly update host memory with data residing in device memory.

hostFlushMappedMemoryFromDevice is intended to be used with mux_memory_ts allocated with the mux_memory_property_host_cached flag set. It updates host memory with the content currently residing in device memory.

Parameters
  • device[in] The device where the memory is allocated.

  • memory[in] The device memory to be flushed.

  • offset[in] The offset in bytes into the device memory to begin the range.

  • size[in] The size in bytes of the range to flush.

Returns

Returns mux_success on success or mux_error_invalid_value when; device is not a valid mux_device_t, memory is not a valid mux_memory_t, offset combined with size is greater than memory size.

mux_result_t hostCreateBuffer(mux_device_t device, size_t size, mux_allocator_info_t allocator_info, mux_buffer_t *out_buffer)

Create buffer memory.

The function uses a Mux device, and is used to call into the Mux device code to create a buffer of a specific type and size.

Parameters
  • device[in] A Mux device.

  • size[in] The size (in bytes) of buffer requested.

  • allocator_info[in] Allocator information.

  • out_buffer[out] The created buffer, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void hostDestroyBuffer(mux_device_t device, mux_buffer_t buffer, mux_allocator_info_t allocator_info)

Destroy a buffer.

This function allows Mux to call into our partner’s code to destroy a buffer that was created previously by the partner.

Parameters
  • device[in] The Mux device the buffer was created with.

  • buffer[in] The buffer to destroy.

  • allocator_info[in] Allocator information.

mux_result_t hostBindBufferMemory(mux_device_t device, mux_memory_t memory, mux_buffer_t buffer, uint64_t offset)

Bind Mux device memory to the Mux buffer.

Bind device memory to a buffer providing physical backing so it can be used when processing a mux_command_buffer_t.

Parameters
  • device[in] The device on which the memory resides.

  • memory[in] The device memory to be bound to the buffer.

  • buffer[in] The buffer to which the device memory is to be bound.

  • offset[in] The offset into device memory to bind to the buffer.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCreateImage(mux_device_t device, mux_image_type_e type, mux_image_format_e format, uint32_t width, uint32_t height, uint32_t depth, uint32_t array_layers, uint64_t row_size, uint64_t slice_size, mux_allocator_info_t allocator_info, mux_image_t *out_image)

Create an image.

The function uses a Mux device to create an image with specific type, format, and dimensions. Newly created images are by default in the mux_image_tiling_linear mode.

Parameters
  • device[in] A Mux device.

  • type[in] The type of image to create.

  • format[in] The pixel data format of the image to create.

  • width[in] The width of the image in pixels, must be greater than one and less than max width.

  • height[in] The height of the image in pixels, must be zero for 1D images, must be greater than one and less than max height for 2D and 3D images.

  • depth[in] The depth of the image in pixels, must be zero for 1D and 2D images, must be greater than one and less than max depth for 3D images.

  • array_layers[in] The number of layers in an image array, must be 0 for non image arrays, must be and less than max array layers for image arrays.

  • row_size[in] The size of an image row in bytes.

  • slice_size[in] The size on an image slice in bytes.

  • allocator_info[in] Allocator information.

  • out_image[out] The created image, or null if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void hostDestroyImage(mux_device_t device, mux_image_t image, mux_allocator_info_t allocator_info)

Destroy an image.

The function allows Mux to call into client code to destroy an image that was previously created.

Parameters
  • device[in] The device the image was created with.

  • image[in] The image to destroy.

  • allocator_info[in] Allocator information.

mux_result_t hostBindImageMemory(mux_device_t device, mux_memory_t memory, mux_image_t image, uint64_t offset)

Bind Mux device memory to the Mux image.

Bind device memory to an image providing physical backing so it can be used when processing a mux_command_buffer_t.

Parameters
  • device[in] The device on which the memory resides.

  • memory[in] The device memory to be bound to the image.

  • image[in] The image to which the device memory is to be bound.

  • offset[in] The offset into device memory to bind the image.

Returns

Return mux_success on success, or a mux_error_* if an error occurred.

mux_result_t hostGetSupportedImageFormats(mux_device_t device, mux_image_type_e image_type, mux_allocation_type_e allocation_type, uint32_t count, mux_image_format_e *out_formats, uint32_t *out_count)

Query the Mux device for a list of supported image formats.

Parameters
  • device[in] The device to query for supported image formats.

  • image_type[in] The type of the image.

  • allocation_type[in] The required allocation capabilities of the image.

  • count[in] The element count of the out_formats array, must be greater than zero if out_formats is not null and zero otherwise.

  • out_formats[out] Return the list of supported formats, may be null. Storage must be an array of out_count elements.

  • out_count[out] Return the number of supported formats, may be null.

Returns

Return mux_success on success, or a mux_error_* if an error occurred.

mux_result_t hostGetSupportedQueryCounters(mux_device_t device, mux_queue_type_e queue_type, uint32_t count, mux_query_counter_t *out_counters, mux_query_counter_description_t *out_descriptions, uint32_t *out_count)

Get the list of supported query counters for a device’s queue type.

Parameters
  • device[in] A Mux device.

  • queue_type[in] The type of queue to get the supported query counters list for.

  • count[in] The element count of the out_counters and out_descriptions arrays, must be greater than zero if out_counters is not null and zero otherwise.

  • out_counters[out] Return the list of supported query counters, may be null. Storage must be an array of count elements.

  • out_descriptions[out] Return the list of descriptions of support query counters, may be null. Storage must be an array of count elements.

  • out_count[out] Return the total count of supported query counters.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostGetQueue(mux_device_t device, mux_queue_type_e queue_type, uint32_t queue_index, mux_queue_t *out_queue)

Get a queue from the owning device.

The function uses a Mux device, and is used to call into the Mux code to create a queue.

Parameters
  • device[in] A Mux device.

  • queue_type[in] The type of queue we want.

  • queue_index[in] The index of the queue_type we want to get from the device.

  • out_queue[out] The created queue, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCreateFence(mux_device_t device, mux_allocator_info_t allocator_info, mux_fence_t *out_fence)

Create a fence.

The function uses Mux device, and is used to call into the Mux code to create a fence.

Parameters
  • device[in] A Mux device.

  • allocator_info[in] Allocator information.

  • out_fence[out] The created fence, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void hostDestroyFence(mux_device_t device, mux_fence_t fence, mux_allocator_info_t allocator_info)

Destroy a fence.

This hook allows Mux to call into our partner’s code to destroy a fence that was created previously by the partner.

Parameters
  • device[in] The Mux device the fence was created with.

  • fence[in] The fence to destroy.

  • allocator_info[in] Allocator information.

mux_result_t hostCreateSemaphore(mux_device_t device, mux_allocator_info_t allocator_info, mux_semaphore_t *out_semaphore)

Create a semaphore.

The function uses Mux device, and is used to call into the Mux code to create a semaphore.

Parameters
  • device[in] A Mux device.

  • allocator_info[in] Allocator information.

  • out_semaphore[out] The created semaphore, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void hostDestroySemaphore(mux_device_t device, mux_semaphore_t semaphore, mux_allocator_info_t allocator_info)

Destroy a semaphore.

This hook allows Mux to call into our partner’s code to destroy a semaphore that was created previously by the partner.

Parameters
  • device[in] The Mux device the semaphore was created with.

  • semaphore[in] The semaphore to destroy.

  • allocator_info[in] Allocator information.

mux_result_t hostCreateCommandBuffer(mux_device_t device, mux_callback_info_t callback_info, mux_allocator_info_t allocator_info, mux_command_buffer_t *out_command_buffer)

Create a command buffer.

This function allows Mux to call into our partner’s code to create a command buffer. Command buffers are a construct whereby we can encapsulate a group of commands for execution on a device.

Parameters
  • device[in] A Mux device.

  • callback_info[in] User provided callback, which may be null, can be used by the implementation to provide detailed messages about command buffer execution to the user.

  • allocator_info[in] Allocator information.

  • out_command_buffer[out] The newly created command buffer, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostFinalizeCommandBuffer(mux_command_buffer_t command_buffer)

Finalize a command buffer.

This function allows Mux to call into our partner’s code to finalize a command buffer. Finalized command buffers are in an immutable state and cannot have further commands pushed to them.

Parameters

command_buffer[in] A Mux command buffer.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCloneCommandBuffer(mux_device_t device, mux_allocator_info_t allocator_info, mux_command_buffer_t command_buffer, mux_command_buffer_t *out_command_buffer)

Clone a command buffer.

This function allows Mux to call into our partner’s code to clone a command buffer.

Parameters
  • device[in] A Mux device.

  • allocator_info[in] Allocator information.

  • command_buffer[in] A Mux command buffer to clone.

  • out_command_buffer[out] The newly created command buffer, or uninitialized if an error occurred.

Returns

mux_success, a mux_error_* if an error occurred or mux_error_feature_unsupported if cloning command buffers is not supported by the device.

void hostDestroyCommandBuffer(mux_device_t device, mux_command_buffer_t command_buffer, mux_allocator_info_t allocator_info)

Destroy a command buffer.

This hook allows Mux to call into our partner’s code to destroy a command buffer that was created previously by the partner.

Parameters
  • device[in] The Mux device the command buffer was created with.

  • command_buffer[in] The command buffer to destroy.

  • allocator_info[in] Allocator information.

mux_result_t hostCreateExecutable(mux_device_t device, const void *binary, uint64_t binary_length, mux_allocator_info_t allocator_info, mux_executable_t *out_executable)

Load a binary into an executable container.

This function takes a precompiled binary and turns it into an executable.

Parameters
  • device[in] The Mux device to create the executable with.

  • binary[in] The source binary data.

  • binary_length[in] The length of the source binary (in bytes).

  • allocator_info[in] Allocator information.

  • out_executable[out] The newly created executable, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void hostDestroyExecutable(mux_device_t device, mux_executable_t executable, mux_allocator_info_t allocator_info)

Destroy an executable.

This hook allows Mux to call into our partner’s code to destroy an executable that was created previously by the partner.

Parameters
  • device[in] The Mux device the executable was created with.

  • executable[in] The executable to destroy.

  • allocator_info[in] Allocator information.

mux_result_t hostCreateKernel(mux_device_t device, mux_executable_t executable, const char *name, uint64_t name_length, mux_allocator_info_t allocator_info, mux_kernel_t *out_kernel)

Create a kernel from an executable.

This function creates an object that represents a kernel function inside an executable.

Parameters
  • device[in] The Mux device to create the kernel with.

  • executable[in] A previously created Mux executable.

  • name[in] The name of the kernel we want to create.

  • name_length[in] The length (in bytes) of name.

  • allocator_info[in] Allocator information.

  • out_kernel[out] The newly created kernel, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCreateBuiltInKernel(mux_device_t device, const char *name, uint64_t name_length, mux_allocator_info_t allocator_info, mux_kernel_t *out_kernel)

Create a kernel from a built-in kernel name provided by the device.

This function creates an object that represents a kernel which is provided by the device itself, rather than contained within a binary contained within an executable.

Parameters
  • device[in] The Mux device to create the kernel with.

  • name[in] The name of the kernel we want to create.

  • name_length[in] The length (in bytes) of name.

  • allocator_info[in] Allocator information.

  • out_kernel[out] The newly created kernel, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostQueryMaxNumSubGroups(mux_kernel_t kernel, size_t *out_max_num_sub_groups)

Query the maximum number of sub-groups that this kernel supports for each work-group.

Parameters
  • kernel[in] The Mux kernel to query the max number of subgroups for.

  • out_max_num_sub_groups[out] The maximum number of sub-groups this kernel supports.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostQueryLocalSizeForSubGroupCount(mux_kernel_t kernel, size_t sub_group_count, size_t *out_local_size_x, size_t *out_local_size_y, size_t *out_local_size_z)

Query the local size that would give the requested number of sub-groups.

This function queries a kernel for the local size that would give the requested number of sub-groups. It must return 0 if no local size would give the requested number of sub-groups.

Parameters
  • kernel[in] The Mux kernel to query the local size for.

  • sub_group_count[in] The requested number of sub-groups.

  • out_local_size_x[out] The local size in the x dimension which would give the requested number of sub-groups.

  • out_local_size_y[out] The local size in the y dimension which would give the requested number of sub-groups.

  • out_local_size_z[out] The local size in the z dimension which would give the requested number of sub-groups.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostQuerySubGroupSizeForLocalSize(mux_kernel_t kernel, size_t local_size_x, size_t local_size_y, size_t local_size_z, size_t *out_sub_group_size)

Query the sub-group size for the given local size.

This function queries a kernel for maximum sub-group size that would exist in a kernel enqueued with the local work-group size passed as parameters. A kernel enqueue may include one sub-group with a smaller size when the sub-group size doesn’t evenly divide the local size.

Parameters
  • kernel[in] The Mux kernel to query the sub-group size for.

  • local_size_x[in] The local size in the x dimension for which we wish to query sub-group size.

  • local_size_y[in] The local size in the y dimension for which we wish to query sub-group size.

  • local_size_z[in] The local size in the z dimension for which we wish to query sub-group size.

  • out_sub_group_size[out] The maximum sub-group sub-group size for the queried local size.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostQueryWFVInfoForLocalSize(mux_kernel_t kernel, size_t local_size_x, size_t local_size_y, size_t local_size_z, mux_wfv_status_e *out_wfv_status, size_t *out_work_width_x, size_t *out_work_width_y, size_t *out_work_width_z)

Query the whole function vectorization status and dimension work widths for the given local size.

This function queries a kernel for the whole function vectorization status and dimension work widths that would be applicable for a kernel enqueued with the local work-group size passed as parameters. The number of work-items executed per kernel invocation shall be equal to the dimension work widths returned from this function.

Parameters
  • kernel[in] The Mux kernel to query the WFV info for.

  • local_size_x[in] The local size in the x dimension for which we wish to query WFV info.

  • local_size_y[in] The local size in the y dimension for which we wish to query WFV info.

  • local_size_z[in] The local size in the z dimension for which we wish to query WFV info.

  • out_wfv_status[out] The status of whole function vectorization for the queried local size.

  • out_work_width_x[out] The work width in the x dimension for the queried local size.

  • out_work_width_y[out] The work width in the y dimension for the queried local size.

  • out_work_width_z[out] The work width in the z dimension for the queried local size.

Returns

mux_success, or a mux_error_* if an error occurred.

void hostDestroyKernel(mux_device_t device, mux_kernel_t kernel, mux_allocator_info_t allocator_info)

Destroy a kernel.

This hook allows Mux to call into our partner’s code to destroy a kernel that was created previously by the partner.

Parameters
  • device[in] The Mux device the kernel was created with.

  • kernel[in] The kernel to destroy.

  • allocator_info[in] Allocator information.

mux_result_t hostCreateQueryPool(mux_queue_t queue, mux_query_type_e query_type, uint32_t query_count, const mux_query_counter_config_t *query_counter_configs, mux_allocator_info_t allocator_info, mux_query_pool_t *out_query_pool)

Create a query pool.

This function creates a query pool into which data can be stored about the runtime behavior of commands on a queue.

Parameters
  • queue[in] The Mux queue to create the query pool with.

  • query_type[in] The type of query pool to create (one of the values in the enum mux_query_type_e).

  • query_count[in] The number of queries to allocate storage for.

  • query_counter_configs[in] Array of query counter configuration data with length query_count, must be provided when query_type is mux_query_type_counter, otherwise must be NULL.

  • allocator_info[in] Allocator information.

  • out_query_pool[out] The newly created query pool, or uninitialized if an error occurred.

Returns

mux_success, or a mux_error_* if an error occurred.

void hostDestroyQueryPool(mux_queue_t queue, mux_query_pool_t query_pool, mux_allocator_info_t allocator_info)

Destroy a query pool.

This hook allows Mux to call into our partner’s code to destroy a query pool that was created previously by the partner.

Parameters
  • queue[in] The Mux queue the query pool was created with.

  • query_pool[in] The Mux query pool to destroy.

  • allocator_info[in] Allocator information.

mux_result_t hostGetQueryCounterRequiredPasses(mux_queue_t queue, uint32_t query_count, const mux_query_counter_config_t *query_counter_configs, uint32_t *out_pass_count)

Get the number of passes required for valid query counter results.

Parameters
  • queue[in] A Mux queue.

  • query_count[in] The number of elements in the array pointed to by query_info.

  • query_counter_configs[in] Array of query counter configuration data with length query_count, must be provided when query_type is mux_query_type_counter, otherwise must be NULL.

  • out_pass_count[out] Return the number of passes required to produce valid results for the given list of query counters.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostGetQueryPoolResults(mux_queue_t queue, mux_query_pool_t query_pool, uint32_t query_index, uint32_t query_count, size_t size, void *data, size_t stride)

Get query results previously written to the query pool.

This function copies the requested query pool results previously written during runtime on the Mux queue into the user provided storage.

Parameters
  • queue[in] The Mux queue the query pool was created with.

  • query_pool[in] The Mux query pool to get the results from.

  • query_index[in] The query index of the first query to get the result of.

  • query_count[in] The number of queries to get the results of.

  • size[in] The size in bytes of the memory pointed to by data.

  • data[out] A pointer to the memory to write the query results into.

  • stride[in] The stride in bytes between query results to be written into data.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandReadBuffer(mux_command_buffer_t command_buffer, mux_buffer_t buffer, uint64_t offset, void *host_pointer, uint64_t size, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a read buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the read command to.

  • buffer[in] The buffer to read from.

  • offset[in] The offset (in bytes) into the buffer object to read.

  • host_pointer[out] The host pointer to write to.

  • size[in] The size (in bytes) of the buffer object to read.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandReadBufferRegions(mux_command_buffer_t command_buffer, mux_buffer_t buffer, void *host_pointer, mux_buffer_region_info_t *regions, uint64_t regions_length, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a read buffer regions command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the command to.

  • buffer[in] The buffer to read from.

  • host_pointer[out] The host pointer to write to.

  • regions[in] The regions to read from buffer to host_pointer.

  • regions_length[in] The length of regions.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandWriteBuffer(mux_command_buffer_t command_buffer, mux_buffer_t buffer, uint64_t offset, const void *host_pointer, uint64_t size, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a write buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the write command to.

  • buffer[in] The buffer to write to.

  • offset[in] The offset (in bytes) into the buffer object to write.

  • host_pointer[in] The host pointer to read from.

  • size[in] The size (in bytes) of the buffer object to write.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandWriteBufferRegions(mux_command_buffer_t command_buffer, mux_buffer_t buffer, const void *host_pointer, mux_buffer_region_info_t *regions, uint64_t regions_length, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a write buffer regions command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the command to.

  • buffer[in] The buffer to write to.

  • host_pointer[in] The host pointer to read from.

  • regions[in] The regions to read from host_pointer to buffer.

  • regions_length[in] The length of regions.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandCopyBuffer(mux_command_buffer_t command_buffer, mux_buffer_t src_buffer, uint64_t src_offset, mux_buffer_t dst_buffer, uint64_t dst_offset, uint64_t size, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the copy command to.

  • src_buffer[in] The source buffer to copy from.

  • src_offset[in] The offset (in bytes) into the source buffer to copy.

  • dst_buffer[in] The destination buffer to copy to.

  • dst_offset[in] The offset (in bytes) into the destination buffer to copy.

  • size[in] The size (in bytes) to copy.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandCopyBufferRegions(mux_command_buffer_t command_buffer, mux_buffer_t src_buffer, mux_buffer_t dst_buffer, mux_buffer_region_info_t *regions, uint64_t regions_length, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy buffer regions command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the copy command to.

  • src_buffer[in] The source buffer to copy from.

  • dst_buffer[in] The destination buffer to copy to.

  • regions[in] The regions to copy from src to dst.

  • regions_length[in] The length of regions.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandFillBuffer(mux_command_buffer_t command_buffer, mux_buffer_t buffer, uint64_t offset, uint64_t size, const void *pattern_pointer, uint64_t pattern_size, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a write buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer push the fill command to.

  • buffer[in] The buffer to fill.

  • offset[in] The offset (in bytes) into the buffer object to fill.

  • size[in] The size (in bytes) of the buffer object to fill.

  • pattern_pointer[in] The pointer to the pattern to read and fill the buffer with, this data must be copied by the device.

  • pattern_size[in] The size (in bytes) of pattern_pointer, the maximum size is 128 bytes which is the size of the largest supported vector type.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandReadImage(mux_command_buffer_t command_buffer, mux_image_t image, mux_offset_3d_t offset, mux_extent_3d_t extent, uint64_t row_size, uint64_t slice_size, void *pointer, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a read image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image read command to.

  • image[in] The image to read from.

  • offset[in] The x, y, z, offset in pixels into the image to read from.

  • extent[in] The width, height, depth in pixels of the image to read from.

  • row_size[in] The row size in bytes of the host addressable pointer data.

  • slice_size[in] The slice size in bytes of the host addressable pointer data.

  • pointer[out] The host addressable pointer to image data to write into.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandWriteImage(mux_command_buffer_t command_buffer, mux_image_t image, mux_offset_3d_t offset, mux_extent_3d_t extent, uint64_t row_size, uint64_t slice_size, const void *pointer, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a write image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image write command to.

  • image[in] The image to write to.

  • offset[in] The x, y, z, offset in pixel into the image to write to.

  • extent[in] The width, height, depth in pixels of the image to write to.

  • row_size[in] The row size in bytes of the host addressable pointer data.

  • slice_size[in] The slice size in bytes of the host addressable pointer data.

  • pointer[in] The host addressable pointer to image data to read from.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandFillImage(mux_command_buffer_t command_buffer, mux_image_t image, const void *color, uint32_t color_size, mux_offset_3d_t offset, mux_extent_3d_t extent, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a fill image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image fill command to.

  • image[in] The image to fill.

  • color[in] The color to fill the image with, this data must be copied by the device.

  • color_size[in] The size (in bytes) of the color.

  • offset[in] The x, y, z, offset in pixels into the image to fill.

  • extent[in] The width, height, depth in pixels of the image to fill.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandCopyImage(mux_command_buffer_t command_buffer, mux_image_t src_image, mux_image_t dst_image, mux_offset_3d_t src_offset, mux_offset_3d_t dst_offset, mux_extent_3d_t extent, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image copy command to.

  • src_image[in] The source image where data will be copied from.

  • dst_image[in] The destination image where data will be copied to.

  • src_offset[in] The x, y, z offset in pixels into the source image.

  • dst_offset[in] The x, y, z offset in pixels into the destination image.

  • extent[in] The width, height, depth in pixels range of the images to be copied.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandCopyImageToBuffer(mux_command_buffer_t command_buffer, mux_image_t src_image, mux_buffer_t dst_buffer, mux_offset_3d_t src_offset, uint64_t dst_offset, mux_extent_3d_t extent, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy image to buffer command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the image to buffer copy to.

  • src_image[in] The source image to copy data from.

  • dst_buffer[in] The destination buffer to copy data to.

  • src_offset[in] The x, y, z, offset in pixels into the source image to copy.

  • dst_offset[in] The offset in bytes into the destination buffer to copy.

  • extent[in] The width, height, depth in pixels of the image to copy.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandCopyBufferToImage(mux_command_buffer_t command_buffer, mux_buffer_t src_buffer, mux_image_t dst_image, uint32_t src_offset, mux_offset_3d_t dst_offset, mux_extent_3d_t extent, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a copy buffer to image command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the buffer to image copy command to.

  • src_buffer[in] The source buffer to copy data from.

  • dst_image[in] The destination image to copy data to.

  • src_offset[in] The offset in bytes into the source buffer to copy.

  • dst_offset[in] The x, y, z, offset in pixels into the destination image to copy.

  • extent[in] The width, height, depth in pixels range of the data to copy.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandNDRange(mux_command_buffer_t command_buffer, mux_kernel_t kernel, mux_ndrange_options_t options, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push an N-Dimensional run command to the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the N-Dimensional run command to.

  • kernel[in] The kernel to execute.

  • options[in] The execution options to use during the run command.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostUpdateDescriptors(mux_command_buffer_t command_buffer, mux_command_id_t command_id, uint64_t num_args, uint64_t *arg_indices, mux_descriptor_info_t *descriptors)

Update arguments to an N-Dimensional run command within the command buffer.

Parameters
  • command_buffer[in] The command buffer containing an N-Dimensional run command to update.

  • command_id[in] The unique ID representing the index of the ND range command within its containing command buffer.

  • num_args[in] Number of arguments to the kernel to be updated.

  • arg_indices[in] Indices of the arguments to be updated in the order they appear as parameters to the kernel.

  • descriptors[in] Array of num_args argument descriptors which are the new values for the arguments to the kernel.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandUserCallback(mux_command_buffer_t command_buffer, mux_command_user_callback_t user_function, void *user_data, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a user callback to the command buffer.

User callback commands allow a command to be placed within a command buffer that will call back into user code. Care should be taken that the work done within the user callback is minimal, as this will stall any forward progress on the command buffer.

Parameters
  • command_buffer[in] The command buffer to push the user callback command to.

  • user_function[in] The user callback to invoke, must not be null.

  • user_data[in] The data to pass to the user callback on invocation, may be null.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostCommandBeginQuery(mux_command_buffer_t command_buffer, mux_query_pool_t query_pool, uint32_t query_index, uint32_t query_count, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a begin query command to the command buffer.

Begin query commands enable a query pool for use storing query results.

Parameters
  • command_buffer[in] The command buffer to push the begin query command to.

  • query_pool[in] The query pool to store the query result in.

  • query_index[in] The initial query slot index that will contain the result.

  • query_count[in] The number of query slots to enable.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* error code in an error occurred.

mux_result_t hostCommandEndQuery(mux_command_buffer_t command_buffer, mux_query_pool_t query_pool, uint32_t query_index, uint32_t query_count, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a begin query command to the command buffer.

End query commands disable a query pool from use for storing query results.

Parameters
  • command_buffer[in] The command buffer to push the end query command to.

  • query_pool[in] The query pool the result is stored in.

  • query_index[in] The initial query slot index that contains the result.

  • query_count[in] The number of query slots to disable.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* error code in an error occurred.

mux_result_t hostCommandResetQueryPool(mux_command_buffer_t command_buffer, mux_query_pool_t query_pool, uint32_t query_index, uint32_t query_count, uint32_t num_sync_points_in_wait_list, const mux_sync_point_t *sync_point_wait_list, mux_sync_point_t *sync_point)

Push a reset query pool command to the command buffer.

Reset query pool commands enable reuse of the query pool as if it was newly created.

Parameters
  • command_buffer[in] The command buffer to push the query pool reset command to.

  • query_pool[in] The query pool to reset.

  • query_index[in] The first query index to reset.

  • query_count[in] The number of query slots to reset.

  • num_sync_points_in_wait_list[in] Number of items in sync_point_wait_list.

  • sync_point_wait_list[in] List of sync-points that need to complete before this command can be executed.

  • sync_point[out] Returns a sync-point identifying this command, which may be passed as NULL, that other commands in the command-buffer can wait on.

Returns

mux_success, or a mux_error_* error code in an error occurred.

mux_result_t hostResetCommandBuffer(mux_command_buffer_t command_buffer)

Reset a command buffer.

Parameters

command_buffer[in] The command buffer to reset.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostDispatch(mux_queue_t queue, mux_command_buffer_t command_buffer, mux_fence_t fence, mux_semaphore_t *wait_semaphores, uint32_t wait_semaphores_length, mux_semaphore_t *signal_semaphores, uint32_t signal_semaphores_length, void (*user_function)(mux_command_buffer_t command_buffer, mux_result_t error, void *const user_data), void *user_data)

Push a command buffer to a queue.

Push a command buffer to a queue.

Parameters
  • queue[in] A Mux queue.

  • command_buffer[in] A command buffer to push to a queue.

  • fence[in] A fence to signal when the dispatch completes.

  • wait_semaphores[in] An array of semaphores that this dispatch must wait on before executing.

  • wait_semaphores_length[in] The length of wait_semaphores.

  • signal_semaphores[in] An array of semaphores that this dispatch will signal when complete.

  • signal_semaphores_length[in] The length of signal_semaphores.

  • user_function[in] The command buffer complete callback, may be null.

  • user_data[in] The data to pass to the command buffer complete callback on completion, may be null.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostTryWait(mux_queue_t queue, uint64_t timeout, mux_fence_t fence)

Try to wait for a fence to be signaled.

If the fence is not yet signaled, return mux_fence_not_ready.

Parameters
  • queue[in] A Mux queue.

  • timeout[in] The timeout period in units of nanoseconds. If the fence waited on isn’t signaled before timeout nanoseconds after the API is called, tryWait will return with the fence having not been signaled. timeout == UINT64_MAX indicates an infinite timeout period and the entry point will block until the fence is signaled.

  • fence[in] A fence to wait on.

Returns

mux_success, or a mux_error_* if an error occurred.

mux_result_t hostWaitAll(mux_queue_t queue)

Wait for all previously pushed command buffers to complete.

Wait for all previously pushed command buffers to complete.

Parameters

queue[in] A Mux queue.

Returns

mux_success, or a mux_error_* if an error occurred.

struct buffer_s : public mux_buffer_s
#include <buffer.h>
struct host::ndrange_info_s
#include <command_buffer.h>

Struct that owns kernel args and schedule information for an ND range.

This struct later gets cast to void* and passed to the lambda that threads in the threadpool execute to actually run the range.

Public Functions

cargo::expected<std::unique_ptr<ndrange_info_s>, mux_result_t> clone(mux_allocator_info_t allocator_info) const

@Brief Create a deep copy of the ndrange command

Public Members

mux::dynamic_array<uint8_t> packed_args

Packed descriptors.

mux::dynamic_array<uint8_t*> arg_addresses

Addresses of arguments in packed descriptors.

Recording this information is required when packedArgs is populated in order to look up the address of the nth argument without knowing the sizes of each of the previous arguments.

mux::dynamic_array<mux_descriptor_info_t> descriptors

descriptors for each kernel argument

std::array<size_t, 3> global_size

Global size.

std::array<size_t, 3> global_offset

Global offset.

std::array<size_t, 3> local_size

Local size.

size_t dimensions

Dimensions in the ND range.

struct sync_point_s : public mux_sync_point_s
#include <command_buffer.h>

Implementation of mux sync-point.

TODO CA-4364: Implement sync-point

struct command_info_read_buffer_s
#include <command_buffer.h>
struct command_info_write_buffer_s
#include <command_buffer.h>
struct command_info_copy_buffer_s
#include <command_buffer.h>
struct command_info_fill_buffer_s
#include <command_buffer.h>
struct command_info_read_image_s
#include <command_buffer.h>
struct command_info_write_image_s
#include <command_buffer.h>
struct command_info_fill_image_s
#include <command_buffer.h>
struct command_info_copy_image_s
#include <command_buffer.h>
struct command_info_copy_image_to_buffer_s
#include <command_buffer.h>
struct command_info_copy_buffer_to_image_s
#include <command_buffer.h>
struct command_info_ndrange_s
#include <command_buffer.h>
struct command_info_user_callback_s
#include <command_buffer.h>
struct command_info_begin_query_s
#include <command_buffer.h>
struct command_info_end_query_s
#include <command_buffer.h>
struct command_info_reset_query_pool_s
#include <command_buffer.h>
struct command_info_terminate_s
#include <command_buffer.h>
struct command_info_s
#include <command_buffer.h>
struct command_buffer_s : public mux_command_buffer_s
#include <command_buffer.h>
struct host::device_info_s : public mux_device_info_s
#include <device.h>

Public Functions

device_info_s()

Default constructor, delegates to the main constructor.

Detects the device’s OS and architecture and assumes that the device compiled natively for the host architecture.

device_info_s(const char *device_name)

Constructor setting the device name and delegates to the main constructor.

Detects the device’s OS and architecture and assumes that the device compiled natively for the host architecture.

Parameters

device_name – Name of the device. Lifetime needs to be as long or longer than the lifetime of the created object.

device_info_s(host::arch arch, host::os os, bool native, const char *device_name)

Main constructor, actually initialises the object.

Parameters
  • arch – The target architecture.

  • os – The target operating system.

  • native – Flag to specify if the device is compiling natively, true when targeting the host architecture, false otherwise.

  • device_name – Name of the device. Lifetime needs to be as long or longer than the lifetime of the created object.

Public Members

std::string builtin_kernel_list

Semi-colon separated list of builtin kernel names.

host::arch arch

The target architecture.

host::os os

The target operating system.

bool native

Flag to specify if the compiler using this device info is compiling natively.

Public Static Functions

static host::arch detectHostArch()

Detects the device’s architecture.

static host::os detectHostOS()

Detects the device’s OS.

static host::device_info_s &getHostInstance()

Returns the static instance of the host device info, returned by hostGetDeviceInfos.

struct host::device_s : public mux_device_s
#include <device.h>

Public Functions

explicit device_s(device_info_s *info, mux_allocator_info_t allocator)

Main constructor.

Parameters
  • info – The device info associated with this device.

  • allocator – The mux allocator to use for allocations.

Public Members

thread_pool_s thread_pool

The thread-pool providing multi-threaded execution.

host::queue_s queue

Host’s single queue for command execution.

struct host::binary_kernel_s
#include <executable.h>

Public Members

uint64_t hook

Callable hook for running the kernel.

std::string kernel_name

Compiler-generated name for the kernel.

uint32_t local_memory_used

Total size of local memory buffers used by the kernel.

uint32_t min_work_width

Factor of the minimum number of work-items the kernel may safely execute.

uint32_t pref_work_width

Factor of the preferred number of work-items the kernel wishes to execute.

uint32_t sub_group_size

The size of the sub-group this kernel supports.

Note that the last sub-group in a work-group may be smaller than this value. If one, denotes a trivial sub-group.

struct host::executable_s : public mux_executable_s
#include <executable.h>

Public Functions

executable_s(mux_device_t device, utils::jit_kernel_s jit_kernel, mux::allocator allocator)

Create an executable from a single binary kernel outwith an ELF file.

Parameters
  • device[in] Mux device.

  • jit_kernel[in] The single JIT binary kernel to be stored in this executable.

executable_s(mux_device_t device, mux::dynamic_array<uint64_t> elf_contents, mux::small_vector<loader::PageRange, 4> allocated_pages, host::kernel_variant_map binary_kernels)

Create an executable from a pre-compiled binary.

Parameters
  • device[in] Mux device.

  • elf_contents[in] Contents of ELF file.

  • allocated_pages[in] Allocated pages for loaded binary.

  • binary_kernels[in] Binary kernel map.

executable_s(const executable_s&) = delete

Deleted copy constructor.

This is because ‘kernels’ may contain a pointer to the data contained inside ‘jit_kernel_name’ which may become stale due to lack of string pointer stability when moving or copying (caused by SSO).

executable_s(executable_s&&) = delete

Deleted move constructor.

See the copy constructor for an explanation as to why executable_s is not movable or copyable.

executable_s &operator=(const executable_s&) = delete

Deleted copy assignment operator.

See the copy constructor for an explanation as to why executable_s is not movable or copyable.

executable_s &operator=(executable_s&&) = delete

Deleted move assignment operator.

See the copy constructor for an explanation as to why executable_s is not movable or copyable.

Public Members

std::string jit_kernel_name

If this executable contains a JIT kernel, this stores the name of that kernel.

mux::dynamic_array<uint64_t> elf_contents

ELF binary this executable was created from.

mux::small_vector<loader::PageRange, 4> allocated_pages

Pages allocated by our ELF loader for the binary.

Kept around here for lifetime reasons, our executable shouldn’t outlive these.

kernel_variant_map kernels

Map of kernel names to binary kernels contained in this executable.

struct host::image_s : public mux_image_s
#include <image.h>

Public Functions

image_s(mux_memory_requirements_s memory_requirements, mux_image_type_e type, mux_image_format_e format, uint32_t pixel_size, uint32_t width, uint32_t height, uint32_t depth, uint32_t array_layers, uint64_t row_size, uint64_t slice_size)

Host image constructor.

struct schedule_info_s
#include <kernel.h>
struct host::kernel_variant_s
#include <kernel.h>

Public Types

typedef void (*entry_hook_t)(void *packed_args, schedule_info_s *schedule)

Pointer type that points to the executable binary (symbol) that runs on the host CPU.

Public Members

std::string name

Name of the kernel.

For built-in kernels, this is one of the built-in kernels available on host. For pre-compiled binaries, this is one of the kernels available in the binary. For kernels from source, this is one of the kernels in the source.

entry_hook_t hook

Pointer to this kernel’s symbol (binary that runs on the host CPU).

struct host::kernel_s : public mux_kernel_s
#include <kernel.h>

Public Functions

kernel_s(mux_device_t device, mux::allocator allocator, const char *name, size_t name_length, kernel_variant_s::entry_hook_t hook)

Create a kernel with a built-in kernel.

Parameters
  • device[in] Mux device.

  • name[in] Name of the requested built-in kernel.

  • name_length[in] Length of the name string.

  • hook[in] Address of the builtin kernel function.

kernel_s(mux_device_t device, mux_allocator_info_t allocator, cargo::small_vector<kernel_variant_s, 4> &&variant_data)

Create a kernel from a pre-compiled binary.

Parameters

variant_data[in] woof

Public Members

bool is_builtin_kernel

If the kernel is a built-in kernel.

mux_allocator_info_t allocator_info

The allocator used to create this kernel, used to allocate packed args when specialization info is provided.

struct memory_s : public mux_memory_s
#include <memory.h>
struct host::queue_s : public mux_queue_s
#include <queue.h>

Public Functions

queue_s(mux_allocator_info_t allocator, mux_device_t device)

Construct the queue object.

Parameters
  • allocator – Mux allocator to use.

  • device – Mux device which owns the queue.

~queue_s()

Destructor.

void signalCompleted(mux_command_buffer_t group, bool terminate)

Send the command group completed signal.

Note

This member function is not thread safe, callers must hold a lock on mutex.

Parameters
  • group – The completed command group.

  • terminate – Should the queue tell the thread pool to terminate, true will terminate, false will not.

mux_result_t addGroup(mux_command_buffer_t group, mux_fence_t fence, uint64_t numWaits)

Add a command group to the queue.

Note

This member function is not thread safe, callers must hold a lock on mutex.

Parameters
  • group – The command group to enqueue.

  • fence – The fence to signal when group completes.

  • numWaits – The number of wait semaphores to signal on completion.

Returns

Returns mux_error_success or mux_error_out_of_memory.

Public Members

std::atomic<uint32_t> runningGroups

Atomic counter of the current number of running command groups.

std::mutex mutex

Mutex for users to lock to ensure ordering.

mux::small_vector<std::pair<mux_command_buffer_t, signal_info_s>, 8> signalInfos

List of pairs of command group and wait count. BIG IMPORTANT WARNING: If one day we want to support simultaneous use then we could end up with two copies of the same command buffer in the vector paired with different fences. When it comes to signalling a command buffer we currently have no way of knowing which command buffer to signal. Bottom line, if we want simultaneous use, we’ll need to change how we hold and signal fences.

struct signal_info_s
#include <queue.h>

Holds signaling information associated to a command buffer dispatch instance.

Public Members

uint64_t wait_count

How many times this dispatch instance needs to be signaled by wait semaphores before it can be executed.

mux_fence_t fence

A fence object to signal upon completion or termination of the command buffer dispatch instance.

struct semaphore_s : public mux_semaphore_s
#include <semaphore.h>
struct thread_pool_work_item_s
#include <thread_pool.h>
struct host::thread_pool_s
#include <thread_pool.h>

Public Functions

bool getWork(thread_pool_work_item_s *const work)

Blocking function get work to execute.

Parameters

work[out] The work item to execute.

Returns

True if there was work to execute, false otherwise.

bool tryGetWork(thread_pool_work_item_s *const work)

Non-blocking function get work to execute.

Parameters

work[out] The work item to execute.

Returns

True if there was work to execute, false otherwise.

size_t num_threads() const

The number of threads supported in the thread pool.

void enqueue(function_t function, void *user_data, void *user_data2, void *user_data3, size_t index, std::atomic<bool> *signal, std::atomic<uint32_t> *count)

Enqueue some work on the thread pool.

Parameters
  • function[in] The function to run in the thread pool.

  • user_data[in] User data to pass to the function.

  • user_data2[in] A second user data to pass to the function.

  • user_data3[in] A third user data to pass to the function.

  • index[in] An index that is passed to the function.

  • signal[inout] A bool that is set to true when the enqueued function has completed.

  • count[inout] A number that is incremented immediately, and decremented when the enqueued function has completed.

template<size_t N>
inline void enqueue_range(function_t function, void *user_data, void *user_data2, std::array<std::atomic<bool>, N> &signals, std::atomic<uint32_t> *count, size_t slices)

Enqueue a range worth of work on the thread pool.

This has the advantage of holding onto mutex for the whole duration of the loop, meaning we never have to wait to re-aquire it as you would using enqueue in a loop.

Parameters
  • function[in] The function to run in the thread pool.

  • user_data[in] User data to pass to the function.

  • user_data2[in] A second user data to pass to the function.

  • user_data3[in] A third user data to pass to the function.

  • signals[inout] A list of bools that will be signalled when each slice of the enqueue range has completed.

  • count[inout] A number that is incremented immediately, and decremented when the enqueued function has completed.

  • slices[in] The number of pieces that the work is to be divided into when it is enqueued on the thread pool.

Template Parameters

N – Length of signals.

void wait(std::atomic<bool> *signal)

Wait for a signal to complete.

Parameters

signal[inout] A signal that previously was passed to a call to enqueue, wait() will wait on the thread that is executing the work to complete.

void wait(std::atomic<uint32_t> *count)

Wait for a batch of work to complete.

Parameters

count[inout] A counter that previously was passed to a call to enqueue, wait() will wait for the counter to reach zero.

Public Members

size_t initialized_threads

The number of threads actually initialized in the thread pool. General the lower of the number of cores or max_num_threads, but could be lower in the presence of debug settings.

std::array<cargo::thread, max_num_threads> pool

The pool of threads to use for execution.

std::array<thread_pool_work_item_s, queue_max> queue

The buffer to hold the queue of work.

unsigned queue_read_index = 0

The read index into the queue.

unsigned queue_write_index = 0

The write index from the queue.

std::mutex mutex

A mutex to use when accessing the thread pool.

std::mutex wait_mutex

A mutex to use when decrementing the work counter.

std::condition_variable new_work

A condition to signal when new work has been added.

std::condition_variable done_work

A condition to signal when work has been done.

std::condition_variable finished

A condition to signal when the count reaches zero.

std::atomic<bool> stayAlive

A variable to query whether the thread pool is still alive or not.

Public Static Attributes

static const size_t max_num_threads = 32

The maximum number of threads our thread pool supports. Useful for allocating memory (you know the max size of allocations required).

static const size_t queue_max = 4096

The maximum number of work that can be enqueued.

tracer module

group tracer

Defines

CA_TRACE_CL
CA_TRACE_CORE
CA_TRACE_MUX
CA_TRACE_IMPLEMENTATION
TRACER_GUARD_CATEGORY(type, enabled)

Helper to generate the types and category names.

Functions

void recordTrace(const char *name, const char *cat, uint64_t start, uint64_t end)

recordTrace records an event.

This function is the real meat of tracer - it’ll record a trace event to the .trace file for this execution of the process. The trace produced is viewable via chrome’s tracing mode:

  • open chrome and go to chrome://tracing

  • open the tracing file

    • on Windows these are located at APPDATA%\\.ComputeAortaTracer\\*.trace

    • on Linux these are located at $HOME/.ComputeAortaTracer/*.trace

  • enjoy the tracing information produced!

Parameters
  • name – usually the function name, or event you wish to record.

  • cat – the category of the trace (eg Microseconds).

  • start – the start timestamp (eg Microseconds).

  • end – the end timestamp.

uint64_t getCurrentTimestamp()
Returns

Returns the current time stamp in Microseconds.

template<class T>
inline const char *getCategoryName()
template<bool enable>
struct BenchmarkCategory
#include <tracer.h>

Benchmark base class for the Bench object.

template<typename Category>
struct TraceGuard
#include <tracer.h>

A scoped timer. Construct the TracerGuard object with one of the category types. eg: tracer::TraceGuard<OpenCL>(“function”);.