- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
in the development documents,Enabling Debugging in OpenCL™ Runtime (https://software.intel.com/en-us/node/539339), there is a step like: Add the \x96g flag to the build options string parameter in the clBuildProgram function. what means of the "\x96g", it's a unicode, or something else? if it's a unicode, it means "Grave Accent", which doesn't make sense.
and more, in the following, \x93-g -s \\x93<path_to_opencl_source_file>\\x94\x94, might you please give an exact example for this?
thanks,
-Edward
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Edward,
There is a typo in the user guide, the right example should be:
err = clBuildProgram( g_program, 0, NULL, “-g -s \”<path_to_opencl_source_file>\””, NULL, NULL);
For example:
err = clBuildProgram(m_program_cpu, 0, NULL, "-g -s \"C:\\folderA\\folderB\\program.cl\"", NULL, NULL);
where "C:\folderA\FolderB\program.cl" is the file with the kernel code on which you've put the breakpoint in the IDE.
We'll fix the typo, thanks!
Uri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it's very helpful.
thanks a lot
-Edward

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