- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I try create some DLL based opencl for working with MATLAB. Function clCreateContext can't create context when it called from DLL used from MATLAB (I try a function clCreateContextFromType too). Return error -6 (CL_OUT_OF_HOST_MEMORY), but at this moment task manager show more than 1.5 GB memory is free.
It is strange but if I use this DLL with Intel platform from VisualStudio or from Excel all is working.
This DLL is working with MATLAB when I use another platform (AMD on the same machine or Nvidia on another machine).
The system is CPU Intel Core i5 660, RAM 4 GB, Windows 7 64-bit, MATLAB 8.3 64 bit, Intel SDK 4.4.0.117, Intel OpenCL runtime for CPU 4.5.0.5 (I check this on runtime 4.4.0.117 doesn't work too), AMD APP SDK 2.9.599.381, Nvidia version I can't remember (I think something latest).
I attached little project for VisualStudio 2013. This project write error code in windows application event log. In archive also include matlab.m file.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yuri,
Thank you, this method is working.
Все получилось :-)
С уважением, Алексей!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page