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
compilation error in gpu example gpu_device_timer #244
Comments
Interesting... that overload is used quite often. Could you try replacing |
Ah based on this |
Thanks for your answer, unfortunately :
/data/pkestene/install/timemory/git/timemory/source/timemory/components/data_tracker/components.hpp(677): error: no instance of overloaded function "tim::component::data_tracker<InpT, Tag>::store [with InpT=double, Tag=gpu_data_tag]" matches the argument list
argument types are: (lambda [](double, double)->double, double)
object type is: tim::component::data_tracker<double, gpu_data_tag>
detected during instantiation of "tim::component::data_tracker<InpT, Tag>::this_type *tim::component::data_tracker<InpT, Tag>::add_secondary(const std::string &, FuncT &&, T &&, tim::component::data_tracker<InpT, Tag>::enable_if_acceptable_t<T, int>) [with InpT=double, Tag=gpu_data_tag, FuncT=lambda [](double, double)->double, T=double &]"
/data/pkestene/install/timemory/git/timemory/examples/ex-gpu/v3/gpu_device_timer.cpp(92): here |
Yeah, I was able to reproduce it. It is definitely a NVCC bug -- if I make the necessary changes to compile |
Hello,
i'm new to timemory.
I was just trying to build with cuda/gpu support, and I have a compilation error when building gpu examples.
It is a bit weird to me. The compiler doesn't seem to be enable to find the right overload of
data_tracker::store
; I don't see anything wrong in the code.Here is the full compilation command and the error:
The host compiler is g++-11, but I tried g++-10 also, the error is stil there.
Any help appreciated.
The text was updated successfully, but these errors were encountered: