88c6e0a700
The HIP runtime is now allocating the hip_api_data and record on its stack so we don't need the thread local record_data_pair stack anymore. Refactor the API callback function to handle both the case where synchronous user callbacks are requested and the case where asynchronous records are requested (enable_callback & enable_activity respectively). If the callback argument (memory pool) is not null, then activity records are requested. Remove CorrelationIdRegister and CorrelationIdLookup. These were used by the HIP runtime to associate a HIP record id to a ROCtracer correlation id. Instead, the HIP runtime is now using the correlation ID returned in the hip_api_data_t. Added a test to check enabling/disabling concurrent callbacks and activities. Change-Id: I5850cfead9861eb3602a3e8fcb7b22580d5fc979