refactor: migrate voxel data storage to DataAllocator for CUDA

This commit is contained in:
AndreaRigoni
2026-02-28 10:05:39 +00:00
parent 07915295cb
commit 52580d8cde
14 changed files with 1484 additions and 1022 deletions

View File

@@ -9,6 +9,13 @@ cmake_minimum_required (VERSION 3.26)
project(uLib)
# CUDA Toolkit seems to be missing locally. Toggle ON if nvcc is made available.
option(USE_CUDA "Enable CUDA support" ON)
if(USE_CUDA)
enable_language(CUDA)
add_compile_definitions(USE_CUDA)
endif()
# The version number.
set(PROJECT_VERSION_MAJOR 0)
set(PROJECT_VERSION_MINOR 6)