https://github.com/rocm/rocm-opencl-driver
ROCm OpenCL Compiler Tool Driver
https://github.com/rocm/rocm-opencl-driver
Last synced: 5 months ago
JSON representation
ROCm OpenCL Compiler Tool Driver
- Host: GitHub
- URL: https://github.com/rocm/rocm-opencl-driver
- Owner: ROCm
- License: mit
- Created: 2016-05-16T09:26:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-22T21:20:35.000Z (over 6 years ago)
- Last Synced: 2026-01-28T05:23:17.236Z (5 months ago)
- Language: C++
- Homepage:
- Size: 188 KB
- Stars: 24
- Watchers: 28
- Forks: 8
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: License
Awesome Lists containing this project
README
## OVERVIEW
ROCm OpenCL Driver is a thin wrapper over Clang Driver API. It provides C++ interface to compilation services.
## DEPRECATION NOTICE
AMD is deprecating ROCm-OpenCL-Driver. We will no longer develop any new feature in ROCm-OpenCL-Driver and we will stop maintaining it after its final release, which is planned for December 2019. If your application was developed with the ROCm-OpenCL-Driver, we would encourage you to transition it to [ROCm-CompilerSupport](https://github.com/RadeonOpenCompute/ROCm-CompilerSupport), which provides similar functionality.
## BUILDING
This project requires reasonably recent LLVM/Clang build (April 2016 trunk).
Use out-of-source CMake build and create separate directory to run CMake.
The following build steps are performed:
mkdir -p build
cd build
export LLVM_DIR=... (path to LLVM dist)
cmake -DLLVM_DIR=$LLVM_DIR ..
make
make test
This assumes that LLVM_DIR points to dist directory, so we recommend to make sure LLVM is configured
with -DCMAKE_INSTALL_PREFIX=dist and 'make install' is run.