Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: identifier "cublasSetWorkspace" is undefined #41

Closed
linghai06 opened this issue Jan 18, 2022 · 3 comments
Closed

error: identifier "cublasSetWorkspace" is undefined #41

linghai06 opened this issue Jan 18, 2022 · 3 comments

Comments

@linghai06
Copy link

Hi, really nice and inspiring work! But I was stuck in the compiling process on a V100 machine, with an error of identifier "cublasSetWorkspace" is undefined. Please see the following details.

[ 50%] Built target glfw_objects
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/shampoo.h(756): error: identifier "cublasSetWorkspace" is undefined
          detected during:
            instantiation of "tcnn::ShampooOptimizer<T>::ShampooOptimizer(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/src/optimizer.cu(72): here
            instantiation of "tcnn::Optimizer<T> *tcnn::create_optimizer<T>(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/average.h(66): here

/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/shampoo.h(774): error: identifier "cublasSetWorkspace" is undefined
          detected during:
            instantiation of "tcnn::ShampooOptimizer<T>::ShampooOptimizer(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/src/optimizer.cu(72): here
            instantiation of "tcnn::Optimizer<T> *tcnn::create_optimizer<T>(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/average.h(66): here

/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/shampoo.h(797): error: identifier "cublasSetWorkspace" is undefined
          detected during:
            instantiation of "tcnn::ShampooOptimizer<T>::ShampooOptimizer(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/src/optimizer.cu(72): here
            instantiation of "tcnn::Optimizer<T> *tcnn::create_optimizer<T>(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/average.h(66): here

3 errors detected in the compilation of "/home/projects/instant-ngp/dependencies/tiny-cuda-nn/src/optimizer.cu".
make[2]: *** [dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/build.make:188: dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/optimizer.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 50%] Built target optix_program
make[1]: *** [CMakeFiles/Makefile2:335: dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/all] Error 2

Any suggestion?

@linghai06
Copy link
Author

Hi, really nice and inspiring work! But I was stuck in the compiling process on a V100 machine, with an error of identifier "cublasSetWorkspace" is undefined. Please see the following details.

[ 50%] Built target glfw_objects
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/shampoo.h(756): error: identifier "cublasSetWorkspace" is undefined
          detected during:
            instantiation of "tcnn::ShampooOptimizer<T>::ShampooOptimizer(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/src/optimizer.cu(72): here
            instantiation of "tcnn::Optimizer<T> *tcnn::create_optimizer<T>(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/average.h(66): here

/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/shampoo.h(774): error: identifier "cublasSetWorkspace" is undefined
          detected during:
            instantiation of "tcnn::ShampooOptimizer<T>::ShampooOptimizer(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/src/optimizer.cu(72): here
            instantiation of "tcnn::Optimizer<T> *tcnn::create_optimizer<T>(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/average.h(66): here

/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/shampoo.h(797): error: identifier "cublasSetWorkspace" is undefined
          detected during:
            instantiation of "tcnn::ShampooOptimizer<T>::ShampooOptimizer(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/src/optimizer.cu(72): here
            instantiation of "tcnn::Optimizer<T> *tcnn::create_optimizer<T>(const tcnn::json &) [with T=float]"
/home/projects/instant-ngp/dependencies/tiny-cuda-nn/include/tiny-cuda-nn/optimizers/average.h(66): here

3 errors detected in the compilation of "/home/projects/instant-ngp/dependencies/tiny-cuda-nn/src/optimizer.cu".
make[2]: *** [dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/build.make:188: dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/optimizer.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 50%] Built target optix_program
make[1]: *** [CMakeFiles/Makefile2:335: dependencies/tiny-cuda-nn/src/CMakeFiles/tiny-cuda-nn.dir/all] Error 2

Any suggestion?

I updated cuda11.0 to cuda11.4 and the problem disappeared. Quite strange.

@mowangmodi
Copy link

你好,这个解决了吗

@mowangmodi
Copy link

How to solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants