repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/CMakeLists.txt
cmake_minimum_required(VERSION 3.14) project(MDSpan VERSION 0.4.0 LANGUAGES CXX ) include(GNUInstallDirs) ################################################################################ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") #########################################################...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/README.md
Reference `mdspan` implementation ========================================== The ISO-C++ proposal [P0009](https://wg21.link/p0009) will add support for non-owning multi-dimensional array references to the C++ standard library. This repository aims to provide a production-quality implementation of the proposal as writ...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/make_single_header.py
#!/usr/bin/env python3 import re import sys import os from os.path import dirname, join as path_join, abspath, exists extra_paths = [path_join(dirname(abspath(__file__)), "include")] def find_file(included_name, current_file): current_dir = dirname(abspath(current_file)) for idir in [current_dir] + extra_pat...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/LICENSE
//@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2014) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softwa...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/mdarray
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/mdspan
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p1684_bits/mdarray.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/mdspan.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/layout_right.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/full_extent_t.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/no_unique_address.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/layout_padded.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/type_list.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/maybe_static_value.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/compressed_pair.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/dynamic_extent.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/aligned_accessor.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/submdspan.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/extents.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/default_accessor.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/layout_left.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/static_array.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/trait_backports.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/layout_stride.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/standard_layout_static_array.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/config.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/include/experimental/__p0009_bits/macros.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/test_mdarray_ctors.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/offload_utils.hpp
namespace { bool dispatch_host = true; #define __MDSPAN_DEVICE_ASSERT_EQ(LHS, RHS) \ if (!(LHS == RHS)) { \ printf("expected equality of %s and %s\n", #LHS, #RHS); \ errors[0]++; \ } #ifdef _MDSPAN_HAS_CUDA template<class LAMBDA> RAFT_KERNEL dispatch_kernel(const LAMBDA f) { f(); } template<class LAMBDA> voi...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/CMakeLists.txt
#The tests in CUDA use lambdas if(MDSPAN_ENABLE_CUDA) if(CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA") set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --extended-lambda") endif() endif() macro(mdspan_add_test name) if(MDSPAN_TEST_LANGUAGE) set_source_files_properties(${name} PROPERTIES LANGUAGE ${MDSPAN_TEST_LANG...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/test_layout_stride.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/test_extents.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2021) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/test_mdspan_ctors.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/test_submdspan.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/test_mdspan_conversion.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/test_element_access.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions of Sandia, LLC (NTESS). // // Under the terms of Contract DE-NA0003525 with NTESS, // the U.S. Govern...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/test_exhaustive_layouts.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/tests/test_layout_ctors.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/fill.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/CMakeLists.txt
function(mdspan_add_benchmark EXENAME) add_executable(${EXENAME} ${EXENAME}.cpp) target_link_libraries(${EXENAME} mdspan benchmark::benchmark) target_include_directories(${EXENAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/benchmarks> ) endfunction() find_package(benchmark REQUIRED) function(mdspan_...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil/stencil_3d.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil/CMakeLists.txt
mdspan_add_benchmark(stencil_3d) if(MDSPAN_ENABLE_CUDA) add_subdirectory(cuda) endif() if(MDSPAN_ENABLE_OPENMP) add_subdirectory(openmp) endif()
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil/cuda/CMakeLists.txt
if(CMAKE_CUDA_COMPILER_ID STREQUAL "NVIDIA") set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --extended-lambda") endif() mdspan_add_cuda_benchmark(stencil_3d_cuda) target_include_directories(stencil_3d_cuda PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/benchmarks/stencil> )
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil/cuda/stencil_3d_cuda.cu
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil/openmp/CMakeLists.txt
mdspan_add_openmp_benchmark(stencil_3d_openmp) if(OpenMP_CXX_FOUND) target_include_directories(stencil_3d_openmp PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/benchmarks/stencil> ) endif()
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/stencil/openmp/stencil_3d_openmp.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/copy/CMakeLists.txt
mdspan_add_benchmark(copy_layout_stride)
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/copy/copy_layout_stride.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/matvec/CMakeLists.txt
if(MDSPAN_ENABLE_CUDA) add_subdirectory(cuda) endif() if(MDSPAN_ENABLE_OPENMP) add_subdirectory(openmp) endif()
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/matvec
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/matvec/cuda/CMakeLists.txt
mdspan_add_cuda_benchmark(matvec_cuda) target_include_directories(matvec_cuda PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/benchmarks/matvec> )
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/matvec
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/matvec/cuda/matvec_cuda.cu
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/matvec
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/matvec/openmp/matvec_openmp.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/matvec
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/matvec/openmp/CMakeLists.txt
mdspan_add_openmp_benchmark(matvec_openmp) if(OpenMP_CXX_FOUND) target_include_directories(matvec_openmp PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/benchmarks/matvec> ) endif()
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/tiny_matrix_add/CMakeLists.txt
mdspan_add_benchmark(tiny_matrix_add) if(MDSPAN_ENABLE_OPENMP) add_subdirectory(openmp) endif()
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/tiny_matrix_add/tiny_matrix_add.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/tiny_matrix_add
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/tiny_matrix_add/openmp/tiny_matrix_add_openmp.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/tiny_matrix_add
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/tiny_matrix_add/openmp/CMakeLists.txt
mdspan_add_openmp_benchmark(tiny_matrix_add_openmp) if(OpenMP_CXX_FOUND) target_include_directories(stencil_3d_openmp PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/benchmarks/tiny_matrix_add> ) endif()
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum/CMakeLists.txt
mdspan_add_benchmark(sum_3d_right) mdspan_add_benchmark(sum_3d_left) mdspan_add_benchmark(sum_submdspan_right) if(MDSPAN_ENABLE_CUDA) add_subdirectory(cuda) endif() if(MDSPAN_ENABLE_OPENMP) add_subdirectory(openmp) endif()
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum/sum_3d_right.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum/sum_submdspan_right.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum/sum_3d_left.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum/sum_3d_common.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum/cuda/sum_3d_cuda.cu
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum/cuda/CMakeLists.txt
mdspan_add_cuda_benchmark(sum_3d_cuda) target_include_directories(sum_3d_cuda PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/benchmarks/sum> )
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum/openmp/CMakeLists.txt
mdspan_add_openmp_benchmark(sum_3d_openmp) if(OpenMP_CXX_FOUND) target_include_directories(sum_3d_openmp PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/benchmarks/sum> ) endif()
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/benchmarks/sum/openmp/sum_3d_openmp.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/cmake/mdspanConfig.cmake.in
@PACKAGE_INIT@ include("${CMAKE_CURRENT_LIST_DIR}/mdspanTargets.cmake")
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/cmake/metabench.cmake
# Copyright Louis Dionne 2017 # Copyright Bruno Dutra 2016 # # Distributed under the Boost Software License, Version 1.0. # See https://github.com/ldionne/metabench/blob/master/LICENSE.md. # # This file is part of Metabench, a simple framework for compile-time # benchmarks. For documentation, questions and other resour...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/cmake
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/cmake/googletest/CMakeLists.txt.in
# from https://github.com/google/googletest/blob/master/googletest/README.md cmake_minimum_required(VERSION 3.0) project(googletest-download NONE) include(ExternalProject) ExternalProject_Add(googletest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG main SOURCE_DIR "${CMAKE_...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_extents_type_check.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_common.hpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_compressed_pair_layout.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2020) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/CMakeLists.txt
macro(add_compilation_test name) if(MDSPAN_TEST_LANGUAGE) set_source_files_properties(${name} PROPERTIES LANGUAGE ${MDSPAN_TEST_LANGUAGE}) endif() add_executable(${name} ${name}.cpp) target_link_libraries(${name} mdspan) endmacro() add_compilation_test(ctest_constructor_sfinae) add_compilation_test(ctest_...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_no_unique_address.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2020) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_trivially_copyable.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2020) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_standard_layout.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2020) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_layout_convertible.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_constexpr_layouts.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_extents_ctors.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_constexpr_submdspan.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_constexpr_dereference.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_constructor_sfinae.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/compilation_tests/ctest_mdspan_convertible.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2020) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/comp_bench/CMakeLists.txt
include(metabench) function(add_cxx_comparison name template range) set(all_datasets) foreach(std IN ITEMS 11 14 17) metabench_add_dataset( ${name}_${std} ${template} ${range} MEDIAN_OF 3 ) target_link_libraries(${name}_${std} mdspan) set_proper...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/comp_bench/cbench_submdspan.cpp.erb
#include <experimental/mdspan> int test(int* data) { #if defined(METABENCH) auto sub0 = std::experimental::mdspan<int, std::experimental::extents< <%= (["2"] * n).join(", ") %> > >(data); <% (32/n).times do |k| %> auto <%= "sub0_#{k}" %> = std::experimental::mdspan<int, std::experimental::...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples/CMakeLists.txt
cmake_minimum_required(VERSION 3.12...3.19) project(example LANGUAGES CXX) if(NOT TARGET std::mdspan) find_package(mdspan REQUIRED) endif() function(mdspan_add_example EXENAME) add_executable(${EXENAME} ${EXENAME}.cpp) target_link_libraries(${EXENAME} std::mdspan) endfunction() add_subdirectory(godbolt_starte...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples/tiled_layout/simple_tiled_layout.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples/tiled_layout/CMakeLists.txt
mdspan_add_example(simple_tiled_layout)
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples/dot_product/CMakeLists.txt
mdspan_add_example(dot_product)
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples/dot_product/dot_product.cpp
/* //@HEADER // ************************************************************************ // // Kokkos v. 2.0 // Copyright (2019) Sandia Corporation // // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, // the U.S. Government retains certain rights in this softw...
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples/godbolt_starter/CMakeLists.txt
mdspan_add_example(godbolt_starter)
0
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples
rapidsai_public_repos/raft/cpp/include/raft/thirdparty/mdspan/examples/godbolt_starter/godbolt_starter.cpp
#if defined(_MDSPAN_USE_CLASS_TEMPLATE_ARGUMENT_DEDUCTION) // https://godbolt.org/z/ehErvsTce #include <experimental/mdspan> #include <iostream> namespace stdex = std::experimental; int main() { std::array d{ 0, 5, 1, 3, 8, 4, 2, 7, 6, }; stdex::mdspan m{d.data(), stdex::extents{3, 3}}; for (std...
0
rapidsai_public_repos/raft/cpp/include/raft
rapidsai_public_repos/raft/cpp/include/raft/matrix/linewise_op.cuh
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/include/raft
rapidsai_public_repos/raft/cpp/include/raft/matrix/gather.cuh
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/include/raft
rapidsai_public_repos/raft/cpp/include/raft/matrix/argmin.cuh
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/include/raft
rapidsai_public_repos/raft/cpp/include/raft/matrix/select_k.cuh
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/include/raft
rapidsai_public_repos/raft/cpp/include/raft/matrix/print.cuh
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/include/raft
rapidsai_public_repos/raft/cpp/include/raft/matrix/col_wise_sort.cuh
/* * Copyright (c) 2019-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/include/raft
rapidsai_public_repos/raft/cpp/include/raft/matrix/diagonal.cuh
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0
rapidsai_public_repos/raft/cpp/include/raft
rapidsai_public_repos/raft/cpp/include/raft/matrix/reverse.cuh
/* * Copyright (c) 2022-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
0