jeanluca

CL_DEVICE_GLOBAL_MEM_SIZE is only 32 bytes

Discussion created by jeanluca on Jan 2, 2010
Latest reply on Jan 2, 2010 by jeanluca

Hello

I've written a small program which determines my platform and shows device info. Here is my platform and device info

Platform information:
number of platforms:            1
    name:                        ATI Stream
    vendor:                        Advanced Micro Devices, Inc.
    profile:                    FULL_PROFILE
    version:                    OpenCL 1.0 ATI-Stream-v2.0.0
    extensions:                   

Found 1 device

    Intel(R) Atom(TM) CPU Z530   @ 1.60GHz
    CL_DEVICE_ERROR_CORRECTION_SUPPORT:        no
    CL_DEVICE_MAX_WORK_GROUP_SIZE:            1024
    CL_DEVICE_MAX_COMPUTE_UNITS:            2
    CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS:        3
    CL_DEVICE_MAX_WORK_ITEM_SIZES:            3
    CL_DEVICE_MAX_WORK_GROUP_SIZE:            1024
    CL_DEVICE_ADDRESS_BITS:                32
    CL_DEVICE_GLOBAL_MEM_SIZE:            32B
    CL_DEVICE_LOCAL_MEM_TYPE:            global
    CL_DEVICE_LOCAL_MEM_SIZE:            32B
    CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE:        32B

Because the sizes for memory are defined in 'bytes' I've added the 'B'. However 32 is not much, I have a system with 1GB (and not all memory is in use), so shouldn't this value be a little bit more ?

I guess with a global mem size of 32 bytes you can't do very much Any suggestions how to fix this ?

 

cheers

Luca

Outcomes