Additional 1.0.0 changes (#317)
* Additional 1.0.0 changes - Update VERSION - Add beta compatibility for rocprofiler_agent_set_profile_callback_t * Fix location of deprecated typedef rocprofiler_agent_set_profile_callback_t * rocprofiler_record_counter_t -> rocprofiler_counter_record_t * Experimental + deprecated annotations * rocprofiler_record_dimension_info_t -> rocprofiler_counter_record_dimension_info_t --------- Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
此提交包含在:
@@ -68,7 +68,7 @@ proccess_completed_cb(completed_cb_params_t&& params)
|
||||
|
||||
prof_config->packets.wlock([&](auto& pkt_vector) { pkt_vector.emplace_back(std::move(pkt)); });
|
||||
|
||||
common::container::small_vector<rocprofiler_record_counter_t, 128> out;
|
||||
common::container::small_vector<rocprofiler_counter_record_t, 128> out;
|
||||
rocprofiler::buffer::instance* buf = nullptr;
|
||||
|
||||
if(info->buffer)
|
||||
@@ -92,7 +92,7 @@ proccess_completed_cb(completed_cb_params_t&& params)
|
||||
auto _dispatch_id = session.callback_record.dispatch_info.dispatch_id;
|
||||
for(auto& ast : prof_config->asts)
|
||||
{
|
||||
std::vector<std::unique_ptr<std::vector<rocprofiler_record_counter_t>>> cache;
|
||||
std::vector<std::unique_ptr<std::vector<rocprofiler_counter_record_t>>> cache;
|
||||
auto* ret = ast.evaluate(decoded_pkt, cache);
|
||||
CHECK(ret);
|
||||
ast.set_out_id(*ret);
|
||||
|
||||
新增問題並參考
封鎖使用者