跳到主要內容

發表文章

目前顯示的是 6月, 2018的文章

Compile OpenCL Program for Mobile GPU [Qualcomm Adreno & ARM Mali] -- A command line method

Introduction:  OpenCL  Wiki   Recommended OpenCL Books  Heterogeneous Computing with OpenCL OpenCL Programming Guide  [ Code ] [Advanced]  Advances in GPU Research and Practice  Code Samples  https://github.com/jeremyong/opencl_in_action https://github.com/sschaetz/nvidia-opencl-examples Mobile GPU  Snapdragon Adreno GPU OpenCL 2.0 (2018/June)  WELL supported by the company Qualcomm Snapdragon Mobile Platform OpenCL General Programming and Optimization Guide  Adreno GPU SDK   ARM Mali  OpenCL 1.2 (2018/June) Key Idea:  Link your OpenCL program with libOpenCL.so on the target device   Requirement:  Bazel from Google (Not a must but recommended) How to Install Bazel A ROOTed Android Phone with Adreno/Mali GPU  OpenCL device driver on your phone (usually located in /system/vendor/lib64) Steps:  https://github.com/supernovaremnant/bazel-android-ope...