A problem with math functions
Hi, all.
I am trying to do simple mathimetical operation - Log2. For this I call log2 function in my kernel. As a result I get - CL_BUILD_PROGRAM_FAILURE, when building an Opencl kernels on my GPU. When I start this programm on my CPU it works fine without any problems. Maybe I mast include some extentions for GPU? I use: nVidia Tesla M2090 and latest cuda drivers.
Hi, all.

I am trying to do simple mathimetical operation - Log2. For this I call log2 function in my kernel. As a result I get - CL_BUILD_PROGRAM_FAILURE, when building an Opencl kernels on my GPU. When I start this programm on my CPU it works fine without any problems. Maybe I mast include some extentions for GPU? I use: nVidia Tesla M2090 and latest cuda drivers.

#1
Posted 03/02/2012 10:35 AM   
What is the compiler output? you can get an actual compilation error message and not just a flag. It would help to see what the compiler thinks is wrong.
What is the compiler output? you can get an actual compilation error message and not just a flag. It would help to see what the compiler thinks is wrong.

#2
Posted 03/04/2012 09:55 AM   
The problem was in using invalid overloaded function.
The problem was in using invalid overloaded function.

#3
Posted 03/05/2012 12:25 PM   
Scroll To Top