SWDEV-405920: V2 clean up for unimplemented and corrupted APIs
Change-Id: I2c88d8415a3a386377e99b93295adb82e1f7195e
[ROCm/rocprofiler commit: 37c48ce0ab]
This commit is contained in:
committato da
Ammar Elwazir
parent
6964105c1f
commit
eb769499b6
@@ -630,7 +630,7 @@ TEST_F(ATTCollection, WhenRunningATTItCollectsTraceData) {
|
||||
parameters.emplace_back(rocprofiler_att_parameter_t{ROCPROFILER_ATT_TOKEN_MASK2, 0xFFFF});
|
||||
|
||||
// create a session
|
||||
result = rocprofiler_create_session(ROCPROFILER_KERNEL_REPLAY_MODE, &session_id);
|
||||
result = rocprofiler_create_session(ROCPROFILER_NONE_REPLAY_MODE, &session_id);
|
||||
EXPECT_EQ(ROCPROFILER_STATUS_SUCCESS, result);
|
||||
|
||||
// create a buffer to hold att trace records for each kernel launch
|
||||
@@ -742,7 +742,7 @@ TEST_F(ProfilerAPITest, WhenRunningMultipleThreadsProfilerAPIsWorkFine) {
|
||||
std::vector<const char*> counters;
|
||||
counters.emplace_back("SQ_WAVES");
|
||||
|
||||
CheckApi(rocprofiler_create_session(ROCPROFILER_KERNEL_REPLAY_MODE, &session_id));
|
||||
CheckApi(rocprofiler_create_session(ROCPROFILER_NONE_REPLAY_MODE, &session_id));
|
||||
|
||||
rocprofiler_buffer_id_t buffer_id;
|
||||
CheckApi(rocprofiler_create_buffer(session_id, FlushCallback, 0x9999, &buffer_id));
|
||||
@@ -907,7 +907,7 @@ TEST_F(ProfilerSPMTest, WhenRunningSPMItCollectsSPMData) {
|
||||
// spm_parameters.cpu_agent_id = NULL;
|
||||
spm_parameters.sampling_rate = 10000;
|
||||
// create a session
|
||||
CheckApi(rocprofiler_create_session(ROCPROFILER_KERNEL_REPLAY_MODE, &session_id));
|
||||
CheckApi(rocprofiler_create_session(ROCPROFILER_NONE_REPLAY_MODE, &session_id));
|
||||
|
||||
// create a buffer to hold spm trace records for each kernel launch
|
||||
rocprofiler_buffer_id_t buffer_id;
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user