jackun

OpenCL frontend appends gibberish to kernel source

Discussion created by jackun on Aug 7, 2013
Latest reply on Aug 12, 2013 by jackun

Something weird happens to my source. Random strings like '(', 'PA(' or  'PAD(' get appended to intermediary kernel source. It worked in debug build and failed in release. But another app fails to compile opencl kernels in both. Looks like buffer overflow/memory leak

 

App's source is in repo (in part based on AMD's OpenEncode sample): jackun/openencodevfw · GitHub

Kernels' source: openencodevfw/OpenEncodeVFW/NV12_kernels.cl at master · jackun/openencodevfw · GitHub

Outcomes