Fix vendors enumeration on 32-bit Windows OS (#28)
authorOfir Cohen <ofircohenn@gmail.com>
Thu, 26 Apr 2018 14:44:05 +0000 (17:44 +0300)
committerKedar Patil <kepatil@nvidia.com>
Thu, 26 Apr 2018 14:44:05 +0000 (20:14 +0530)
commitb342ff7b7f70a4b3f2cfc53215af8fa20adc3d86
treeaf319d9603ae57dd5d2f527e4f6f241084c08264
parent35a592dae0ef041aac1f165de822e9d3347e4d52
Fix vendors enumeration on 32-bit Windows OS (#28)

When running 32-bit OpenCL applications on a 32-bit OS, we need to
use the registry keys without the "Wow" suffix. On 64-bit OSes and
32-bit applications, OTOH, we must use the Wow suffix.
icd_windows_hkr.c