Geeks3D Forums

Geeks3D.com | GeeXLab | Softwares | Reviews | Downloads | Shader Lib 


News:Rendering 3D Graphics on a 32×32 RGB LED Matrix Display with a Raspberry Pi and GeeXLab

(Android) OpenCL info for Qualcomm Snapdragon S4

(Read 5863 times)

0 Members and 1 Guest are viewing this topic.



Stefan

  • Global Moderator
  • Hero Member
  • *****
  • *
  • Posts: 4250
Quote from: Mahadevan GSS   
Made progress in Nexus 4 phone for using OpenCL in java & also made it to work with aparapi framework , so one can write pure java applications (using GPGPU & OpenCL) on the Nexus 4 devices. IMHO same approach can be used for any other future Android phones with proper OpenCL.so libraries deployed in the phones (without HW/SW vendor's SDKs).

Please find code at google-code

Source: Qualcomm



Code: [Select]
I/ActivityManager(471): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.aopencl.clinfo/.MainActivity} from pid 965
I/ActivityManager(471): Start proc org.aopencl.clinfo for activity org.aopencl.clinfo/.MainActivity: pid=3007 uid=10127 gids={50127, 1028}
D/libEGL(3007): loaded /system/lib/egl/libEGL_adreno200.so
I/CLInfo(3007): CLInfo:QUALCOMM Snapdragon(TM)
I/CLInfo(3007): 0:QUALCOMM Adreno(TM)
I/CLInfo(3007):  Max Compute Units: 4
I/CLInfo(3007):   Max work group size: 256
I/CLInfo(3007):  Max Work Item Dimensions: 3
I/CLInfo(3007):   Max work item dimensions: 3
I/CLInfo(3007):     Max work items: (256,256,256)
I/CLInfo(3007):   Preferred vector width char: 1
I/CLInfo(3007):   Preferred vector width short: 1
I/CLInfo(3007):   Preferred vector width int: 1
I/CLInfo(3007):   Preferred vector width long: 1
I/CLInfo(3007):   Preferred vector width float: 1
I/CLInfo(3007):   Preferred vector width double: 0
I/CLInfo(3007):   Max clock frequency: 325MHz
I/CLInfo(3007):   Address bits: 32bits
I/CLInfo(3007):   Max memory allocation: 981811200 bytes
I/CLInfo(3007):   Image support: True
I/CLInfo(3007):   Max size of kernel argument: 256
I/CLInfo(3007):   Alignment of base addres: 512 bits
I/CLInfo(3007):   Minimum alignment for any datatype: 64 bytes
I/CLInfo(3007):     Denorms: False
I/CLInfo(3007):     Quiet NaNs: False
I/CLInfo(3007):     Round to nearest even: False
I/CLInfo(3007):     Round to zero: False
I/CLInfo(3007):     Round to +ve and infinity: False
I/CLInfo(3007):     IEEE754-2008 fused multiply-add: False
I/CLInfo(3007): Cache type err:0
I/CLInfo(3007):   Cache line size: 16 bytes
I/CLInfo(3007):   Cache size: 32768 bytes
I/CLInfo(3007):   Global memory size: 1963622400 bytes
I/CLInfo(3007):   Constant buffer size: 4096 bytes
I/CLInfo(3007):   Max number of constant args: 8
I/CLInfo(3007):   Local memory type err:0
I/CLInfo(3007):   Local memory size: 8192 bytes
I/CLInfo(3007):   Profiling timer resolution: 1000
I/CLInfo(3007):   Device endianess: True
I/CLInfo(3007):   Available: True
I/CLInfo(3007):   Compiler available: False
I/CLInfo(3007):   Execution capabilities:
I/CLInfo(3007):   Execute OpenCL kernels: True
I/CLInfo(3007):   Execute native kernels: True
I/CLInfo(3007):   Queue properties:
I/CLInfo(3007):    Out-of-Order: False
I/CLInfo(3007):     Profiling: False
I/CLInfo(3007):   Name: QUALCOMM Adreno(TM)
I/CLInfo(3007):   Vendor: QUALCOMM
I/CLInfo(3007): Error:CL_DRIVER_VERSION:-30
I/CLInfo(3007):   Profile: EMBEDDED_PROFILE
I/CLInfo(3007):   Version: OpenCL 1.1 Adreno(TM) 320
I/CLInfo(3007):   Extensions: cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing 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_qcom_default_relaxed_math cl_qcom_perf_monitor
I/CLInfo(3007): 1:QUALCOMM Krait(TM)
I/CLInfo(3007):  Max Compute Units: 4
I/CLInfo(3007):   Max work group size: 1
I/CLInfo(3007):  Max Work Item Dimensions: 3
I/CLInfo(3007):   Max work item dimensions: 3
I/CLInfo(3007):     Max work items: (1,1,1)
I/CLInfo(3007):   Preferred vector width char: 16
I/CLInfo(3007):   Preferred vector width short: 16
I/CLInfo(3007):   Preferred vector width int: 16
I/CLInfo(3007):   Preferred vector width long: 1
I/CLInfo(3007):   Preferred vector width float: 16
I/CLInfo(3007):   Preferred vector width double: 0
I/CLInfo(3007):   Max clock frequency: 1500MHz
I/CLInfo(3007):   Address bits: 32bits
I/CLInfo(3007):   Max memory allocation: 981811200 bytes
I/CLInfo(3007):   Image support: True
I/CLInfo(3007):   Max size of kernel argument: 256
I/CLInfo(3007):   Alignment of base addres: 1024 bits
I/CLInfo(3007):   Minimum alignment for any datatype: 128 bytes
I/CLInfo(3007):     Denorms: False
I/CLInfo(3007):     Quiet NaNs: False
I/CLInfo(3007):     Round to nearest even: False
I/CLInfo(3007):     Round to zero: False
I/CLInfo(3007):     Round to +ve and infinity: False
I/CLInfo(3007):     IEEE754-2008 fused multiply-add: False
I/CLInfo(3007): Cache type err:0
I/CLInfo(3007):   Cache line size: 64 bytes
I/CLInfo(3007):   Cache size: 1048576 bytes
I/CLInfo(3007):   Global memory size: 981811200 bytes
I/CLInfo(3007):   Constant buffer size: 65536 bytes
I/CLInfo(3007):   Max number of constant args: 8
I/CLInfo(3007):   Local memory type err:0
I/CLInfo(3007):   Local memory size: 32768 bytes
I/CLInfo(3007):   Profiling timer resolution: 0
I/CLInfo(3007):   Device endianess: True
I/CLInfo(3007):   Available: True
I/CLInfo(3007):   Compiler available: True
I/CLInfo(3007):   Execution capabilities:
I/CLInfo(3007):   Execute OpenCL kernels: False
I/CLInfo(3007):   Execute native kernels: False
I/CLInfo(3007):   Queue properties:
I/CLInfo(3007):    Out-of-Order: False
I/CLInfo(3007):     Profiling: False
I/CLInfo(3007):   Name: QUALCOMM Krait(TM)
I/CLInfo(3007):   Vendor: QUALCOMM
I/CLInfo(3007): Error:CL_DRIVER_VERSION:-30
I/CLInfo(3007):   Profile: EMBEDDED_PROFILE
I/CLInfo(3007):   Version: OpenCL 1.1 Krait(TM)
I/CLInfo(3007):   Extensions: 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 cles_khr_int64 cl_khr_fp16
D/libEGL(3007): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL(3007): loaded /system/lib/egl/libGLESv2_adreno200.so
I/Adreno200-EGL(3007): <eglInitialize:269>: EGL 1.4 QUALCOMM build: Nondeterministic AU_full_mako_PARTNER-ANDROID/JB-MR1-DEV_CL2961380_release_AU (CL2961380)
I/Adreno200-EGL(3007): Build Date: 12/10/12 Mon
I/Adreno200-EGL(3007): Local Branch:
I/Adreno200-EGL(3007): Remote Branch: m/partner-android/jb-mr1-dev
I/Adreno200-EGL(3007): Local Patches: NONE
I/Adreno200-EGL(3007): Reconstruct Branch: NOTHING
D/OpenGLRenderer(3007): Enabling debug mode 0
I/ActivityManager(471): Displayed org.aopencl.clinfo/.MainActivity: +478ms