numba_dpex.kernel_api.memory_enums#

A collection of FlagEnum classes that syntactically represents the SYCL memory enum classes.

Overview#

Classes#

MemoryOrder

Analogue of sycl::memory_order enumeration.

MemoryScope

Analogue of sycl::memory_scope enumeration.

AddressSpace

Analogue of SYCL address space classes.

Classes#

class MemoryOrder#

Bases: numba_dpex.kernel_api.flag_enum.FlagEnum

Analogue of sycl::memory_order enumeration.

The integer values of the enums is kept consistent with the corresponding implementation in dpcpp.

Overview

Members

RELAXED = 0#
ACQUIRE = 1#
CONSUME_UNSUPPORTED = 2#
RELEASE = 3#
ACQ_REL = 4#
SEQ_CST = 5#
class MemoryScope#

Bases: numba_dpex.kernel_api.flag_enum.FlagEnum

Analogue of sycl::memory_scope enumeration.

The integer values of the enums is kept consistent with the corresponding implementation in dpcpp.

Overview

Members

WORK_ITEM = 0#
SUB_GROUP = 1#
WORK_GROUP = 2#
DEVICE = 3#
SYSTEM = 4#
class AddressSpace#

Bases: numba_dpex.kernel_api.flag_enum.FlagEnum

Analogue of SYCL address space classes.

The integer values of the enums is kept consistent with the corresponding implementation in dpcpp.

Overview

Attributes#

PRIVATE

-

GLOBAL

-

CONSTANT

-

LOCAL

-

GENERIC

-

Members

PRIVATE = 0#
GLOBAL = 1#
CONSTANT = 2#
LOCAL = 3#
GENERIC = 4#