cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

nibal
Challenger

__constant problem when compiling ocl kernel in latest catalyst 15.9

Jump to solution

Thu Oct 15 05:55:24 2015 [00] [!] clutils.c:501:createCLProgram Failed to compile program from "fft.cl" (CL_BUILD_PROGRAM_FAILURE)

BUILD LOG
************************************************
Error compiling program for fft.

Frontend phase failed compilation.
Error: Creating kernel fft failed!
************************************************

Problem created when changing kernel args from __global to __constant. They were declared as MEM_READ_ONLY in CreateBuffer.

Compiled as C program with cflags "-g -I." in Linux.

2 issues

1) No displayed error

2) Doesn't support __constant kernel args

Kernel sources attached

0 Likes
1 Solution

Accepted Solutions
nibal
Challenger

Re: __constant problem when compiling ocl kernel in latest catalyst 15.9

Jump to solution

Plz disregard. Forgot to change __global to __constant in 1 place. Now it compiles OK. Doesn't help that doesn't display any errors 😞

View solution in original post

0 Likes
1 Reply
nibal
Challenger

Re: __constant problem when compiling ocl kernel in latest catalyst 15.9

Jump to solution

Plz disregard. Forgot to change __global to __constant in 1 place. Now it compiles OK. Doesn't help that doesn't display any errors 😞

View solution in original post

0 Likes