https://github.com/alstjd025/opencl_poc
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (4.8%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: alstjd025
- Language: C++
- Default Branch: main
- Size: 2.64 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Created about 1 year ago
· Last pushed about 1 year ago
Metadata Files
Readme
README.md
2025 Minsung Kim alstjd025@gmail.com
How to compile for Android 64 (e.g., Google Pixel 6)
First, prepare a docker container contains android-ndk build toolchains. It is easy to use a prebuilt image from TensorFlow Lite Android. (https://www.tensorflow.org/lite/guide/buildandroid) For instance, one can use dockerfile in androidbuild folder (exactley same as tflite given).
Build example
If you wanna build hello.cpp file for 64-bit LSB arm64, the compile commands are just like below.
/android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-linux-android30 -static-libstdc++ -fPIE -pie -std=c++17 hello.cpp -o hello
i recommend to statically link libstdc++ or libc, because sometimes the android LD cannot find them.
If you wanna build some binary with external libraries..
/android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-linux-android30 -static-libstdc++ -fPIE -pie -std=c++17 -I./ -L./libs -lOpenCL unified.cpp -o unified
Owner
- Name: Minsung_Kim
- Login: alstjd025
- Kind: user
- Location: Seoul, Republic of Korea
- Company: Soongsil University
- Website: alstjd025@gmail.com
- Repositories: 4
- Profile: https://github.com/alstjd025
Mobility Intelligence & Computing Systems Laboratory
GitHub Events
Total
- Push event: 9
- Create event: 2
Last Year
- Push event: 9
- Create event: 2