Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15329 Discussions

Thread 284 #1 stopped on signal 20 : Cyclone V development kit, OpenCL on ARM-Linux

Altera_Forum
Honored Contributor II
851 Views

Hello ! 

This message appears in debugger DS-5 in progress of stepping through OpenCL function "clCreateProgramWithBinary()" with .aocx-file from Linux-application. 

If I press F8 7 times in DS-5, then all these "strange" stop-situations is passed and application runs successful. 

Is any method to disable this "signal 20" for getting good working debugger-independent program ? 

I use "pthread_sigmask()" with SIG_BLOCK to signal 20 (SIGTSTP, keyboard stop, Ctrl-Z), calls "sigignore(20)" -- test call of "raise(20)" is good, and original call of "clCreateProgramWithBinary()" leaved bad. 

Also I try to hold this signal with my callback function through "sigaction()" -- it is not called, only DS-5 see this signal. 

Anybody see similar problem ?
0 Kudos
0 Replies
Reply