An open API service indexing awesome lists of open source software.

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

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.