mtchamengo / aparapi

Automatically exported from code.google.com/p/aparapi
Other
0 stars 0 forks source link

FP64 does not work on OSX #67

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Any simple Kernel that uses double.
2. Notice: WARNING: Reverting to Java Thread Pool (JTP) for class 
com.test.GpuTest$1: FP64 required but not supported

What version of the product are you using? On what operating system?
Trunk as of Aug 31, 2012.

Please provide any additional information below.
OSX 10.8, OpenCL 1.1/1.2, GeForce GT 650M

Found 1 platform(s).
platform[0x7fff0000]: profile: FULL_PROFILE
platform[0x7fff0000]: version: OpenCL 1.2 (Jun 20 2012 14:18:19)
platform[0x7fff0000]: name: Apple
platform[0x7fff0000]: vendor: Apple
platform[0x7fff0000]: extensions: cl_APPLE_SetMemObjectDestructor 
cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names 
cl_APPLE_gl_sharing cl_khr_gl_event
platform[0x7fff0000]: Found 2 device(s).
    device[0xffffffff]: NAME: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
    device[0xffffffff]: VENDOR: Intel
    device[0xffffffff]: PROFILE: FULL_PROFILE
    device[0xffffffff]: VERSION: OpenCL 1.2 
    device[0xffffffff]: EXTENSIONS: cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event cl_khr_fp64 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_APPLE_fp64_basic_ops cl_APPLE_fixed_alpha_channel_orders cl_APPLE_biased_fixed_point_image_formats
    device[0xffffffff]: DRIVER_VERSION: 1.1

    device[0xffffffff]: Type: CPU 
    device[0xffffffff]: EXECUTION_CAPABILITIES: Kernel Native 
    device[0xffffffff]: GLOBAL_MEM_CACHE_TYPE: Read-Write (2)
    device[0xffffffff]: CL_DEVICE_LOCAL_MEM_TYPE: Global (2)
    device[0xffffffff]: SINGLE_FP_CONFIG: 0xbf
    device[0xffffffff]: QUEUE_PROPERTIES: 0x2

    device[0xffffffff]: VENDOR_ID: 4294967295
    device[0xffffffff]: MAX_COMPUTE_UNITS: 8
    device[0xffffffff]: MAX_WORK_ITEM_DIMENSIONS: 3
    device[0xffffffff]: MAX_WORK_GROUP_SIZE: 1024
    device[0xffffffff]: PREFERRED_VECTOR_WIDTH_CHAR: 16
    device[0xffffffff]: PREFERRED_VECTOR_WIDTH_SHORT: 8
    device[0xffffffff]: PREFERRED_VECTOR_WIDTH_INT: 4
    device[0xffffffff]: PREFERRED_VECTOR_WIDTH_LONG: 2
    device[0xffffffff]: PREFERRED_VECTOR_WIDTH_FLOAT: 4
    device[0xffffffff]: PREFERRED_VECTOR_WIDTH_DOUBLE: 2
    device[0xffffffff]: MAX_CLOCK_FREQUENCY: 2600
    device[0xffffffff]: ADDRESS_BITS: 64
    device[0xffffffff]: MAX_MEM_ALLOC_SIZE: 4294967296
    device[0xffffffff]: IMAGE_SUPPORT: 4294967297
    device[0xffffffff]: MAX_READ_IMAGE_ARGS: 4294967424
    device[0xffffffff]: MAX_WRITE_IMAGE_ARGS: 4294967304
    device[0xffffffff]: IMAGE2D_MAX_WIDTH: 8192
    device[0xffffffff]: IMAGE2D_MAX_HEIGHT: 8192
    device[0xffffffff]: IMAGE3D_MAX_WIDTH: 2048
    device[0xffffffff]: IMAGE3D_MAX_HEIGHT: 2048
    device[0xffffffff]: IMAGE3D_MAX_DEPTH: 2048
    device[0xffffffff]: MAX_SAMPLERS: 16
    device[0xffffffff]: MAX_PARAMETER_SIZE: 4096
    device[0xffffffff]: MEM_BASE_ADDR_ALIGN: 1024
    device[0xffffffff]: MIN_DATA_TYPE_ALIGN_SIZE: 128
    device[0xffffffff]: GLOBAL_MEM_CACHELINE_SIZE: 6291456
    device[0xffffffff]: GLOBAL_MEM_CACHE_SIZE: 64
    device[0xffffffff]: GLOBAL_MEM_SIZE: 17179869184
    device[0xffffffff]: MAX_CONSTANT_BUFFER_SIZE: 65536
    device[0xffffffff]: MAX_CONSTANT_ARGS: 8
    device[0xffffffff]: LOCAL_MEM_SIZE: 32768
    device[0xffffffff]: ERROR_CORRECTION_SUPPORT: 0
    device[0xffffffff]: PROFILING_TIMER_RESOLUTION: 1
    device[0xffffffff]: ENDIAN_LITTLE: 1
    device[0xffffffff]: AVAILABLE: 1
    device[0xffffffff]: COMPILER_AVAILABLE: 1
    device[0x1022600]: NAME: GeForce GT 650M
    device[0x1022600]: VENDOR: NVIDIA
    device[0x1022600]: PROFILE: FULL_PROFILE
    device[0x1022600]: VERSION: OpenCL 1.1 
    device[0x1022600]: EXTENSIONS: cl_APPLE_SetMemObjectDestructor cl_APPLE_ContextLoggingFunctions cl_APPLE_clut cl_APPLE_query_kernel_names cl_APPLE_gl_sharing cl_khr_gl_event cl_khr_byte_addressable_store 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_APPLE_fp64_basic_ops 
    device[0x1022600]: DRIVER_VERSION: CLH 1.0

    device[0x1022600]: Type: GPU 
    device[0x1022600]: EXECUTION_CAPABILITIES: Kernel 
    device[0x1022600]: GLOBAL_MEM_CACHE_TYPE: None (0)
    device[0x1022600]: CL_DEVICE_LOCAL_MEM_TYPE: Local (1)
    device[0x1022600]: SINGLE_FP_CONFIG: 0x1e
    device[0x1022600]: QUEUE_PROPERTIES: 0x2

    device[0x1022600]: VENDOR_ID: 16918016
    device[0x1022600]: MAX_COMPUTE_UNITS: 2
    device[0x1022600]: MAX_WORK_ITEM_DIMENSIONS: 3
    device[0x1022600]: MAX_WORK_GROUP_SIZE: 1024
    device[0x1022600]: PREFERRED_VECTOR_WIDTH_CHAR: 1
    device[0x1022600]: PREFERRED_VECTOR_WIDTH_SHORT: 1
    device[0x1022600]: PREFERRED_VECTOR_WIDTH_INT: 1
    device[0x1022600]: PREFERRED_VECTOR_WIDTH_LONG: 1
    device[0x1022600]: PREFERRED_VECTOR_WIDTH_FLOAT: 1
    device[0x1022600]: PREFERRED_VECTOR_WIDTH_DOUBLE: 1
    device[0x1022600]: MAX_CLOCK_FREQUENCY: 405
    device[0x1022600]: ADDRESS_BITS: 32
    device[0x1022600]: MAX_MEM_ALLOC_SIZE: 268435456
    device[0x1022600]: IMAGE_SUPPORT: 1
    device[0x1022600]: MAX_READ_IMAGE_ARGS: 256
    device[0x1022600]: MAX_WRITE_IMAGE_ARGS: 16
    device[0x1022600]: IMAGE2D_MAX_WIDTH: 8192
    device[0x1022600]: IMAGE2D_MAX_HEIGHT: 8192
    device[0x1022600]: IMAGE3D_MAX_WIDTH: 2048
    device[0x1022600]: IMAGE3D_MAX_HEIGHT: 2048
    device[0x1022600]: IMAGE3D_MAX_DEPTH: 2048
    device[0x1022600]: MAX_SAMPLERS: 32
    device[0x1022600]: MAX_PARAMETER_SIZE: 4352
    device[0x1022600]: MEM_BASE_ADDR_ALIGN: 1024
    device[0x1022600]: MIN_DATA_TYPE_ALIGN_SIZE: 128
    device[0x1022600]: GLOBAL_MEM_CACHELINE_SIZE: 0
    device[0x1022600]: GLOBAL_MEM_CACHE_SIZE: 0
    device[0x1022600]: GLOBAL_MEM_SIZE: 1073741824
    device[0x1022600]: MAX_CONSTANT_BUFFER_SIZE: 65536
    device[0x1022600]: MAX_CONSTANT_ARGS: 9
    device[0x1022600]: LOCAL_MEM_SIZE: 49152
    device[0x1022600]: ERROR_CORRECTION_SUPPORT: 0
    device[0x1022600]: PROFILING_TIMER_RESOLUTION: 1000
    device[0x1022600]: ENDIAN_LITTLE: 1
    device[0x1022600]: AVAILABLE: 1
    device[0x1022600]: COMPILER_AVAILABLE: 1

Original issue reported on code.google.com by jerda...@speakeasy.net on 31 Aug 2012 at 3:15