The small raytracer project based on "Ray Tracing in One Weekend" using HIP
- Download and install nvidia-cuda-toolkit;
- Set environment variable $ROCM_PATH to the foulder where ROCm software will be stored;
- Download and install HIP https://github.com/RadeonOpenCompute/hcc to $ROCM_PATH;
- Download and install HIP RAND https://github.com/ROCmSoftwarePlatform/rocRAND $ROCM_PATH;
- git clone https://github.com/sargarass/Raytracer.git;
- cd Raytracer && mkdir build && cd build;
- cmake.. && make -j$(nproc);
- run program: ./raytracer;