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

Explicit_Memory_Fence_Functions - Click an item in the table below for details about that function.

Authors

TheKhronosGroup

Description

       These functions provide ordering between memory operations of a work-item.

Name

       Explicit_Memory_Fence_Functions - Click an item in the table below for details about that function.

       ┌───────────────────────┬───────────────────────────────────────┐
       │ mem_fence(3clc)       │ Orders loads and stores of a          │
       │                       │ work-item executing a kernel          │
       ├───────────────────────┼───────────────────────────────────────┤
       │ read_mem_fence(3clc)  │ Read memory barrier that orders only  │
       │                       │ loads                                 │
       ├───────────────────────┼───────────────────────────────────────┤
       │ write_mem_fence(3clc) │ Write memory barrier that orders only │
       │                       │ stores                                │
       └───────────────────────┴───────────────────────────────────────┘

Notes

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

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

See Also

barrier(3clc)

Specification

OpenCLSpecification[1]

See Also