OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

OpenCL runtime and windows suspend/resume

Raistmer
Beginner
182 Views

Should OpenCL context on Intel GPU device survive windows suspend/resume ?

I got CL_OUT_OF_HOST_MEMORY error on buffer read presumably after Windows  resume from sleep.

0 Kudos
2 Replies
Raghupathi_M_Intel
182 Views
The KMD is supposed to save the state when the system goes to sleep. Can you let me know the steps to reproduce the issue, possibly with a reproducer? Thanks, Raghu
Raistmer
Beginner
182 Views
Well, I was not able to reproduce that error specially doing suspend/resume (with password asking on resume or w/o). So it's just coincidence perhaps. OpenCL runtime saves/restores context indeed.
Reply