Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sycl/doc/design/DeviceGlobal.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class __sycl_device_global_registration {
public:
__sycl_device_global_registration() noexcept;
};
__sycl_device_global_registration __sycl_device_global_registerer;
__sycl_device_global_registration __sycl_device_global_registrar;

} // namespace (unnamed)
} // namespace sycl::detail
Expand Down Expand Up @@ -297,7 +297,7 @@ constructed before subsequent global variables in the same translation unit.
Therefore, a user application could reference a device global from another
global constructor only if that global constructor is for an object defined
*after* the device global in the same translation unit. However, the
integration header defines `__sycl_device_global_registerer` *before* all
integration header defines `__sycl_device_global_registrar` *before* all
device globals in the user's translation unit. Therefore, the address of all
device global variables in the translation unit will be registered with the
DPC++ runtime before any user code could legally use them.
Expand Down