1+ #include < simsycl/system.hh>
2+
3+ #include < nlohmann/json.hpp>
4+
5+
6+ namespace simsycl ::sycl { // nlohmann_json requires us to invoke SERIALIZE_ENUM in this namespace
7+
8+ NLOHMANN_JSON_SERIALIZE_ENUM (aspect,
9+ {
10+ {aspect::cpu, " cpu" },
11+ {aspect::gpu, " gpu" },
12+ {aspect::accelerator, " accelerator" },
13+ {aspect::custom, " custom" },
14+ {aspect::emulated, " emulated" },
15+ {aspect::host_debuggable, " host_debuggable" },
16+ {aspect::fp16, " fp16" },
17+ {aspect::fp64, " fp64" },
18+ {aspect::atomic64, " atomic64" },
19+ {aspect::image, " image" },
20+ {aspect::online_compiler, " online_compiler" },
21+ {aspect::online_linker, " online_linker" },
22+ {aspect::queue_profiling, " queue_profiling" },
23+ {aspect::usm_device_allocations, " usm_device_allocations" },
24+ {aspect::usm_host_allocations, " usm_host_allocations" },
25+ {aspect::usm_atomic_host_allocations, " usm_atomic_host_allocations" },
26+ {aspect::usm_shared_allocations, " usm_shared_allocations" },
27+ {aspect::usm_atomic_shared_allocations, " usm_atomic_shared_allocations" },
28+ {aspect::usm_system_allocations, " usm_system_allocations" },
29+ })
30+
31+ }
32+
33+ namespace simsycl ::detail {
34+
35+ device_config load_device_config (const std::string &path_to_json_file) {}
36+
37+ } // namespace simsycl::detail
0 commit comments