repo_id stringlengths 21 96 | file_path stringlengths 31 155 | content stringlengths 1 92.9M | __index_level_0__ int64 0 0 |
|---|---|---|---|
rapidsai_public_repos/cucim/examples/python | rapidsai_public_repos/cucim/examples/python/gds_whole_slide/README.md | Example scripts used for benchmarking reads of uncompressed TIFF images using
existing CPU-based tools (openslide-python, tifffile) as well as reads
accelerated using `kvikio` with GPUDirect Storage enabled or disabled.
### GPUDirect setup/install
GPUDirect Storage (GDS) is only supported on certain linux systems
(e... | 0 |
rapidsai_public_repos/cucim/examples/python | rapidsai_public_repos/cucim/examples/python/gds_whole_slide/benchmark_zarr_write_lz4_via_dask.py | """
TODO: Currently LZ4-compressed images are a tiny bit larger than uncompressed.
Need to look into why this is!
"""
import math
import os
import cupy as cp
import kvikio.defaults
import numpy as np
from cupyx.profiler import benchmark
from demo_implementation import cupy_to_zarr, get_n_tiles, read_tiled
from lz4_n... | 0 |
rapidsai_public_repos/cucim/examples/python | rapidsai_public_repos/cucim/examples/python/gds_whole_slide/benchmark_round_trip.py | import os
from time import time
import cupy as cp
import kvikio
import kvikio.defaults
import numpy as np
from cupyx.profiler import benchmark
from demo_implementation import cupy_to_zarr, read_tiled
import cucim.skimage.filters
from cucim.core.operations.color import image_to_absorbance
data_dir = os.environ.get("W... | 0 |
rapidsai_public_repos/cucim/examples/python | rapidsai_public_repos/cucim/examples/python/gds_whole_slide/demo_implementation.py | import os
import warnings
import cupy as cp
import dask.array as da
import kvikio
import kvikio.defaults
import numpy as np
import openslide
import tifffile
from kvikio.cufile import IOFuture
from kvikio.zarr import GDSStore
from tifffile import TiffFile
from zarr import DirectoryStore
from zarr.creation import init_a... | 0 |
rapidsai_public_repos/cucim/examples/python | rapidsai_public_repos/cucim/examples/python/gds_whole_slide/lz4_nvcomp.py | import cupy as cp
import numpy as np
from kvikio.nvcomp import LZ4Manager
from numcodecs import registry
from numcodecs.abc import Codec
def ensure_ndarray(buf):
if isinstance(buf, cp.ndarray):
arr = buf
elif hasattr(buf, "__cuda_array_interface__"):
arr = cp.asarray(buf, copy=False)
elif ... | 0 |
rapidsai_public_repos/cucim/examples/python | rapidsai_public_repos/cucim/examples/python/gds_whole_slide/benchmark_read.py | import math
import os
import kvikio
import kvikio.defaults
import numpy as np
from cupyx.profiler import benchmark
from demo_implementation import (
get_n_tiles,
get_tile_buffers,
read_openslide,
read_tifffile,
read_tiled,
)
from tifffile import TiffFile
data_dir = os.environ.get("WHOLE_SLIDE_DATA... | 0 |
rapidsai_public_repos/cucim/examples/python | rapidsai_public_repos/cucim/examples/python/gds_whole_slide/benchmark_zarr_write.py | import math
import os
import cupy as cp
import kvikio.defaults
import numpy as np
from cupyx.profiler import benchmark
from demo_implementation import cupy_to_zarr, get_n_tiles, read_tiled
from tifffile import TiffFile
from cucim.core.operations.color import image_to_absorbance
data_dir = os.environ.get("WHOLE_SLIDE... | 0 |
rapidsai_public_repos/cucim/examples/python | rapidsai_public_repos/cucim/examples/python/tiff_image/main.py | #
# 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 t... | 0 |
rapidsai_public_repos/cucim/examples | rapidsai_public_repos/cucim/examples/cpp/CMakeLists.txt | #
# 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 agr... | 0 |
rapidsai_public_repos/cucim/examples | rapidsai_public_repos/cucim/examples/cpp/CMakeLists.txt.examples.release.in | #
# 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 t... | 0 |
rapidsai_public_repos/cucim/examples/cpp | rapidsai_public_repos/cucim/examples/cpp/tiff_image/main.cpp | /*
* 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 ... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/.pre-commit-config.yaml | # Copyright (c) 2022-2023, NVIDIA CORPORATION.
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/rapidsai/dependency-file-generator
rev: v1.5.1
hooks:
... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/pyproject.toml | [tool.codespell]
# note: pre-commit passes explicit lists of files here, which this skip file list doesn't override -
# this is only to allow you to run codespell interactively
skip = "./pyproject.toml,./.git,./.github,./cpp/build,.*egg-info.*,./.mypy_cache,./benchmarks/utilities/cxxopts.hpp"
# ignore short words, and ... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/.clangd | # https://clangd.llvm.org/config
# Apply a config conditionally to all C files
If:
PathMatch: .*\.(c|h)$
---
# Apply a config conditionally to all C++ files
If:
PathMatch: .*\.(c|h)pp
---
# Apply a config conditionally to all CUDA files
If:
PathMatch: .*\.cuh?
CompileFlags:
Add:
- "-x"
- "cuda"
... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/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 | rapidsai_public_repos/rmm/fetch_rapids.cmake | # =============================================================================
# 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.o... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/gcovr.cfg | exclude=build/.*
exclude=tests/.*
exclude=benchmarks/.*
html=yes
html-details=yes
sort-percentage=yes
exclude-throw-branches=yes
| 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/README.md | # <div align="left"><img src="img/rapids_logo.png" width="90px"/> RMM: RAPIDS Memory Manager</div>
**NOTE:** For the latest stable [README.md](https://github.com/rapidsai/rmm/blob/main/README.md) ensure you are on the `main` branch.
## Resources
- [RMM Reference Documentation](https://docs.rapids.ai/api/rmm/sta... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/CHANGELOG.md | # RMM 23.10.00 (11 Oct 2023)
## 🚨 Breaking Changes
- Update to Cython 3.0.0 ([#1313](https://github.com/rapidsai/rmm/pull/1313)) [@vyasr](https://github.com/vyasr)
## 🐛 Bug Fixes
- Compile cdef public functions from torch_allocator with C ABI ([#1350](https://github.com/rapidsai/rmm/pull/1350)) [@wence-](https://... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/build.sh | #!/bin/bash
# Copyright (c) 2019, NVIDIA CORPORATION.
# rmm build script
# This script is used to build the component(s) in this repo from
# source, and can be called with various options to customize the
# build as needed (see the help output for details)
# Abort script on first error
set -e
NUMARGS=$#
ARGS=$*
#... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/.clang-tidy | ---
Checks: 'clang-diagnostic-*,
clang-analyzer-*,
cppcoreguidelines-*,
modernize-*,
bugprone-*,
performance-*,
readability-*,
llvm-*,
-cppcoreguidelines-macro-usage,
... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/dependencies.yaml | # Dependency list for https://github.com/rapidsai/dependency-file-generator
files:
all:
output: conda
matrix:
cuda: ["11.8", "12.0"]
arch: [x86_64]
includes:
- build
- checks
- cudatoolkit
- develop
- docs
- run
- test_python
test_python:
output:... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/CONTRIBUTING.md | # Contributing to RMM
If you are interested in contributing to RMM, your contributions will fall
into three categories:
1. You want to report a bug, feature request, or documentation issue
- File an [issue](https://github.com/rapidsai/rmm/issues/new/choose)
describing what you encountered or what you want to s... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/LICENSE | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/VERSION | 24.02.00
| 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/.clang-format | ---
# Refer to the following link for the explanation of each params:
# http://releases.llvm.org/8.0.0/tools/clang/docs/ClangFormatStyleOptions.html
Language: Cpp
# BasedOnStyle: Google
AccessModifierOffset: -1
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: true
AlignConsecutiveBitFields: true
AlignConsecu... | 0 |
rapidsai_public_repos | rapidsai_public_repos/rmm/print_env.sh | #!/usr/bin/env bash
# Reports relevant environment information useful for diagnosing and
# debugging RMM issues.
# Usage:
# "./print_env.sh" - prints to stdout
# "./print_env.sh > env.txt" - prints to file "env.txt"
echo "**git***"
git log --decorate -n 1
echo
echo "***OS Information***"
cat /etc/*-release
uname -a
e... | 0 |
rapidsai_public_repos/rmm | rapidsai_public_repos/rmm/include/doxygen_groups.h | /*
* 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/include | rapidsai_public_repos/rmm/include/rmm/device_buffer.hpp | /*
* 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/include | rapidsai_public_repos/rmm/include/rmm/thrust_rmm_allocator.h | /*
* 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... | 0 |
rapidsai_public_repos/rmm/include | rapidsai_public_repos/rmm/include/rmm/device_scalar.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/include | rapidsai_public_repos/rmm/include/rmm/cuda_stream_pool.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/include | rapidsai_public_repos/rmm/include/rmm/device_uvector.hpp | /*
* 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/include | rapidsai_public_repos/rmm/include/rmm/cuda_stream.hpp | /*
* 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 ... | 0 |
rapidsai_public_repos/rmm/include | rapidsai_public_repos/rmm/include/rmm/logger.hpp | /*
* Copyright (c) 2020-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/include | rapidsai_public_repos/rmm/include/rmm/cuda_device.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/include | rapidsai_public_repos/rmm/include/rmm/cuda_stream_view.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/include | rapidsai_public_repos/rmm/include/rmm/exec_policy.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/include | rapidsai_public_repos/rmm/include/rmm/device_vector.hpp | /*
* 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 ... | 0 |
rapidsai_public_repos/rmm/include/rmm | rapidsai_public_repos/rmm/include/rmm/detail/logging_assert.hpp | /*
* 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 ... | 0 |
rapidsai_public_repos/rmm/include/rmm | rapidsai_public_repos/rmm/include/rmm/detail/exec_check_disable.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/include/rmm | rapidsai_public_repos/rmm/include/rmm/detail/export.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/include/rmm | rapidsai_public_repos/rmm/include/rmm/detail/dynamic_load_runtime.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/include/rmm | rapidsai_public_repos/rmm/include/rmm/detail/aligned.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/include/rmm | rapidsai_public_repos/rmm/include/rmm/detail/error.hpp | /*
* 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 ... | 0 |
rapidsai_public_repos/rmm/include/rmm | rapidsai_public_repos/rmm/include/rmm/detail/thrust_namespace.h | /*
* 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/include/rmm | rapidsai_public_repos/rmm/include/rmm/detail/stack_trace.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/include/rmm | rapidsai_public_repos/rmm/include/rmm/detail/cuda_util.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/host/pinned_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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/host/new_delete_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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/host/host_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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/fixed_size_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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/thread_safe_resource_adaptor.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/per_device_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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/arena_memory_resource.hpp | /*
* 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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/polymorphic_allocator.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/logging_resource_adaptor.hpp | /*
* Copyright (c) 2020-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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/callback_memory_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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/tracking_resource_adaptor.hpp | /*
* Copyright (c) 2020-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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/thrust_allocator_adaptor.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/cuda_memory_resource.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/managed_memory_resource.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/statistics_resource_adaptor.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/binning_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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/limiting_resource_adaptor.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/aligned_resource_adaptor.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/cuda_async_view_memory_resource.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/pool_memory_resource.hpp | /*
* Copyright (c) 2020-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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/owning_wrapper.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/device_memory_resource.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/failure_callback_resource_adaptor.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/include/rmm/mr | rapidsai_public_repos/rmm/include/rmm/mr/device/cuda_async_memory_resource.hpp | /*
* 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/include/rmm/mr/device | rapidsai_public_repos/rmm/include/rmm/mr/device/detail/coalescing_free_list.hpp | /*
* 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/rmm/include/rmm/mr/device | rapidsai_public_repos/rmm/include/rmm/mr/device/detail/stream_ordered_memory_resource.hpp | /*
* Copyright (c) 2020-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/include/rmm/mr/device | rapidsai_public_repos/rmm/include/rmm/mr/device/detail/arena.hpp | /*
* 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/rmm/include/rmm/mr/device | rapidsai_public_repos/rmm/include/rmm/mr/device/detail/free_list.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/include/rmm/mr/device | rapidsai_public_repos/rmm/include/rmm/mr/device/detail/fixed_size_free_list.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 | rapidsai_public_repos/rmm/python/pyproject.toml | # 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 law or agre... | 0 |
rapidsai_public_repos/rmm | rapidsai_public_repos/rmm/python/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 | rapidsai_public_repos/rmm/python/README.md | # <div align="left"><img src="img/rapids_logo.png" width="90px"/> RMM: RAPIDS Memory Manager</div>
**NOTE:** For the latest stable [README.md](https://github.com/rapidsai/rmm/blob/main/README.md) ensure you are on the `main` branch.
## Resources
- [RMM Reference Documentation](https://docs.rapids.ai/api/rmm/sta... | 0 |
rapidsai_public_repos/rmm | rapidsai_public_repos/rmm/python/setup.py | # Copyright (c) 2019-2023, NVIDIA CORPORATION.
from setuptools import find_packages
from skbuild import setup
packages = find_packages(include=["rmm*"])
setup(
packages=packages,
package_data={key: ["VERSION", "*.pxd"] for key in packages},
zip_safe=False,
)
| 0 |
rapidsai_public_repos/rmm | rapidsai_public_repos/rmm/python/LICENSE | Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
... | 0 |
rapidsai_public_repos/rmm | rapidsai_public_repos/rmm/python/.coveragerc | # Configuration file for Python coverage tests
[run]
include = rmm/*
omit = rmm/tests/*
| 0 |
rapidsai_public_repos/rmm/python | rapidsai_public_repos/rmm/python/docs/cpp_api.rst | API Reference
=============
.. toctree::
:maxdepth: 2
:caption: Contents:
librmm_docs/index
| 0 |
rapidsai_public_repos/rmm/python | rapidsai_public_repos/rmm/python/docs/guide.md | # User Guide
Achieving optimal performance in GPU-centric workflows frequently requires
customizing how GPU ("device") memory is allocated.
RMM is a package that enables you to allocate device memory
in a highly configurable way. For example, it enables you to
allocate and use pools of GPU memory, or to use
[managed ... | 0 |
rapidsai_public_repos/rmm/python | rapidsai_public_repos/rmm/python/docs/python.rst | Welcome to the rmm Python documentation!
========================================
.. toctree::
:maxdepth: 2
:caption: Contents:
guide.md
python_api.rst
| 0 |
rapidsai_public_repos/rmm/python | rapidsai_public_repos/rmm/python/docs/cpp.rst | Welcome to the rmm C++ documentation!
========================================
.. toctree::
:maxdepth: 2
:caption: Contents:
cpp_api.rst
| 0 |
rapidsai_public_repos/rmm/python | rapidsai_public_repos/rmm/python/docs/Makefile | # Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS = -n -v -W --keep-going
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
# Put it first so that "make" without argument is like "mak... | 0 |
rapidsai_public_repos/rmm/python | rapidsai_public_repos/rmm/python/docs/conf.py | # Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If ex... | 0 |
rapidsai_public_repos/rmm/python | rapidsai_public_repos/rmm/python/docs/index.rst | .. rmm documentation master file, created by
sphinx-quickstart on Thu Nov 19 13:16:00 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to rmm's documentation!
===============================
.. toctree::
:maxdepth: 2
:caption:... | 0 |
rapidsai_public_repos/rmm/python | rapidsai_public_repos/rmm/python/docs/python_api.rst | API Reference
==============
Module Contents
---------------
.. automodule:: rmm
:members:
:undoc-members:
:show-inheritance:
Memory Resources
----------------
.. automodule:: rmm.mr
:members:
:inherited-members:
:undoc-members:
:show-inheritance:
Memory Allocators
-----------------
.. autom... | 0 |
rapidsai_public_repos/rmm/python/docs | rapidsai_public_repos/rmm/python/docs/librmm_docs/errors.rst | Errors
======
.. doxygengroup:: errors
:members:
| 0 |
rapidsai_public_repos/rmm/python/docs | rapidsai_public_repos/rmm/python/docs/librmm_docs/cuda_streams.rst | CUDA Streams
============
.. doxygengroup:: cuda_streams
:members:
| 0 |
rapidsai_public_repos/rmm/python/docs | rapidsai_public_repos/rmm/python/docs/librmm_docs/cuda_device_management.rst | CUDA Device Management
======================
.. doxygengroup:: cuda_device_management
:members:
| 0 |
rapidsai_public_repos/rmm/python/docs | rapidsai_public_repos/rmm/python/docs/librmm_docs/memory_resources.rst | Memory Resources
================
.. doxygennamespace:: rmm::mr
:desc-only:
.. doxygengroup:: memory_resources
:members:
.. doxygengroup:: device_memory_resources
:members:
.. doxygengroup:: host_memory_resources
:members:
.. doxygengroup:: device_resource_adaptors
:members:
| 0 |
rapidsai_public_repos/rmm/python/docs | rapidsai_public_repos/rmm/python/docs/librmm_docs/data_containers.rst | Data Containers
===============
.. doxygengroup:: data_containers
:members:
| 0 |
rapidsai_public_repos/rmm/python/docs | rapidsai_public_repos/rmm/python/docs/librmm_docs/thrust_integrations.rst | Thrust Integration
==================
.. doxygengroup:: thrust_integrations
:members:
| 0 |
rapidsai_public_repos/rmm/python/docs | rapidsai_public_repos/rmm/python/docs/librmm_docs/logging.rst | Logging
=======
.. doxygengroup:: logging
:members:
| 0 |
rapidsai_public_repos/rmm/python/docs | rapidsai_public_repos/rmm/python/docs/librmm_docs/index.rst | .. rmm documentation master file, created by
sphinx-quickstart on Thu Nov 19 13:16:00 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
librmm Documentation
====================
.. toctree::
:maxdepth: 2
:caption: Contents:
memory_... | 0 |
rapidsai_public_repos/rmm/python | rapidsai_public_repos/rmm/python/rmm/_version.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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.