Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectAllJSON ¶
func DetectJSON ¶
Types ¶
type Limits ¶
type Limits struct {
MaxComputeInvocationsPerWorkgroup uint32 `json:"max_compute_invocations_per_workgroup"`
MaxComputeWorkgroupSizeX uint32 `json:"max_compute_workgroup_size_x"`
MaxComputeWorkgroupSizeY uint32 `json:"max_compute_workgroup_size_y"`
MaxComputeWorkgroupSizeZ uint32 `json:"max_compute_workgroup_size_z"`
MaxComputeWorkgroupsPerDimension uint32 `json:"max_compute_workgroups_per_dimension"`
MaxComputeWorkgroupStorageSize uint32 `json:"max_compute_workgroup_storage_size"`
MaxStorageBufferBindingSize uint64 `json:"max_storage_buffer_binding_size"`
MaxBufferSize uint64 `json:"max_buffer_size"`
}
type Recommendations ¶
type Report ¶
type Report struct {
Key string `json:"key"` // stable selection key: backend/vendor/device/name
WhenISO string `json:"when_iso"`
Runtime string `json:"runtime"` // "native" or "wasm" (best-effort)
Backend string `json:"backend"`
AdapterType string `json:"adapter_type"`
VendorID string `json:"vendor_id_hex"`
DeviceID string `json:"device_id_hex"`
Name string `json:"name"`
Driver string `json:"driver"`
Recommended Recommendations `json:"recommended"`
Limits Limits `json:"limits"`
Features []string `json:"features"`
Env map[string]string `json:"env,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.