1# Description: CUB library which is a set of primitives for GPU programming. 2 3package( 4 default_visibility = ["//visibility:public"], 5) 6 7licenses(["notice"]) # BSD 8 9exports_files(["LICENSE.TXT"]) 10 11load("@local_config_cuda//cuda:build_defs.bzl", "cuda_default_copts", "if_cuda") 12 13filegroup( 14 name = "cub_header_files", 15 srcs = glob([ 16 "cub/**", 17 ]), 18) 19 20cc_library( 21 name = "cub", 22 hdrs = if_cuda([":cub_header_files"]), 23 deps = [ 24 "@local_config_cuda//cuda:cuda_headers", 25 ], 26) 27