Package org.jocl
Class Sizeof
- java.lang.Object
-
- org.jocl.Sizeof
-
public final class Sizeof extends java.lang.ObjectSize constants for scalar and vector data types.
-
-
Field Summary
Fields Modifier and Type Field Description static intcl_charSize of a cl_char, in bytes.static intcl_char16Size of a cl_char16, in bytesstatic intcl_char2Size of a cl_char2, in bytesstatic intcl_char3Size of a cl_char3, in bytes.
This is the same as the size of a cl_char4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_char4Size of a cl_char4, in bytesstatic intcl_char8Size of a cl_char8, in bytesstatic intcl_command_queueSize of a cl_command_queue, in bytesstatic intcl_contextSize of a cl_context, in bytesstatic intcl_device_idSize of a cl_device_id, in bytesstatic intcl_doubleSize of a cl_double, in bytes.static intcl_double16Size of a cl_double16, in bytesstatic intcl_double2Size of a cl_double2, in bytesstatic intcl_double3Size of a cl_double3, in bytes.
This is the same as the size of a cl_double4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_double4Size of a cl_double4, in bytesstatic intcl_double8Size of a cl_double8, in bytesstatic intcl_eventSize of a cl_event, in bytesstatic intcl_floatSize of a cl_float, in bytes.static intcl_float16Size of a cl_float16, in bytesstatic intcl_float2Size of a cl_float2, in bytesstatic intcl_float3Size of a cl_float3, in bytes.
This is the same as the size of a cl_float4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_float4Size of a cl_float4, in bytesstatic intcl_float8Size of a cl_float8, in bytesstatic intcl_halfSize of a cl_half, in bytes.static intcl_intSize of a cl_int, in bytes.static intcl_int16Size of a cl_int16, in bytesstatic intcl_int2Size of a cl_int2, in bytesstatic intcl_int3Size of a cl_int3, in bytes.
This is the same as the size of a cl_int4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_int4Size of a cl_int4, in bytesstatic intcl_int8Size of a cl_int8, in bytesstatic intcl_kernelSize of a cl_kernel, in bytesstatic intcl_longSize of a cl_long, in bytes.static intcl_long16Size of a cl_long16, in bytesstatic intcl_long2Size of a cl_long2, in bytesstatic intcl_long3Size of a cl_long3, in bytes.
This is the same as the size of a cl_long4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_long4Size of a cl_long4, in bytesstatic intcl_long8Size of a cl_long8, in bytesstatic intcl_memSize of a cl_mem, in bytesstatic intcl_platform_idSize of a cl_platform_id, in bytesstatic intcl_programSize of a cl_program, in bytesstatic intcl_samplerSize of a cl_sampler, in bytesstatic intcl_shortSize of a cl_short, in bytes.static intcl_short16Size of a cl_short16, in bytesstatic intcl_short2Size of a cl_short2, in bytesstatic intcl_short3Size of a cl_short3, in bytes.
This is the same as the size of a cl_short4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_short4Size of a cl_short4, in bytesstatic intcl_short8Size of a cl_short8, in bytesstatic intcl_ucharSize of a cl_uchar, in bytes.static intcl_uchar16Size of a cl_uchar16, in bytesstatic intcl_uchar2Size of a cl_uchar2, in bytesstatic intcl_uchar3Size of a cl_uchar3, in bytes.
This is the same as the size of a cl_uchar4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_uchar4Size of a cl_uchar4, in bytesstatic intcl_uchar8Size of a cl_uchar8, in bytesstatic intcl_uintSize of a cl_uint, in bytes.static intcl_uint16Size of a cl_uint16, in bytesstatic intcl_uint2Size of a cl_uint2, in bytesstatic intcl_uint3Size of a cl_uint3, in bytes.
This is the same as the size of a cl_uint4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_uint4Size of a cl_uint4, in bytesstatic intcl_uint8Size of a cl_uint8, in bytesstatic intcl_ulongSize of a cl_ulong, in bytes.static intcl_ulong16Size of a cl_ulong16, in bytesstatic intcl_ulong2Size of a cl_ulong2, in bytesstatic intcl_ulong3Size of a cl_ulong3, in bytes.
This is the same as the size of a cl_ulong4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_ulong4Size of a cl_ulong4, in bytesstatic intcl_ulong8Size of a cl_ulong8, in bytesstatic intcl_ushortSize of a cl_ushort, in bytes.static intcl_ushort16Size of a cl_ushort16, in bytesstatic intcl_ushort2Size of a cl_ushort2, in bytesstatic intcl_ushort3Size of a cl_ushort3, in bytes.
This is the same as the size of a cl_ushort4, according to the OpenCL specification, version 1.1, section 6.1.5static intcl_ushort4Size of a cl_ushort4, in bytesstatic intcl_ushort8Size of a cl_ushort8, in bytesprivate static java.util.logging.LoggerloggerThe logger used in this classstatic intPOINTERSize of a native pointer, in bytesstatic intsize_tSize of a size_t, in bytes
-
Constructor Summary
Constructors Constructor Description Sizeof()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static intcomputePointerSize()Computes the size of a pointer, in bytesprivate static intcomputePointerSizeNative()
-
-
-
Field Detail
-
logger
private static final java.util.logging.Logger logger
The logger used in this class
-
cl_char
public static final int cl_char
Size of a cl_char, in bytes.- See Also:
- Constant Field Values
-
cl_uchar
public static final int cl_uchar
Size of a cl_uchar, in bytes.- See Also:
- Constant Field Values
-
cl_short
public static final int cl_short
Size of a cl_short, in bytes.- See Also:
- Constant Field Values
-
cl_ushort
public static final int cl_ushort
Size of a cl_ushort, in bytes.- See Also:
- Constant Field Values
-
cl_int
public static final int cl_int
Size of a cl_int, in bytes.- See Also:
- Constant Field Values
-
cl_uint
public static final int cl_uint
Size of a cl_uint, in bytes.- See Also:
- Constant Field Values
-
cl_long
public static final int cl_long
Size of a cl_long, in bytes.- See Also:
- Constant Field Values
-
cl_ulong
public static final int cl_ulong
Size of a cl_ulong, in bytes.- See Also:
- Constant Field Values
-
cl_half
public static final int cl_half
Size of a cl_half, in bytes.- See Also:
- Constant Field Values
-
cl_float
public static final int cl_float
Size of a cl_float, in bytes.- See Also:
- Constant Field Values
-
cl_double
public static final int cl_double
Size of a cl_double, in bytes.- See Also:
- Constant Field Values
-
cl_char2
public static final int cl_char2
Size of a cl_char2, in bytes- See Also:
- Constant Field Values
-
cl_char4
public static final int cl_char4
Size of a cl_char4, in bytes- See Also:
- Constant Field Values
-
cl_char8
public static final int cl_char8
Size of a cl_char8, in bytes- See Also:
- Constant Field Values
-
cl_char16
public static final int cl_char16
Size of a cl_char16, in bytes- See Also:
- Constant Field Values
-
cl_char3
public static final int cl_char3
Size of a cl_char3, in bytes.
This is the same as the size of a cl_char4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
cl_uchar2
public static final int cl_uchar2
Size of a cl_uchar2, in bytes- See Also:
- Constant Field Values
-
cl_uchar4
public static final int cl_uchar4
Size of a cl_uchar4, in bytes- See Also:
- Constant Field Values
-
cl_uchar8
public static final int cl_uchar8
Size of a cl_uchar8, in bytes- See Also:
- Constant Field Values
-
cl_uchar16
public static final int cl_uchar16
Size of a cl_uchar16, in bytes- See Also:
- Constant Field Values
-
cl_uchar3
public static final int cl_uchar3
Size of a cl_uchar3, in bytes.
This is the same as the size of a cl_uchar4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
cl_short2
public static final int cl_short2
Size of a cl_short2, in bytes- See Also:
- Constant Field Values
-
cl_short4
public static final int cl_short4
Size of a cl_short4, in bytes- See Also:
- Constant Field Values
-
cl_short8
public static final int cl_short8
Size of a cl_short8, in bytes- See Also:
- Constant Field Values
-
cl_short16
public static final int cl_short16
Size of a cl_short16, in bytes- See Also:
- Constant Field Values
-
cl_short3
public static final int cl_short3
Size of a cl_short3, in bytes.
This is the same as the size of a cl_short4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
cl_ushort2
public static final int cl_ushort2
Size of a cl_ushort2, in bytes- See Also:
- Constant Field Values
-
cl_ushort4
public static final int cl_ushort4
Size of a cl_ushort4, in bytes- See Also:
- Constant Field Values
-
cl_ushort8
public static final int cl_ushort8
Size of a cl_ushort8, in bytes- See Also:
- Constant Field Values
-
cl_ushort16
public static final int cl_ushort16
Size of a cl_ushort16, in bytes- See Also:
- Constant Field Values
-
cl_ushort3
public static final int cl_ushort3
Size of a cl_ushort3, in bytes.
This is the same as the size of a cl_ushort4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
cl_int2
public static final int cl_int2
Size of a cl_int2, in bytes- See Also:
- Constant Field Values
-
cl_int4
public static final int cl_int4
Size of a cl_int4, in bytes- See Also:
- Constant Field Values
-
cl_int8
public static final int cl_int8
Size of a cl_int8, in bytes- See Also:
- Constant Field Values
-
cl_int16
public static final int cl_int16
Size of a cl_int16, in bytes- See Also:
- Constant Field Values
-
cl_int3
public static final int cl_int3
Size of a cl_int3, in bytes.
This is the same as the size of a cl_int4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
cl_uint2
public static final int cl_uint2
Size of a cl_uint2, in bytes- See Also:
- Constant Field Values
-
cl_uint4
public static final int cl_uint4
Size of a cl_uint4, in bytes- See Also:
- Constant Field Values
-
cl_uint8
public static final int cl_uint8
Size of a cl_uint8, in bytes- See Also:
- Constant Field Values
-
cl_uint16
public static final int cl_uint16
Size of a cl_uint16, in bytes- See Also:
- Constant Field Values
-
cl_uint3
public static final int cl_uint3
Size of a cl_uint3, in bytes.
This is the same as the size of a cl_uint4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
cl_long2
public static final int cl_long2
Size of a cl_long2, in bytes- See Also:
- Constant Field Values
-
cl_long4
public static final int cl_long4
Size of a cl_long4, in bytes- See Also:
- Constant Field Values
-
cl_long8
public static final int cl_long8
Size of a cl_long8, in bytes- See Also:
- Constant Field Values
-
cl_long16
public static final int cl_long16
Size of a cl_long16, in bytes- See Also:
- Constant Field Values
-
cl_long3
public static final int cl_long3
Size of a cl_long3, in bytes.
This is the same as the size of a cl_long4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
cl_ulong2
public static final int cl_ulong2
Size of a cl_ulong2, in bytes- See Also:
- Constant Field Values
-
cl_ulong4
public static final int cl_ulong4
Size of a cl_ulong4, in bytes- See Also:
- Constant Field Values
-
cl_ulong8
public static final int cl_ulong8
Size of a cl_ulong8, in bytes- See Also:
- Constant Field Values
-
cl_ulong16
public static final int cl_ulong16
Size of a cl_ulong16, in bytes- See Also:
- Constant Field Values
-
cl_ulong3
public static final int cl_ulong3
Size of a cl_ulong3, in bytes.
This is the same as the size of a cl_ulong4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
cl_float2
public static final int cl_float2
Size of a cl_float2, in bytes- See Also:
- Constant Field Values
-
cl_float4
public static final int cl_float4
Size of a cl_float4, in bytes- See Also:
- Constant Field Values
-
cl_float8
public static final int cl_float8
Size of a cl_float8, in bytes- See Also:
- Constant Field Values
-
cl_float16
public static final int cl_float16
Size of a cl_float16, in bytes- See Also:
- Constant Field Values
-
cl_float3
public static final int cl_float3
Size of a cl_float3, in bytes.
This is the same as the size of a cl_float4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
cl_double2
public static final int cl_double2
Size of a cl_double2, in bytes- See Also:
- Constant Field Values
-
cl_double4
public static final int cl_double4
Size of a cl_double4, in bytes- See Also:
- Constant Field Values
-
cl_double8
public static final int cl_double8
Size of a cl_double8, in bytes- See Also:
- Constant Field Values
-
cl_double16
public static final int cl_double16
Size of a cl_double16, in bytes- See Also:
- Constant Field Values
-
cl_double3
public static final int cl_double3
Size of a cl_double3, in bytes.
This is the same as the size of a cl_double4, according to the OpenCL specification, version 1.1, section 6.1.5- See Also:
- Constant Field Values
-
POINTER
public static final int POINTER
Size of a native pointer, in bytes
-
size_t
public static final int size_t
Size of a size_t, in bytes
-
cl_platform_id
public static final int cl_platform_id
Size of a cl_platform_id, in bytes
-
cl_device_id
public static final int cl_device_id
Size of a cl_device_id, in bytes
-
cl_context
public static final int cl_context
Size of a cl_context, in bytes
-
cl_command_queue
public static final int cl_command_queue
Size of a cl_command_queue, in bytes
-
cl_mem
public static final int cl_mem
Size of a cl_mem, in bytes
-
cl_program
public static final int cl_program
Size of a cl_program, in bytes
-
cl_kernel
public static final int cl_kernel
Size of a cl_kernel, in bytes
-
cl_event
public static final int cl_event
Size of a cl_event, in bytes
-
cl_sampler
public static final int cl_sampler
Size of a cl_sampler, in bytes
-
-