-
Notifications
You must be signed in to change notification settings - Fork 458
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
compiler errors: common_device.h(75): error: more than one conversion function from "tcnn::network_precision_t" to a built-in type applies: #10
Comments
Unfortunately, I'm at a loss as to what's wrong with the compilation here. Two things of note, though:
|
it is a old linux server . |
Could you tell me the detected GPU architecture? (this line in CMake:) |
-- The CXX compiler identification is GNU 9.4.0 |
I got the same compiler error with a K80 installed. I set @Tom94 Is there any chance we might get support for older stuff like K80s even if it's a bit slower? OP does not have tensor core GPUs but a 1080 is pretty fast has plenty of CUDA cores |
@Tom94 FWIW i tried the latest commit (well, instant-ngp at least) for Kepler / K80 / compute 37 and looks like the really old stuff might still need some help. context: the k80s are really cheap in the cloud and common in colab / kaggle etc and they have 11gb ram (times 2 for k80) https://gist.github.com/pwais/4283a069c4b736d59e364e22048ae0ce |
tiny-cuda-nn/include/tiny-cuda-nn/common_device.h(75): error: more than one conversion function from "tcnn::network_precision_t" to a built-in type applies:
function "__half::operator float() const"
function "__half::operator short() const"
function "__half::operator unsigned short() const"
function "__half::operator int() const"
function "__half::operator unsigned int() const"
function "__half::operator long long() const"
function "__half::operator unsigned long long() const"
function "__half::operator __nv_bool() const"
detected during:
instantiation of "void tcnn::warp_activation<T,fragment_t>(tcnn::Activation, const fragment_t &, fragment_t &) [with T=tcnn::network_precision_t, fragment_t=tcnn::vector_fragment_t<tcnn::network_precision_t, 8U>]"
(245): here
instantiation of "void tcnn::kernel_activation(uint32_t, tcnn::Activation, const T *, T *) [with T=tcnn::network_precision_t, N=8U]"
(287): here
instantiation of "void tcnn::activation_gpu(cudaStream_t, uint32_t, tcnn::Activation, const T *, T *) [with T=tcnn::network_precision_t]"
enviroment:
ubuntu 18.04
gtx 1080
g++ 9.4.0
cuda-11.0
The text was updated successfully, but these errors were encountered: