repo_id
stringlengths
21
96
file_path
stringlengths
31
155
content
stringlengths
1
92.9M
__index_level_0__
int64
0
0
rapidsai_public_repos/rmm/python
rapidsai_public_repos/rmm/python/rmm/rmm.py
# Copyright (c) 2019, 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 law or agreed to...
0
rapidsai_public_repos/rmm/python
rapidsai_public_repos/rmm/python/rmm/mr.py
# Copyright (c) 2020-2021, 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 law or agre...
0
rapidsai_public_repos/rmm/python
rapidsai_public_repos/rmm/python/rmm/__init__.py
# Copyright (c) 2018-2021, 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 law or agre...
0
rapidsai_public_repos/rmm/python
rapidsai_public_repos/rmm/python/rmm/VERSION
24.02.00
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_cuda/CMakeLists.txt
# ============================================================================= # Copyright (c) 2022, 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.o...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_cuda/gpu.py
# Copyright (c) 2020, NVIDIA CORPORATION. from cuda import cuda, cudart class CUDARuntimeError(RuntimeError): def __init__(self, status: cudart.cudaError_t): self.status = status _, name = cudart.cudaGetErrorName(status) _, msg = cudart.cudaGetErrorString(status) super(CUDARunti...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_cuda/stream.pyx
# Copyright (c) 2020, 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_cuda/stream.pxd
# Copyright (c) 2020, 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/tests/test_rmm_pytorch.py
import gc import pytest from rmm.allocators.torch import rmm_torch_allocator torch = pytest.importorskip("torch") @pytest.fixture(scope="session") def torch_allocator(): try: from torch.cuda.memory import change_current_allocator except ImportError: pytest.skip("pytorch pluggable allocator ...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/tests/test_rmm.py
# Copyright (c) 2020-2022, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/tests/conftest.py
import pytest import rmm @pytest.fixture(scope="function", autouse=True) def rmm_auto_reinitialize(): # Run the test yield # Automatically reinitialize the current memory resource after running each # test rmm.reinitialize() @pytest.fixture def stats_mr(): mr = rmm.mr.StatisticsResourceAd...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/tests/test_cython.py
# Copyright (c) 2020-2021, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/cuda_stream.pxd
# Copyright (c) 2020, 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/device_uvector.pxd
# Copyright (c) 2021, 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/lib.pxd
# Copyright (c) 2019-2020, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/memory_resource.pxd
# Copyright (c) 2020-2022, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/CMakeLists.txt
# ============================================================================= # Copyright (c) 2022, 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.o...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/memory_resource.pyx
# Copyright (c) 2020-2022, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/lib.pyx
# Copyright (c) 2019-2020, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/device_buffer.pxd
# Copyright (c) 2019-2020, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/cuda_stream.pyx
# Copyright (c) 2020, 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/cuda_stream_pool.pxd
# Copyright (c) 2021, 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/torch_allocator.pyx
from cuda.ccudart cimport cudaStream_t from rmm._lib.cuda_stream_view cimport cuda_stream_view from rmm._lib.memory_resource cimport device_memory_resource from rmm._lib.per_device_resource cimport get_current_device_resource cdef public void* allocate( ssize_t size, int device, void* stream ) except * with gil:...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/per_device_resource.pxd
from rmm._lib.memory_resource cimport device_memory_resource cdef extern from "rmm/mr/device/per_device_resource.hpp" namespace "rmm" nogil: cdef cppclass cuda_device_id: ctypedef int value_type cuda_device_id(value_type id) value_type value() cdef extern from "rmm/mr/device/per_device_...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/cuda_stream_view.pxd
# Copyright (c) 2020, 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/__init__.pxd
# Copyright (c) 2019-2020, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/__init__.py
# Copyright (c) 2019-2021, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/device_buffer.pyx
# Copyright (c) 2019-2020, 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 law or agre...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/_lib/logger.pyx
# Copyright (c) 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm/_lib
rapidsai_public_repos/rmm/python/rmm/_lib/tests/test_device_buffer.pyx
# Copyright (c) 2020, 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/allocators/numba.py
# Copyright (c) 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/allocators/torch.py
# Copyright (c) 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 law or agreed to...
0
rapidsai_public_repos/rmm/python/rmm
rapidsai_public_repos/rmm/python/rmm/allocators/cupy.py
# Copyright (c) 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 law or agreed to...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/tests/device_buffer_tests.cu
/* * Copyright (c) 2019-2022, 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/rmm
rapidsai_public_repos/rmm/tests/byte_literals.hpp
/* * Copyright (c) 2021, 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 law ...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/tests/device_scalar_tests.cpp
/* * Copyright (c) 2019-2021, 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/rmm
rapidsai_public_repos/rmm/tests/container_multidevice_tests.cu
/* * Copyright (c) 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 law ...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/tests/CMakeLists.txt
# ============================================================================= # Copyright (c) 2018-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.apa...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/tests/cuda_stream_tests.cpp
/* * Copyright (c) 2020-2021, 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/rmm
rapidsai_public_repos/rmm/tests/cuda_stream_pool_tests.cpp
/* * Copyright (c) 2020-2021, 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/rmm
rapidsai_public_repos/rmm/tests/device_uvector_tests.cpp
/* * Copyright (c) 2020-2022, 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 applicabl...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/tests/logger_tests.cpp
/* * Copyright (c) 2020-2021, 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/rmm
rapidsai_public_repos/rmm/tests/device_check_resource_adaptor.hpp
/* * Copyright (c) 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 law ...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/tests/mock_resource.hpp
/* * Copyright (c) 2022, 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/host/pinned_pool_mr_tests.cpp
/* * Copyright (c) 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/host/mr_ref_tests.cpp
/* * Copyright (c) 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/host/mr_tests.cpp
/* * Copyright (c) 2019-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/limiting_mr_tests.cpp
/* * Copyright (c) 2019-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/cuda_async_mr_tests.cpp
/* * Copyright (c) 2021-2022, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/mr_test.hpp
/* * Copyright (c) 2019-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/mr_multithreaded_tests.cpp
/* * Copyright (c) 2020-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/arena_mr_tests.cpp
/* * Copyright (c) 2021-2022, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/failure_callback_mr_tests.cpp
/* * Copyright (c) 2021, 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/stream_allocator_adaptor_tests.cpp
/* * Copyright (c) 2020-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/callback_mr_tests.cpp
/* * 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/mr_ref_tests.cpp
/* * Copyright (c) 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/binning_mr_tests.cpp
/* * Copyright (c) 2021, 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/adaptor_tests.cpp
/* * Copyright (c) 2021, 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/cuda_async_view_mr_tests.cpp
/* * Copyright (c) 2021, 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/statistics_mr_tests.cpp
/* * Copyright (c) 2020-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/mr_ref_test.hpp
/* * Copyright (c) 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/pool_mr_tests.cpp
/* * Copyright (c) 2020-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/aligned_mr_tests.cpp
/* * Copyright (c) 2021-2022, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/mr_ref_multithreaded_tests.cpp
/* * Copyright (c) 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 law ...
0
rapidsai_public_repos/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/thrust_allocator_tests.cu
/* * Copyright (c) 2019-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/mr_tests.cpp
/* * Copyright (c) 2019-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/polymorphic_allocator_tests.cpp
/* * Copyright (c) 2020-2021, 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/rmm/tests/mr
rapidsai_public_repos/rmm/tests/mr/device/tracking_mr_tests.cpp
/* * Copyright (c) 2020-2021, 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/rmm/conda
rapidsai_public_repos/rmm/conda/environments/all_cuda-120_arch-x86_64.yaml
# This file is generated by `rapids-dependency-file-generator`. # To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. channels: - rapidsai - conda-forge dependencies: - breathe - c-compiler - clang-tools==16.0.6 - clang==16.0.6 - cmake>=3.26.4 - cuda-nvcc - cuda-python>=12.0,<13.0a...
0
rapidsai_public_repos/rmm/conda
rapidsai_public_repos/rmm/conda/environments/all_cuda-118_arch-x86_64.yaml
# This file is generated by `rapids-dependency-file-generator`. # To make changes, edit ../../dependencies.yaml and run `rapids-dependency-file-generator`. channels: - rapidsai - conda-forge dependencies: - breathe - c-compiler - clang-tools==16.0.6 - clang==16.0.6 - cmake>=3.26.4 - cuda-nvcc - cuda-python>=11.7.1,<12....
0
rapidsai_public_repos/rmm/conda/recipes
rapidsai_public_repos/rmm/conda/recipes/librmm/install_librmm_tests.sh
#!/bin/bash cmake --install build --component testing
0
rapidsai_public_repos/rmm/conda/recipes
rapidsai_public_repos/rmm/conda/recipes/librmm/install_librmm.sh
#!/bin/bash cmake --install build
0
rapidsai_public_repos/rmm/conda/recipes
rapidsai_public_repos/rmm/conda/recipes/librmm/conda_build_config.yaml
c_compiler_version: - 11 cxx_compiler_version: - 11 cuda_compiler: - cuda-nvcc cuda11_compiler: - nvcc cmake_version: - ">=3.26.4" fmt_version: - ">=9.1.0,<10" gtest_version: - ">=1.13.0" spdlog_version: - ">=1.11.0,<1.12" sysroot_version: - "2.17"
0
rapidsai_public_repos/rmm/conda/recipes
rapidsai_public_repos/rmm/conda/recipes/librmm/build.sh
# Copyright (c) 2018-2022, NVIDIA CORPORATION. ./build.sh -n -v clean librmm tests benchmarks --cmake-args=\"-DCMAKE_INSTALL_LIBDIR=lib\"
0
rapidsai_public_repos/rmm/conda/recipes
rapidsai_public_repos/rmm/conda/recipes/librmm/meta.yaml
# Copyright (c) 2018-2023, NVIDIA CORPORATION. {% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} {% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} {% set cuda_major = cuda_version.split('.')[0] %} {% set cuda_spec = ">=" + cuda_major ~ ",<" + (cuda_major | int + 1) ~ ".0a...
0
rapidsai_public_repos/rmm/conda/recipes
rapidsai_public_repos/rmm/conda/recipes/rmm/conda_build_config.yaml
c_compiler_version: - 11 cxx_compiler_version: - 11 cuda_compiler: - cuda-nvcc cuda11_compiler: - nvcc sysroot_version: - "2.17" cmake_version: - ">=3.26.4"
0
rapidsai_public_repos/rmm/conda/recipes
rapidsai_public_repos/rmm/conda/recipes/rmm/build.sh
# Copyright (c) 2018-2019, NVIDIA CORPORATION. # Script assumes the script is executed from the root of the repo directory ./build.sh -v clean rmm --cmake-args=\"-DCMAKE_INSTALL_LIBDIR=lib\"
0
rapidsai_public_repos/rmm/conda/recipes
rapidsai_public_repos/rmm/conda/recipes/rmm/meta.yaml
# Copyright (c) 2019-2023, NVIDIA CORPORATION. {% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} {% set cuda_version = '.'.join(environ['RAPIDS_CUDA_VERSION'].split('.')[:2]) %} {% set cuda_major = cuda_version.split('.')[0] %} {% set py_version = environ['CONDA_PY'] %} {% set date_string = environ['RA...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/scripts/gdb-pretty-printers.py
# Copyright (c) 2022, 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 law or agreed to...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/scripts/doxygen.sh
#!/bin/bash # Copyright (c) 2023, NVIDIA CORPORATION. ############################## # RMM doxygen warnings check # ############################## # skip if doxygen is not installed if ! [ -x "$(command -v doxygen)" ]; then echo -e "warning: doxygen is not installed" exit 0 fi # Utility to return version as numbe...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/scripts/load-pretty-printers.in
source @Thrust_SOURCE_DIR@/scripts/gdb-pretty-printers.py source @PROJECT_SOURCE_DIR@/scripts/gdb-pretty-printers.py
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/scripts/run-cmake-format.sh
#!/bin/bash # This script is a wrapper for cmakelang that may be used with pre-commit. The # wrapping is necessary because RAPIDS libraries split configuration for # cmakelang linters between a local config file and a second config file that's # shared across all of RAPIDS via rapids-cmake. In order to keep it up to d...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/benchmarks/CMakeLists.txt
# ============================================================================= # Copyright (c) 2018-2020, 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.apa...
0
rapidsai_public_repos/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/replay/replay.cpp
/* * Copyright (c) 2020-2021, 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/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/random_allocations/random_allocations.cpp
/* * Copyright (c) 2019-2022, 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/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/device_uvector/device_uvector_bench.cu
/* * Copyright (c) 2020-2022, 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/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/synchronization/synchronization.cpp
/* * Copyright (c) 2019-2021, 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/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/synchronization/synchronization.hpp
/* * Copyright (c) 2019-2021, 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/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/multi_stream_allocations/multi_stream_allocations_bench.cu
/* * Copyright (c) 2021, 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 law ...
0
rapidsai_public_repos/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/cuda_stream_pool/cuda_stream_pool_bench.cpp
/* * Copyright (c) 2020-2021, 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/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/utilities/simulated_memory_resource.hpp
/* * Copyright (c) 2020-2021, 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/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/utilities/cxxopts.hpp
/* Copyright (c) 2014, 2015, 2016, 2017 Jarryd Beck Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publi...
0
rapidsai_public_repos/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/utilities/log_parser.hpp
/* * Copyright (c) 2020-2021, 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/rmm/benchmarks
rapidsai_public_repos/rmm/benchmarks/utilities/rapidcsv.h
/* * rapidcsv.h * * URL: https://github.com/d99kris/rapidcsv * Version: 6.10 * * Copyright (C) 2017-2020 Kristofer Berggren * All rights reserved. * * rapidcsv is distributed under the BSD 3-Clause license, see LICENSE for details. * */ #pragma once #include <algorithm> #include <cassert> #include <c...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/.devcontainer/README.md
# RMM Development Containers This directory contains [devcontainer configurations](https://containers.dev/implementors/json_reference/) for using VSCode to [develop in a container](https://code.visualstudio.com/docs/devcontainers/containers) via the `Remote Containers` [extension](https://marketplace.visualstudio.com/...
0
rapidsai_public_repos/rmm
rapidsai_public_repos/rmm/.devcontainer/Dockerfile
# syntax=docker/dockerfile:1.5 ARG BASE ARG PYTHON_PACKAGE_MANAGER=conda FROM ${BASE} as pip-base ENV DEFAULT_VIRTUAL_ENV=rapids FROM ${BASE} as conda-base ENV DEFAULT_CONDA_ENV=rapids FROM ${PYTHON_PACKAGE_MANAGER}-base ARG CUDA ENV CUDAARCHS="RAPIDS" ENV CUDA_VERSION="${CUDA_VERSION:-${CUDA}}" ARG PYTHON_PACK...
0
rapidsai_public_repos/rmm/.devcontainer
rapidsai_public_repos/rmm/.devcontainer/cuda11.8-pip/devcontainer.json
{ "build": { "context": "${localWorkspaceFolder}/.devcontainer", "dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile", "args": { "CUDA": "11.8", "PYTHON_PACKAGE_MANAGER": "pip", "BASE": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda11.8-ubuntu22.04" } }, "hostRequireme...
0
rapidsai_public_repos/rmm/.devcontainer
rapidsai_public_repos/rmm/.devcontainer/cuda12.0-pip/devcontainer.json
{ "build": { "context": "${localWorkspaceFolder}/.devcontainer", "dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile", "args": { "CUDA": "12.0", "PYTHON_PACKAGE_MANAGER": "pip", "BASE": "rapidsai/devcontainers:24.02-cpp-llvm16-cuda12.0-ubuntu22.04" } }, "hostRequireme...
0
rapidsai_public_repos/rmm/.devcontainer
rapidsai_public_repos/rmm/.devcontainer/cuda12.0-conda/devcontainer.json
{ "build": { "context": "${localWorkspaceFolder}/.devcontainer", "dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile", "args": { "CUDA": "12.0", "PYTHON_PACKAGE_MANAGER": "conda", "BASE": "rapidsai/devcontainers:24.02-cpp-mambaforge-ubuntu22.04" } }, "hostRequirements...
0
rapidsai_public_repos/rmm/.devcontainer
rapidsai_public_repos/rmm/.devcontainer/cuda11.8-conda/devcontainer.json
{ "build": { "context": "${localWorkspaceFolder}/.devcontainer", "dockerfile": "${localWorkspaceFolder}/.devcontainer/Dockerfile", "args": { "CUDA": "11.8", "PYTHON_PACKAGE_MANAGER": "conda", "BASE": "rapidsai/devcontainers:24.02-cpp-cuda11.8-mambaforge-ubuntu22.04" } }, "hostReq...
0