Code Monkey home page Code Monkey logo

Comments (3)

YouthImagination avatar YouthImagination commented on August 17, 2024

I think I install cuda visual studio integration 11.6 correctly. Just in case, I re-install cuda again, and install all component.
But I get same problem CUDA not found

from pbrt-v4.

mmp avatar mmp commented on August 17, 2024

Try setting CMAKE_CUDA_ARCHITECTURES to just 75, as per #374 (comment)

from pbrt-v4.

YouthImagination avatar YouthImagination commented on August 17, 2024

Thanks for reply! I try to set CMAKE_CUDA_ARCHITECTURES just to 75 and change cuda version to 12.1. But I got same error, it seems not work for me

Found CUDA: 12.1.105
The CUDA compiler identification is unknown
CMake Error at D:/software/CMake/share/cmake-3.23/Modules/CMakeDetermineCUDACompiler.cmake:654 (message):
  The CMAKE_CUDA_ARCHITECTURES:

    75

  do not all work with this compiler.  Try:

    

  instead.
Call Stack (most recent call first):
  CMakeLists.txt:191 (enable_language)


Configuring incomplete, errors occurred!
See also "D:/Codes/pbrt-v4/build/CMakeFiles/CMakeOutput.log".
See also "D:/Codes/pbrt-v4/build/CMakeFiles/CMakeError.log".

My Cmake version is 3.23.0-rc5. I set CMAKE_CUDA_COMPILER to C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/bin/nvcc.exe. I am not sure if it is correnct.

from pbrt-v4.

Related Issues (20)

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.