bump pre commit and fix format (#373)

This commit is contained in:
Awni Hannun
2024-01-04 16:28:52 -08:00
committed by GitHub
parent c82a8cc526
commit b9e415d19c
6 changed files with 2 additions and 10 deletions

View File

@@ -139,7 +139,7 @@ Device::~Device() {
void Device::new_queue(int index) {
auto thread_pool = metal::new_scoped_memory_pool();
// Multiple threads can ask the device for queues
// We lock this as a critical section for safety
const std::lock_guard<std::mutex> lock(mtx_);