I am using Windows.AI.MachineLearning. I can create a LearningModelSession that uses the CPU, but if I specify a DirectX device I have an access violation of private memory.
// Setting preferred inference device given user's intent
m_inferenceDeviceSelected = m_useGPU ? LearningModelDeviceKind.DirectX : LearningModelDeviceKind.Cpu;
m_device = new LearningModelDevice(m_inferenceDeviceSelected); // Executes w/ CPU or DirectX specified.
m_session = new LearningModelSession(m_model, m_device); // Access Violation Error w/ DirectX device
I am using the latest nVidia driver on a GeForce GTX 1050 Ti. I would appreciate any help with discovering why I cannot create a DirectX LearningModelSession.