Altera_Forum
Honored Contributor
11 years agoMultiple Thread with Altera OpenCL
Altera SDK for OpenCL Programming Guide claims:
--- Quote Start --- The Altera Software Development Kit (SDK) for OpenCL (AOCL) host library is not thread-safe. --- Quote End --- I have a simple question. In this context, what "not thread-safe" means strictly?- Only main thread is allowed to call OpenCL API.
- Only one thread is allowed to call OpenCL API.
- Multiple thread can work only if there are appropriate exclusive lock not to call OpenCL API simultaneously.