From acce35d21f74c8f4d1e254ca102fd414c34ce91e Mon Sep 17 00:00:00 2001 From: Evgeny Date: Thu, 16 Nov 2017 10:11:44 -0600 Subject: [PATCH] _aqlprofile_start() API migration Change-Id: I7c8c7a6fc6f9b20cc2e4074dde38fb19440927f1 [ROCm/ROCR-Runtime commit: 86939368d1540c8001599b459e5a767788445a40] --- .../hsa-runtime/inc/hsa_ven_amd_aqlprofile.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ven_amd_aqlprofile.h b/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ven_amd_aqlprofile.h index a597da53e8..c6c6be3c23 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ven_amd_aqlprofile.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/inc/hsa_ven_amd_aqlprofile.h @@ -191,16 +191,9 @@ typedef struct { // Method to populate the provided AQL packet with profiling start commands // Only 'pm4_command' fields of the packet are set and the application // is responsible to set Vendor Specific header type a completion signal -#ifndef HSA_AQLPROFILE_START_NEW_API -hsa_status_t hsa_ven_amd_aqlprofile_start( - const hsa_ven_amd_aqlprofile_profile_t* profile, // [in] profile contex object - hsa_ext_amd_aql_pm4_packet_t* aql_start_packet); // [out] profile start AQL packet -#else -// Will return required profile buffers sizes if the size is less then required hsa_status_t hsa_ven_amd_aqlprofile_start( hsa_ven_amd_aqlprofile_profile_t* profile, // [in/out] profile contex object hsa_ext_amd_aql_pm4_packet_t* aql_start_packet); // [out] profile start AQL packet -#endif // Method to populate the provided AQL packet with profiling stop commands // Only 'pm4_command' fields of the packet are set and the application @@ -299,15 +292,9 @@ typedef struct hsa_ven_amd_aqlprofile_1_00_pfn_s { const hsa_ven_amd_aqlprofile_event_t* event, bool* result); -#ifndef HSA_AQLPROFILE_START_NEW_API - hsa_status_t (*hsa_ven_amd_aqlprofile_start)( - const hsa_ven_amd_aqlprofile_profile_t* profile, - hsa_ext_amd_aql_pm4_packet_t* aql_start_packet); -#else hsa_status_t (*hsa_ven_amd_aqlprofile_start)( hsa_ven_amd_aqlprofile_profile_t* profile, hsa_ext_amd_aql_pm4_packet_t* aql_start_packet); -#endif hsa_status_t (*hsa_ven_amd_aqlprofile_stop)( const hsa_ven_amd_aqlprofile_profile_t* profile,