Comments (2)
@fcogneaux I haven't been able to reproduce the issue.
However, that CLException
that is thrown should have an Error
member variable that will give you the error code from the OpenCL API. In particular, it should map to one of these error codes.
The call to Synchronize
will internally call the clFinish
function of OpenCL. The documentation says that clFinish can expect the following result:
Returns CL_SUCCESS if the function call was executed successfully. Otherwise, it returns one of the following errors:
CL_INVALID_COMMAND_QUEUE if command_queue is not a valid host command-queue.
CL_OUT_OF_RESOURCES if there is a failure to allocate resources required by the OpenCL implementation on the device.
CL_OUT_OF_HOST_MEMORY if there is a failure to allocate resources required by the OpenCL implementation on the host.
Let us know how you go.
from ilgpu.
Thank you for your time and you suggestion MoFtZ.
Indeed, the exception has an error code which is : -14 (CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)
Given the context (a low powered graphic card), and accordingly to the thread posts I was able to find, it could be related to some watchdog / timeout error, raised by the hardware when a kernel takes too much time to execute.
I found a workaround by splitting the outer loop in smaller chunks before execute the kernel.
Thanks!
from ilgpu.
Related Issues (20)
- `NullReferenceException` when passing empty `ArrayView`s to OpenCL kernel HOT 1
- XMath.Pow() only work on CPU HOT 3
- Better error messages when kernel program failed to run. HOT 1
- Is it possible to use a stored dataset on GPU again and again with throwing extra data to GPU, and even change the value of the established dataset? HOT 1
- Add a CPU-GPU-Shared MemoryBuffer for systems that support it HOT 2
- Iteration of value with loops on GPU slows down significantly HOT 5
- Feature request: cudaStreamWaitEvent HOT 7
- Higher precision float (decimal) support? HOT 2
- Passing Int128 as kernel parameter is not working HOT 3
- System.BadImageFormatException in System.Reflection.Metadata.dll HOT 4
- [QUESTION]: Exception in Accelerator.Synchronize on CUDA HOT 2
- [BUG] Cuda 12 SDK not supported with ILGPU 1.5.X HOT 2
- [POTENTIAL BUG]: CopyToCpu is using refs in unsafe way but there is no indication of that. HOT 3
- [BUG]: Unit tests failing on GitHub runner with MacOS 14 HOT 2
- [QUESTION]: Help/Orientation/Documentation to use ILGPU.Algorithms HOT 3
- [BUG]: `IRContext.Import(Method)` does not correctly duplicate the full IR graph HOT 2
- [BUG]: NET v8.0.5 SDK has broken CI pipeline
- Side by side comparison with CUDA and OpenCL
- XMath.Exp : An internal compiler error has been detected HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ilgpu.