dani-lbnl / pyF3D

Image processing for many and multi-core platforms (see also https://github.com/CameraIA/F3D)
Other
7 stars 3 forks source link

Intel CPU crashes threads when pyopencl program is built #1

Closed holdymoldy closed 7 years ago

holdymoldy commented 7 years ago

Only occurs with multiple threads. Building program on CPU causes CompilerWarning from pyopencl. On one thread, processing is performed correctly. On multiple threads, the warning causes one thread to crash.

holdymoldy commented 7 years ago

Occurred because OpenCL devices, contexts, and queues must be created on same thread they're used by