logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

prefetch - Prefetch bytes into the global cache.

Authors

TheKhronosGroup

Description

       Prefetch num_gentypes * sizeof(gentype) bytes into the global cache. The prefetch instruction is applied
       to a work-item in a work-group and does not affect the functional behavior of the kernel.

Name

       prefetch - Prefetch bytes into the global cache.

       voidprefetch(const__globalgentype*p,size_tnum_gentypes);

Notes

        1. OpenCL Specification
           page 276, section 6.12.10 - Async Copies from Global to Local Memory...

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

See Also

asyncCopyFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also