torch_mlu/csrc/aten/core/caching_allocator.cpp
void recordQueue(const c10::DataPtr& data_ptr, Queue queue) {
  if (debug_mode) {
    debugging_allocator.recordQueue(data_ptr, queue);
  } else {
    caching_allocator.recordQueue(data_ptr, queue);
  }
}
// The library provides a recordQueue() function to help insert the correct
// synchronization when allocations are used on multiple queues. This will
// ensure that the chunk is not reused before each recorded queue completes
// work.
The library provides a recordQueue() function to help insert the correct
synchronization when allocations are used on multiple queues. This will
ensure that the chunk is not reused before each recorded queue completes
work.
The library provides a recordQueue () function to help insert the correct synchronization when allocations are used on multiple queues . This will ensure that the chunk is not reused before each recorded queue completes work .
void recordQueue(const c10::DataPtr& data_ptr, Queue queue) {
  if (debug_mode) {
    debugging_allocator.recordQueue(data_ptr, queue);
  } else {
    caching_allocator.recordQueue(data_ptr, queue);
  }
}
void recordQueue ( const c10 :: DataPtr & data_ptr , Queue queue ) { if ( debug_mode ) { debugging_allocator . recordQueue ( data_ptr , queue ) ; } else { caching_allocator . recordQueue ( data_ptr , queue ) ; } }
The library provides a recordQueue() function to help insert the correct
synchronization when allocations are used on multiple queues.
The library provides a recordQueue () function to help insert the correct synchronization when allocations are used on multiple queues .