Work around for a bug in AMD's clBuildProgram
Work around for a bug in AMD's clBuildProgram

 - Get stuck when the kernel is too large

arrayfire/arrayfire,bkloppenborg/arrayfire,victorv/arrayfire,9prady9/arrayfire,munnybearz/arrayfire,merlin-ext/arrayfire,merlin-ext/arrayfire,arrayfire/arrayfire,umar456/arrayfire,9prady9/arrayfire,victorv/arrayfire,bkloppenborg/arrayfire,ghisvail/arrayfire,marbre/arrayfire,shehzan10/arrayfire,ghisvail/arrayfire,shehzan10/arrayfire,ghisvail/arrayfire,bkloppenborg/arrayfire,merlin-ext/arrayfire,bkloppenborg/arrayfire,umar456/arrayfire,arrayfire/arrayfire,shehzan10/arrayfire,shehzan10/arrayfire,arrayfire/arrayfire,munnybearz/arrayfire,munnybearz/arrayfire,marbre/arrayfire,marbre/arrayfire,9prady9/arrayfire,9prady9/arrayfire,victorv/arrayfire,ghisvail/arrayfire,victorv/arrayfire,umar456/arrayfire,umar456/arrayfire,merlin-ext/arrayfire,marbre/arrayfire