Visible to Intel only — GUID: GUID-3D338B70-3193-4B58-85DF-3FBD93E40BF5
Visible to Intel only — GUID: GUID-3D338B70-3193-4B58-85DF-3FBD93E40BF5
skip_ahead
Description
Proceed state of engine by the skip-ahead method.
The skip_ahead function supports the following interfaces to apply the skip-ahead method:
Common interface
Interface with a partitioned number of skipped elements
API
Syntax
Common Interface
namespace oneapi::mkl::rng::device {
template<typename Engine>
void skip_ahead (Engine& engine, std::uint64_t num_to_skip)
}
Interface with a partitioned number of skipped elements
namespace oneapi::mkl::rng::device {
template<typename Engine>
void skip_ahead (Engine& engine, std::initializer_list<std::uint64_t> num_to_skip)
}
Include Files
oneapi/mkl/rng/device.hpp
Template Parameters
Common Interface
Name |
Type |
Description |
---|---|---|
engine |
Engine& |
Object of engine class, which supports the block-splitting method. |
num_to_skip |
std::uint64_t |
Number of skipped elements. |
Interface with a Partitioned Number of Skipped Elements
Name |
Type |
Description |
---|---|---|
engine |
Engine& |
Object of engine class, which supports the block-splitting method. |
num_to_skip |
std::initializer_list<std::uint64_t> |
Partitioned number of skipped elements. |