
[Compute] Ati Stream SDK 2.0 beta 4 causes DllNotFoundException
Posted Wednesday, 28 October, 2009 - 15:20 by the Fiddler| Project: | The Open Toolkit library |
| Version: | 0.9.9-3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
Vista x86 SP 2, Nvidia video card (only running the CPU component of Ati Stream). The VectorAdd sample fails in the CreateContextFromType call with the following exception:
--------------------------- An OpenTK example encountered an error. --------------------------- System.DllNotFoundException: Unable to load DLL 'opencl.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at OpenTK.Compute.CL10.CL.Core.CreateContextFromType(ContextProperties* properties, DeviceTypeFlags device_type, IntPtr pfn_notify, IntPtr user_data, ErrorCode* errcode_ret) at OpenTK.Compute.CL10.CL.CreateContextFromType(ContextProperties* properties, DeviceTypeFlags device_type, IntPtr pfn_notify, IntPtr user_data, ErrorCode* errcode_ret) in C:\Users\Stefanos\Desktop\opentk-all\opentk\Source\OpenTK\Compute\CL10\CL.cs:line 1658 at Examples.VectorAdd.Main() in C:\Users\Stefanos\Desktop\opentk-all\opentk\Source\Examples\OpenCL\VectorAdd.cs:line 39 --------------------------- OK ---------------------------
Investigate.


Comments
#1
Further testing using Ati's own samples reveals the following error:
#2
This is an upstream issue that will be fixed in a future Ati Stream release: http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=120308#10...
It only affects the Ati implementation when running on non-Ati hardware (or Ati hardware without the OpenCL GPU drivers installed).