
OpenCL - AddVector.cs - example corrections
Posted Thursday, 15 October, 2009 - 11:07 by mike vasiljevs| Project: | The Open Toolkit library |
| Version: | 0.9.9-3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Source/Examples/OpenCL/VectorAdd.cs has Buffer writes (host -> device) missing; and "hCmdQueue" as queue (instead of hContext) in CL.EnqueueReadBuffer() when writing back to host
Diff file attached
regards
mike
| Attachment | Size |
|---|---|
| VectorAdd.cs.diff_.zip | 545 bytes |


Comments
#1
version is the latest svn revision, 2334
#2
Committed to rev. 2352. Additionally, the sample should now print the result of the calculation.
Note: this is untested, as I cannot run OpenCL on my current machine.
#3
Closing issues fixed in 0.9.9-3.