Skip to content

just small question. why I get "fatal error: cuco/static_map.cuh: No such file or directory #include <cuco/static_map.cuh>" #391

Answered by Autumn1998
Autumn1998 asked this question in Q&A
Discussion options

You must be logged in to vote

Sure.
The whole CmakeList.txt:

cmake_minimum_required(VERSION 3.27)
project(DairyQueen_op_kernels CXX CUDA)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
set(CMAKE_CXX_STANDARD 17)
find_package(CUDAToolkit REQUIRED)

# add CPM
include(cmake/CPM.cmake)
CPMAddPackage(
  NAME cuco
  GITHUB_REPOSITORY NVIDIA/cuCollections
  GIT_TAG dev
  OPTIONS
     "BUILD_TESTS OFF"
     "BUILD_BENCHMARKS OFF"
     "BUILD_EXAMPLES OFF"
)

# build lib
add_library(Iterator SHARED dairy_queen/array_iterator.cu)
add_library(AndSearch SHARED dairy_queen/AndSearch.cu)
add_library(AndMaybeSearch SHARED dairy_queen/AndMaybeSearch.cu)
add_library(AndNotSearch SHARED dairy_qu…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@Autumn1998
Comment options

@Autumn1998
Comment options

@PointKernel
Comment options

@Autumn1998
Comment options

Answer selected by Autumn1998
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants