Forum Discussion
LennartVH
New Contributor
3 years agoSo searching through the Intel OpenCL headers I came across this nice function which seems to suggest ECC CRAM SEU detection is built into the BSP. If that is the case then that would be amazing.
clSetDeviceExceptionCallbackIntelFPGA( cl_uint num_devices, const cl_device_id * devices, CL_EXCEPTION_TYPE_INTEL listen_mask, void (CL_CALLBACK * pfn_exception_notify)( CL_EXCEPTION_TYPE_INTEL exception_type, const void * private_info, size_t cb, void * user_data), void * user_data);
I cannot find anything in the docs about this function, so perhaps you can help me.
A. Does this detect M20K eccs AND/OR CRAM ecc? I believe M20Ks in the OpenCL kernel are not covered as they are configured in Quad-Port mode. Mostly I'm interested in CRAM ecc detection.
B. Is the listen_mask inclusive or exclusive? Kind of important to know, and impossible to test. What should I pass to make sure I capture any and all detected CRAM ECC faults?
Kind regards,
Lennart