kvcache-ai-ktransformers/csrc/balance_serve/kvc2/test/hashmap_test.cpp
2025-03-31 22:55:32 +08:00

11 lines
223 B
C++

#include <tbb/concurrent_hash_map.h>
#include <iostream>
int main() {
tbb::concurrent_hash_map<int, int> map;
map.insert({1, 2});
decltype(map)::accessor a;
std::cout << map.find(a, 1) << std::endl;
return 0;
}