Git Product home page Git Product logo

Comments (5)

Pjbomb2 avatar Pjbomb2 commented on May 21, 2024

I have not picked up development, and am instead working on my own pathtracer(on my github), which I mention because without Zuen, I wouldnt have had the drive to continue it a year ago,
Sorry, but I am not sure if this will work with the latest cuda, havent used it in awhile sorry

from gpu-raytracer.

lonnietc avatar lonnietc commented on May 21, 2024

Hello,

I have been able to compile it up with CUDA 11.0.2 and it seems to initially work run by giving me the help screen with:

Pathtracer.exe --help

I did see some mention of using the Mitsuba examples but not sure how to use them:

https://github.com/jan-van-bergen/Mitsuba-Scenes

Now the question is how to interactively render the images that you have on the Github site?

I am wondering what a typical CLI invocation looks like.

Any help that you could provide would be appreciated.
Thanks agian.

from gpu-raytracer.

lonnietc avatar lonnietc commented on May 21, 2024

Nope, I was mistaken as it will build apparently, but I get a runtime error for both the Release and Debug versions:

Loaded BVH 'Data/sponza/models/sponza_344.obj.bvh' from disk
Loaded BVH 'Data/sponza/models/sponza_275.obj.bvh' from disk
Loaded BVH 'Data/sponza/models/Icosphere.obj.bvh' from disk
Loaded BVH 'Data/sponza/models/sponza_381.obj.bvh' from disk
NVRTC output:
nvrtc: error: invalid value for --gpu-architecture (-arch)

from gpu-raytracer.

Pjbomb2 avatar Pjbomb2 commented on May 21, 2024

I am not sure of the error tbh, its been a year since I launched it, sorry

from gpu-raytracer.

desparito avatar desparito commented on May 21, 2024

Hi @lonnietc , in Device/CUDAContext.cpp, at CUDAContext::init(), the best compute capability (best_compute_capability) is determined and this variable is passed to NVRTC's --gpu-architecture command line argument as compute_XX, where XX is this compute capability. However, this might not match with an actual compute (minor) version (you can find the accepted command line arguments in the user guide, page 17).

It's likely that the code is passing this incorrect argument to NVRTC, so the best option is to round down this best_compute_capability to the nearest major version (e.g. non-existent version 86 becomes existing version 80).

from gpu-raytracer.

Related Issues (15)

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.