ROCm / ROCR-Runtime

ROCm Platform Runtime: ROCr a HPC market enhanced HSA based runtime
https://rocm.docs.amd.com/projects/ROCR-Runtime/en/latest/
Other
205 stars 97 forks source link

lazy_ptr: fix calling to undefined function #184

Open zhoumin2 opened 3 months ago

zhoumin2 commented 3 months ago

The function Init() called by the one of constructors of lazy_ptr is undefined. That constructor is not used by other code so that the compiler doesn't complain. This patch replaces the Init() with the member function of reset().

183