MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ runtimes()

Runtime MayaFlux::Yantra::Target::runtimes ( ) const
inlinenodiscardconstexprnoexcept

Runtimes that appear in any pair.

Definition at line 123 of file ExecutionTarget.hpp.

124 {
125 uint8_t result = 0;
126 for (unsigned device = 0; device < 8; ++device) {
127 result |= static_cast<uint8_t>((m_pairs >> (device * 8U)) & 0xFFU);
128 }
129 return static_cast<Runtime>(result);
130 }
Runtime
The software stack that executes the work.
uint64_t m_pairs
One byte per device bit; each byte is the runtime set paired with that device.

References m_pairs.