HPCE / hpce-2017-cw5

1 stars 6 forks source link

Gaussian blur OpenCL resulting in seg fault #54

Closed DhruvArora96 closed 6 years ago

DhruvArora96 commented 6 years ago

gaussian_kernel The kernel is as shown above. Whenever i run this I get a seg fault. However when i comment out the line that says "double contrib =..." it does not seg fault. Additionally if i try to calculate exp() of a different number it does not seg fault.