Skip to content

Commit

Permalink
Merge pull request microsoft#4697 from MarkIanHolland/cub
Browse files Browse the repository at this point in the history
[cub] Initial port
  • Loading branch information
Rastaban authored Nov 14, 2018
2 parents 0b5854a + caa3f2c commit 1fe90f5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/cub/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Source: cub
Version: 1.8.0
Description: CUB is a flexible library of cooperative threadblock primitives and other utilities for CUDA kernel programming
Build-Depends: cuda
12 changes: 12 additions & 0 deletions ports/cub/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
include(vcpkg_common_functions)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO NVlabs/cub
REF v1.8.0
SHA512 c4ba51ca4e369c8ef87bc411aa011470478fcc2526b667f088e9ac8c62e6532dc2368e869f5147b56f22b3e8718c7276434c3294d9d67cb3a92c700d163e8fa7
HEAD_REF master
)

file(COPY ${SOURCE_PATH}/cub/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/cub)

configure_file(${SOURCE_PATH}/LICENSE.TXT ${CURRENT_PACKAGES_DIR}/share/cub/copyright COPYONLY)

0 comments on commit 1fe90f5

Please sign in to comment.