46 #if defined(BUILD_CUDA_MODULE) && defined(__CUDACC__) 50 #include <unordered_map> 55 template <
typename Hash,
typename KeyEq>
58 int64_t init_capacity,
63 return CreateTemplateCPUHashmap<Hash, KeyEq>(
64 init_buckets, init_capacity, dsize_key, dsize_value, device);
66 #if defined(BUILD_CUDA_MODULE) && defined(__CUDACC__) 68 return CreateTemplateCUDAHashmap<Hash, KeyEq>(
69 init_buckets, init_capacity, dsize_key, dsize_value, device);
void LogError(const char *format, const Args &... args)
Definition: Console.h:176
DeviceType GetType() const
Definition: Device.h:89
std::shared_ptr< DeviceHashmap< Hash, KeyEq > > CreateTemplateDeviceHashmap(int64_t init_buckets, int64_t init_capacity, int64_t dsize_key, int64_t dsize_value, const Device &device)
Definition: TemplateHashmap.h:56
Definition: PinholeCameraIntrinsic.cpp:35