Skip to content

Support for aspects #292

Closed
Closed
@1e-to

Description

@1e-to

Add aspects as a new enum class (DPCTLSyclAspect) to dpctl_sycl_enum_types.h
Maybe implemented as bool DPCTLDevice_Has(DPCTLSyclAspect A) in C API and cpdef has(aspect=*) in Cython?

enum DPCTLSyclAspect
{
    cpu,
    gpu,
    accelerator,
    custom,
    emulated,
    host_debuggable,
    fp16,
    fp64,
    atomic64,
    image,
    online_compiler,
    online_linker,
    queue_profiling,
    usm_device_allocations,
    usm_host_allocations,
    usm_atomic_host_allocations,
    usm_shared_allocations,
    usm_atomic_shared_allocations,
    usm_system_allocations
};

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions