2 opencl files #1355
ronghongbo
started this conversation in
General
2 opencl files
#1355
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
It seems that there are always 2 .cl files generated when targeting OpenCL. The first file contains something like this:
__kernel void _at_least_one_kernel(int x) { }
The second file like this:
__kernel void _at_least_one_kernel(int x) { }
__kernel void kernel_output_s0___outermost___block_id_x(....) {...}
What is the purpose of the first file?
The first file seems to be just a part of the second, but it still needs compile once. Somehow, it still takes some time even if it is almost empty. Is there any way to completely remove/avoid generating the first file?
Thanks,
Hongbo
Beta Was this translation helpful? Give feedback.
All reactions