Skip to content

error: identifier "cublasSetWorkspace" is undefined #41

Closed
@linghai06

Description

@linghai06

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions