Mila 0.13.48
Deep Neural Network Library
Loading...
Searching...
No Matches
ExecutionContextFactory.ixx File Reference
#include <cassert>
#include <memory>
#include <string>
#include <stdexcept>
#include <format>
import Compute.DeviceId;
import Compute.DeviceType;
import Compute.ExecutionContext;
import Compute.IExecutionContext;

Namespaces

namespace  Mila
 Mila main API namespace.
namespace  Mila::Dnn
namespace  Mila::Dnn::Compute

Functions

std::unique_ptr< IExecutionContextMila::Dnn::Compute::createExecutionContext (DeviceId device_id)
 Create execution context for specified device.