(IMPORTANT: AFAR V ) Hide PC sampling if HSA does not support it. (#881)
* Hide PC sampling if HSA does not support it. * missing hsa.hpp include
This commit is contained in:
committad av
GitHub
förälder
00f31e593c
incheckning
7201aa321e
@@ -22,7 +22,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <hsa/hsa_api_trace.h>
|
||||
#include "lib/rocprofiler-sdk/hsa/hsa.hpp"
|
||||
|
||||
#if ROCPROFILER_SDK_HSA_PC_SAMPLING > 0
|
||||
|
||||
# include <hsa/hsa_api_trace.h>
|
||||
|
||||
namespace rocprofiler
|
||||
{
|
||||
@@ -38,3 +42,5 @@ finalize();
|
||||
} // namespace code_object
|
||||
} // namespace pc_sampling
|
||||
} // namespace rocprofiler
|
||||
|
||||
#endif
|
||||
|
||||
Referens i nytt ärende
Block a user