-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
nvc++: integer conversion resulted in a change of sign #229
Comments
I reached out to NVIDIA. The parallel-hashmap usage in https://forums.developer.nvidia.com/t/nvfortran-23-9-problem/270618/13?u=marioeroy |
Thank you @marioroy , I'm very busy right now, but I'll look into this when I can I promise. |
Have met the same warnings with nvcc. Seems simply including the header will trigger the warning: #include <phmap.h>
int main() {} Compiled with
|
I tried the suggestion, emitted by
I also tried
|
Warnings are fixed with latest version. |
Hi, @greg7mdp The NVIDIA
#ifdef MAX_STR_LEN_L
// std::basic_string<char> s { it->first.data(), MAX_STR_LEN_L };
// str.append(s.c_str());
str.append(it->first.data());
#else
str.append(it->first.data(), it->first.size());
#endif Results:
Thank you for the tip to reclaim memory. MyMap().swap(map); // swap map with an empty temporary, which is immediately destroyed |
Thanks, interesting data, |
Previously, the program ran poorly using
|
That's great, thanks for doing that. Maybe I should add the |
I tried nvc++ (NVIDIA HPC SDK) and thought to pass this along. I ran
git pull
and have the latest from master.The llil4hmap.cc demonstration is found in my gist repo.
https://gist.github.com/marioroy/3924c48e140f8330f25f67cd98a815ef
The text was updated successfully, but these errors were encountered: