diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp index 82d2c71167..d8d4de90f2 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_aql_queue.cpp @@ -1910,10 +1910,6 @@ void AqlQueue::InitScratchSRD() { amd_queue_.alt_scratch_backing_memory_location = queue_scratch_.alt_queue_process_offset; const auto& agent_props = agent_->properties(); - const uint32_t num_xcc = agent_props.NumXcc; - // report size per XCC - amd_queue_.scratch_backing_memory_byte_size = queue_scratch_.main_size / num_xcc; - amd_queue_.alt_scratch_backing_memory_byte_size = queue_scratch_.alt_size / num_xcc; // For backwards compatibility this field records the per-lane scratch // for a 64 lane wavefront. If scratch was allocated for 32 lane waves