pjhusky / SYCL-pathtracer

Basic Path Tracer in SYCL / DPC++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SYCL-Pathtracer

A path tracer with next-event estimation in a single C++ file using SYCL for acceleration.

This project was inspired by Reinhold Preiner's single-source GLSL path tracer in 111 lines of code, which itself is based on Kevin Beason's smallpt. This project does not quite hit the sub 111 LOC target, but should remain quite readable at roughly 450 LOC.

SYCL Business Card Raytracer

Business Card Raytracer in roughly 300 LOC. A port of Fabien Sanglard's code to SYCL and made text definition more explicit through binary literals and bit operations per character.

To run, first type make.bat to build the executable, followed by sycl-business-card-raytracer.exe > sycl-business-card-raytracer.ppm to render the image.

SYCL Mandelbrot Set

Furthermore, this repository contains two SYCL samples that both calculate the Mandelbrot - once using Unified Shared Memory (USM), and once using explicit device buffers [1].

References

About

Basic Path Tracer in SYCL / DPC++


Languages

Language:C++ 96.6%Language:Makefile 2.1%Language:Batchfile 1.3%