0 Replies Latest reply on Jan 30, 2010 3:22 PM by Tasp

    OpenCl working on Ubuntu 9.10 (GPU & CPU)

    Tasp

      Finally OpenCl works on Ubuntu 9.10 (Officially it is still unsupported)

      Instructions:
      http://radialmind.blogspot.com...stream-technology.html

      For my HD 4850:


      4098            CL_DEVICE_VENDOR_ID
      10            CL_DEVICE_MAX_COMPUTE_UNITS
      3            CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS
      256            CL_DEVICE_MAX_WORK_GROUP_SIZE
      0x7fffe08fa160            CL_DEVICE_MAX_WORK_ITEM_SIZES
      16            CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR
      8            CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT
      4            CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT
      2            CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG
      4            CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT
      0            CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE
      625            CL_DEVICE_MAX_CLOCK_FREQUENCY
      32            CL_DEVICE_ADDRESS_BITS
      0            CL_DEVICE_MAX_READ_IMAGE_ARGS
      0            CL_DEVICE_MAX_WRITE_IMAGE_ARGS
      134217728            CL_DEVICE_MAX_MEM_ALLOC_SIZE
      0            CL_DEVICE_IMAGE2D_MAX_WIDTH
      0            CL_DEVICE_IMAGE2D_MAX_HEIGHT
      0            CL_DEVICE_IMAGE3D_MAX_WIDTH
      0            CL_DEVICE_IMAGE3D_MAX_HEIGHT
      0            CL_DEVICE_IMAGE3D_MAX_DEPTH
      0            CL_DEVICE_IMAGE_SUPPORT
      1024            CL_DEVICE_MAX_PARAMETER_SIZE
      0            CL_DEVICE_MAX_SAMPLERS
      2048            CL_DEVICE_MEM_BASE_ADDR_ALIGN
      128            CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE
      6            CL_DEVICE_SINGLE_FP_CONFIG
      0            CL_DEVICE_GLOBAL_MEM_CACHE_TYPE
      0            CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE
      0            CL_DEVICE_GLOBAL_MEM_CACHE_SIZE
      134217728            CL_DEVICE_GLOBAL_MEM_SIZE
      65536            CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE
      8            CL_DEVICE_MAX_CONSTANT_ARGS
      2            CL_DEVICE_LOCAL_MEM_TYPE
      16384            CL_DEVICE_LOCAL_MEM_SIZE
      0            CL_DEVICE_ERROR_CORRECTION_SUPPORT
      1            CL_DEVICE_PROFILING_TIMER_RESOLUTION
      1            CL_DEVICE_ENDIAN_LITTLE
      1            CL_DEVICE_AVAILABLE
      1            CL_DEVICE_COMPILER_AVAILABLE
      1            CL_DEVICE_EXECUTION_CAPABILITIES
      2            CL_DEVICE_QUEUE_PROPERTIES
      0x7f165fd2d890            CL_DEVICE_PLATFORM
      ATI RV770            CL_DEVICE_NAME
      Advanced Micro Devices, Inc.            CL_DEVICE_VENDOR
      CAL 1.4.519            CL_DRIVER_VERSION
      FULL_PROFILE            CL_DEVICE_PROFILE
      OpenCL 1.0 ATI-Stream-v2.0.0            CL_DEVICE_VERSION
                  CL_DEVICE_EXTENSIONS


       


      $ uname -r
      2.6.31-17-generic
      $ cat /etc/issue
      Ubuntu 9.10 \n \l