HomePhabricator

[OpenCL] Restore ATOMIC_VAR_INIT

Authored by svenvh on Jun 24 2019, 3:06 AM.

Description

[OpenCL] Restore ATOMIC_VAR_INIT

We accidentally lost the ATOMIC_VAR_INIT and ATOMIC_FLAG_INIT macros
in r363794.

Also put the memory_order typedef back inside a >= CL2.0 guard.

llvm-svn: 364174

Details

Committed
svenvhJun 24 2019, 3:06 AM
Parents
rG853dfab799f1: [OpenCL] Remove more duplicates from opencl-c.h
Branches
Unknown
Tags
Unknown