mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2025-09-08 05:29:29 +00:00
11 lines
223 B
C++
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;
|
|
}
|