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
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. The related codes are as following from src/core/util/lazy_ptr.h:
/* * Wrapper for a std::unique_ptr that initializes its object at first use. */template<typenameT>classlazy_ptr {
public:
lazy_ptr() {}
explicitlazy_ptr(std::function<T*()>Constructor) { Init(Constructor); }
lazy_ptr(lazy_ptr&&rhs) {
obj=std::move(rhs.obj);
func=std::move(rhs.func);
}
...
}
Operating System
Ubuntu
CPU
Intel(R) Xeon(R)
GPU
Other
Other
No response
ROCm Version
ROCm 6.0.0
ROCm Component
ROCR-Runtime
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Problem Description
The function
Init()
called by the one of constructors oflazy_ptr
is undefined. That constructor is not used by other code so that the compiler doesn't complain. The related codes are as following fromsrc/core/util/lazy_ptr.h
:Operating System
Ubuntu
CPU
Intel(R) Xeon(R)
GPU
Other
Other
No response
ROCm Version
ROCm 6.0.0
ROCm Component
ROCR-Runtime
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: