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

write_mem_fence - Write memory barrier that orders only stores.

Authors

TheKhronosGroup

Description

       Write memory barrier that orders only stores.

       The flags argument specifies the memory address space and can be set to a combination of the following
       literal values: CLK_LOCAL_MEM_FENCE, CLK_GLOBAL_MEM_FENCE.

Name

       write_mem_fence - Write memory barrier that orders only stores.

       voidwrite_mem_fence(cl_mem_fence_flagsflags);

Notes

        1. OpenCL Specification
           page 275, section 6.12.9 - Explicit Memory Fence Functions

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

See Also

explicitMemoryFenceFunctions(3clc)

Specification

OpenCLSpecification[1]

See Also