Skip to content

Commit

Permalink
Updated cuda-api-wrappers with versions 0.7.1 and 0.8.0 and fixed a m…
Browse files Browse the repository at this point in the history
…istype in the test package CMakeLists.txt
  • Loading branch information
eyalroz committed Dec 24, 2024
1 parent 4622ac8 commit d5053a9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
6 changes: 6 additions & 0 deletions recipes/cuda-api-wrappers/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
sources:
"0.8.0":
url: "https://github.com/eyalroz/cuda-api-wrappers/archive/refs/tags/v0.8.0.tar.gz"
sha256: "16c68e450e553d2839f00503a44e85b32c4f4e08f154e9f7c85f706bc5c79bf3"
"0.7.1":
url: "https://github.com/eyalroz/cuda-api-wrappers/archive/refs/tags/v0.7.1.tar.gz"
sha256: "fa30c9fe43a62f5a3fd82a5deb477838fbf0bf455c73a2d2bb5ab6284184900b"
"0.7.0-b2":
url: "https://github.com/eyalroz/cuda-api-wrappers/archive/refs/tags/v0.7.0-b2.tar.gz"
sha256: "9439cb2250dd3045a05d43c4ca66b5d49535eeba123b05a2e49169354fdb3123"
Expand Down
4 changes: 2 additions & 2 deletions recipes/cuda-api-wrappers/all/test_package/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.15)
cmake_minimum_required(VERSION 3.25)
project(test_package LANGUAGES CXX)

find_package(cuda-api-wrappers REQUIRED CONFIG)

add_executable(${PROJECT_NAME} test_package.cpp)
target_link_libraries(${PROJECT_NAME} PRIVATE cuda-api-wrappers::cuda-api-wrappers)
target_link_libraries(${PROJECT_NAME} PRIVATE cuda-api-wrappers::runtime-and-driver)
target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_11)
target_compile_definitions(${PROJECT_NAME} PRIVATE
CUDA_API_WRAPPERS_VERSION=\"${cuda-api-wrappers_VERSION_STRING}\")
4 changes: 4 additions & 0 deletions recipes/cuda-api-wrappers/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
versions:
"0.8.0":
folder: all
"0.7.1":
folder: all
"0.7.0-b2":
folder: all
"0.7-b1":
Expand Down

0 comments on commit d5053a9

Please sign in to comment.