Above is the method explanation of getBuildInfo, anyone knows how to call it? I’ve try in many ways but no success. I also refer to examples such as
std::string buildlog = program.getBuildInfo<CL_PROGRAM_BUILD_LOG>(dev);
But my question is why in this way as the explanation of the method is using () instead of <>?
Besides, if the build success is successful will any log be shown, or will the log only be shown when the build is not success?