You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
CUDA 11 RC, Microsoft Visual Studio Community 2019 Version 16.5.4
When compiling I get this warning:
thrust\detail\allocator\allocator_traits.inl(251): warning C4700: uninitialized local variable 'result' used
When running in debug mode I get this runtime error in allocator_traits.inl(251):
Run-Time Check Failure #3 - The variable 'result' is being used without being initialized.
I fixed by changing line 250 from: typename allocator_system<Alloc>::type result;
to typename allocator_system<Alloc>::type result {};
The text was updated successfully, but these errors were encountered:
CUDA 11 RC, Microsoft Visual Studio Community 2019 Version 16.5.4
When compiling I get this warning:
thrust\detail\allocator\allocator_traits.inl(251): warning C4700: uninitialized local variable 'result' used
When running in debug mode I get this runtime error in allocator_traits.inl(251):
Run-Time Check Failure #3 - The variable 'result' is being used without being initialized.
I fixed by changing line 250 from:
typename allocator_system<Alloc>::type result;
to
typename allocator_system<Alloc>::type result {};
The text was updated successfully, but these errors were encountered: