rexlib
0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
Loading...
Searching...
No Matches
rexlib
core
layout
index.hpp
1
// SPDX-License-Identifier: GPL-3.0-only
2
3
#pragma once
4
5
#include "../platform/dynamic_shared_object.h"
6
7
#include <cstddef>
8
9
namespace
rexlib
10
{
11
24
REXLIB_API
25
std::size_t
sanitize_index
(std::ptrdiff_t index, std::size_t extent);
26
27
}
// namespace rexlib
rexlib
Arrays, the operations on them and the devices that run those operations.
Definition
cpu_device.hpp:10
rexlib::sanitize_index
std::size_t sanitize_index(std::ptrdiff_t index, std::size_t extent)
Ensure that the index is within bounds for a given extent.
Generated by
1.9.8