46 #if defined(BUILD_CUDA_MODULE) && defined(__CUDACC__) 50 #include <unordered_map> 55 template <
typename Hash,
typename KeyEq>
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
std::shared_ptr< DeviceHashmap< Hash, KeyEq > > CreateTemplateDeviceHashmap(size_t init_buckets, size_t init_capacity, size_t dsize_key, size_t dsize_value, const Device &device)
Definition: TemplateHashmap.h:56
DeviceType GetType() const
Definition: Device.h:89
Definition: PinholeCameraIntrinsic.cpp:35