diff --git a/3rdparty/stdgpu/stdgpu.cmake b/3rdparty/stdgpu/stdgpu.cmake index fb9a64e09fd..a725f228029 100644 --- a/3rdparty/stdgpu/stdgpu.cmake +++ b/3rdparty/stdgpu/stdgpu.cmake @@ -7,9 +7,8 @@ include(ExternalProject) ExternalProject_Add( ext_stdgpu PREFIX stdgpu - # Jun 20 2024. Later versions need CUDA 11.5 and an API update (stdgpu::pair) - URL https://github.com/stotko/stdgpu/archive/1b6a3319f1fbf180166e1bbc1d75f69ab622a0a0.tar.gz - URL_HASH SHA256=faa3bf9cbe49ef9cc09e2e07e60d10bbf3b896edb6089c920bebe0f850fd95e4 + URL https://github.com/stotko/stdgpu/archive/2588168d226bd17229dbf58d821549580791089d.tar.gz + URL_HASH SHA256=86e50789bbe21c57f64358c6acbd4481d56c1e45ce9ba1fb5c5c8482c3973215 DOWNLOAD_DIR "${OPEN3D_THIRD_PARTY_DOWNLOAD_DIR}/stdgpu" UPDATE_COMMAND "" CMAKE_ARGS diff --git a/cpp/open3d/core/hashmap/CUDA/StdGPUHashBackend.h b/cpp/open3d/core/hashmap/CUDA/StdGPUHashBackend.h index 823e19f9901..29dac7cd093 100644 --- a/cpp/open3d/core/hashmap/CUDA/StdGPUHashBackend.h +++ b/cpp/open3d/core/hashmap/CUDA/StdGPUHashBackend.h @@ -90,7 +90,7 @@ class StdGPUAllocator { // accessible in raw CUDA kernels. template using InternalStdGPUHashBackendAllocator = - StdGPUAllocator>; + StdGPUAllocator>; template using InternalStdGPUHashBackend = @@ -252,7 +252,7 @@ void StdGPUHashBackend::Erase(const void* input_keys, template struct ValueExtractor { OPEN3D_HOST_DEVICE buf_index_t - operator()(const thrust::pair& x) const { + operator()(const stdgpu::pair& x) const { return x.second; } };