Giter VIP home page Giter VIP logo

raytrace's Introduction

raytrace

Build instructions:

  1. Run premake5 from the project root. For visual studio, use vs2015 or vs2017 as the argument. For makefile, use gmake I think?
  2. Build files are in ./build. If you are in visual studio, you might need to set the windows sdk version. You will know because the compiler will complain about missing standard header files.
  3. If you are windows I have a helper program that lists opencl devices. Its in one of the _old directories, called list_devices.exe. Run that from a terminal.
  4. Run the executable from the project root. Exe is somewhere, I forgot. You might need to do this from a terminal. If you have multiple opencl-capable devices, then you will need to specify which device to run on. The first argument is platform, the second is device. Output is formatted like this:
amd platform
  amd ryzen 1700 list_of_extensions
nvidia platform
  nvidida gtx 1080 list_of_extensions

You would use: 1 0 as the arguments b/c the gpu is platform 2 (index 1) and the device is index 0. You can also try other devices to see what happens :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.