logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

printf_Function - The OpenCL C programming language implements the printf function.

Authors

TheKhronosGroup

Description

       The printf built-in function writes output to an implementation-defined stream such as stdout under
       control of the string pointed to by format that specifies how subsequent arguments are converted for
       output. If there are insufficient arguments for the format, the behavior is undefined. If the format is
       exhausted while arguments remain, the excess arguments are evaluated (as always) but are otherwise
       ignored. The printf function returns when the end of the format string is encountered.

Name

       printf_Function - The OpenCL C programming language implements the printf function.

       intprintf(constantchar*restrictformat,...);

Notes

        1. OpenCL Specification
           page 284, section 6.12.13 - printf

The Khronos Group                                  11/18/2024                              PRINTFFUNCTION(3clc)

Specification

OpenCLSpecification[1]

See Also