42inline constexpr std::string_view
kSchemaV1 =
"pulp.gpu-health-result.v1";
45inline constexpr std::string_view
kSchema =
"pulp.gpu-health-result.v2";
50 std::string_view{
"gpu.adapter.fail"},
51 std::string_view{
"gpu.adapter.null"},
52 std::string_view{
"gpu.adapter.pass"},
53 std::string_view{
"gpu.adapter.unavailable"},
54 std::string_view{
"gpu.adapter.unverified"},
55 std::string_view{
"gpu.compute.fail"},
56 std::string_view{
"gpu.compute.pass"},
57 std::string_view{
"gpu.compute.unavailable"},
58 std::string_view{
"gpu.compute.unverified"},
59 std::string_view{
"gpu.configuration.fail"},
60 std::string_view{
"gpu.configuration.pass"},
61 std::string_view{
"gpu.configuration.unavailable"},
62 std::string_view{
"gpu.configuration.unverified"},
63 std::string_view{
"gpu.content.fail"},
64 std::string_view{
"gpu.content.pass"},
65 std::string_view{
"gpu.content.unavailable"},
66 std::string_view{
"gpu.content.unverified"},
67 std::string_view{
"gpu.device_state.fail"},
68 std::string_view{
"gpu.device_state.pass"},
69 std::string_view{
"gpu.device_state.unavailable"},
70 std::string_view{
"gpu.device_state.unverified"},
71 std::string_view{
"gpu.pipeline_create.fail"},
72 std::string_view{
"gpu.pipeline_create.pass"},
73 std::string_view{
"gpu.pipeline_create.unavailable"},
74 std::string_view{
"gpu.pipeline_create.unverified"},
75 std::string_view{
"gpu.readback.fail"},
76 std::string_view{
"gpu.readback.pass"},
77 std::string_view{
"gpu.readback.unavailable"},
78 std::string_view{
"gpu.readback.unverified"},
79 std::string_view{
"gpu.render.fail"},
80 std::string_view{
"gpu.render.pass"},
81 std::string_view{
"gpu.render.unavailable"},
82 std::string_view{
"gpu.render.unverified"},
83 std::string_view{
"gpu.shader_compile.fail"},
84 std::string_view{
"gpu.shader_compile.pass"},
85 std::string_view{
"gpu.shader_compile.unavailable"},
86 std::string_view{
"gpu.shader_compile.unverified"},
87 std::string_view{
"gpu.submit.fail"},
88 std::string_view{
"gpu.submit.pass"},
89 std::string_view{
"gpu.submit.unavailable"},
90 std::string_view{
"gpu.submit.unverified"},
91 std::string_view{
"gpu_compute_adapter_acquired"},
92 std::string_view{
"gpu_compute_adapter_identity_unverified"},
93 std::string_view{
"gpu_compute_device_lost"},
94 std::string_view{
"gpu_compute_execution_failed"},
95 std::string_view{
"gpu_compute_initialization_unavailable"},
96 std::string_view{
"gpu_compute_not_built"},
97 std::string_view{
"gpu_compute_oracle_mismatch"},
98 std::string_view{
"gpu_compute_oracle_passed"},
99 std::string_view{
"render_not_requested"},
100 std::string_view{
"renderer3d_adapter_unavailable"},
101 std::string_view{
"renderer3d_blank_output"},
102 std::string_view{
"renderer3d_content_floor_passed"},
103 std::string_view{
"renderer3d_not_compiled"},
104 std::string_view{
"renderer3d_setup_failed"},
105 std::string_view{
"renderer3d_readback_completed"},
106 std::string_view{
"renderer3d_readback_failed"},
107 std::string_view{
"renderer3d_render_completed"},
108 std::string_view{
"renderer3d_submit_completed"},
109 std::string_view{
"skia_graphite_content_floor_passed"},
110 std::string_view{
"skia_graphite_content_mismatch"},
111 std::string_view{
"skia_graphite_frame_failed"},
112 std::string_view{
"skia_graphite_readback_completed"},
113 std::string_view{
"skia_graphite_render_completed"},
114 std::string_view{
"skia_graphite_unavailable"},
115 std::string_view{
"wgsl.async_uncaptured_error"},
120 if (candidate == code)
return true;
160 std::optional<std::string>
name;
250std::optional<HealthResult>
from_json(std::string_view json,
251 std::string* error =
nullptr);
Definition gpu_fwd.hpp:31