SDK: remove majority of exceptions (#176)
* SDK: remove majority of exceptions
- replace with ROCP_FATAL, ROCP_CI_LOG(WARNING), etc.
- improve logging of symbolic link
- add --readlink and --realpath (hidden options) to rocprofv3 to follow symlinks for preloaded libraries
* Add rocprofv3 --rocm-root argument
* Fix registration resolved_exists
* Fix rocprofv3_avail.py
* Update logging for rocprofiler_configure search
- relax failure conditions
* Misc clang-tidy fixes
* Fix merge
* Fix merge
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Bhardwaj, Gopesh <Gopesh.Bhardwaj@amd.com>
[ROCm/rocprofiler-sdk commit: 470f347e50]
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "lib/common/defines.hpp"
|
||||
#include "lib/common/logging.hpp"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
@@ -68,8 +69,7 @@ public:
|
||||
{
|
||||
if(!(m_addrs.empty() && m_blocks.empty()))
|
||||
{
|
||||
throw std::runtime_error{"cannot call pool::rebind() after alloc"};
|
||||
::abort();
|
||||
ROCP_FATAL << "cannot call pool::rebind() after alloc";
|
||||
}
|
||||
|
||||
m_size = size;
|
||||
|
||||
Reference in New Issue
Block a user