Skip to content

Support for aspects #292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1e-to opened this issue Feb 26, 2021 · 0 comments · Fixed by #307
Closed

Support for aspects #292

1e-to opened this issue Feb 26, 2021 · 0 comments · Fixed by #307
Assignees

Comments

@1e-to
Copy link
Contributor

1e-to commented Feb 26, 2021

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
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant