get_mode¶
Gets the VM mode.
Syntax
namespace oneapi::mkl::vm {
oneapi::mkl::vm::mode get_mode(
sycl::queue& exec_queue);
} // namespace oneapi::mkl::vm
Description
The function get_mode function returns the global VM mode
parameter that controls accuracy for a given queue.
Value of mode |
Description |
---|---|
Accuracy Control |
|
|
High accuracy versions of VM functions. |
|
Low accuracy versions of VM functions. |
|
Enhanced performance accuracy versions of VM functions. |
|
VM mode not defined. It means that no special provisions for accuracy have been made for this queue. See set_mode for details. |
Input Parameters
- exec_queue
The queue where the routine should be executed.
Output Parameters
- return value
The current global VM mode for the queue
exec_queue
.
Parent topic: VM Service Functions