MIVisionX icon indicating copy to clipboard operation
MIVisionX copied to clipboard

Neural Net - Can This framework be used with OpenCL on Windows?

Open eladmaimoni opened this issue 4 years ago • 2 comments

I am very confused by the various libraries offered by AMD.

  • RadeonML offers OpenCL inference on windows. But lacks a lot of operators and seems to be abandoned.
  • MIVisionX - has the amd_winml openvx extension. but it is not clear if it offers a OpenCL interoperability.
  • There is also the amd_nn, I don't understand whether I should use or winml?+

So basically: If I want to run inference on Windows with OpenCL Interoperability. What are my possibilities? what path should I take?

Thanks

eladmaimoni avatar Dec 16 '20 19:12 eladmaimoni

@elad8a for windows currently we offer WinML for inference path. In WinML you hand off the ONNX model to underlying libraries and don't really have control over the model optimizations, but you can choose where the model is run by using one of the options below

LearningModelDeviceKind::Default
LearningModelDeviceKind::Cpu,
LearningModelDeviceKind::DirectX,
LearningModelDeviceKind::DirectXHighPerformance,
LearningModelDeviceKind::DirectXMinPower

kiritigowda avatar Dec 18 '20 00:12 kiritigowda

@kiritigowda like I said, I need OpenCL Interoperability. WinML / DirectML are based on DirectML which is based on DirectX 12.

AMD does not offer any interoperability between OpenCL & DirectX12 so I can't use this for my needs.

Is there a reason why MIOpen which is OpenCL based is not exposed to Windows Clients?

eladmaimoni avatar Dec 18 '20 11:12 eladmaimoni