CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
39 lines
1.2 KiB
Plaintext
39 lines
1.2 KiB
Plaintext
// Copyright © Advanced Micro Devices, Inc., or its affiliates.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
namespace hipdnn_flatbuffers_sdk.data_objects;
|
|
|
|
/// @brief Device properties for heuristic plugin selection.
|
|
///
|
|
/// This table carries device facts needed for engine selection heuristics.
|
|
/// It is serialized by the backend and passed to heuristic plugins via
|
|
/// hipdnnHeuristicHandleSetDeviceProperties.
|
|
///
|
|
/// Evolution: New optional fields can be added without breaking compatibility.
|
|
/// Plugins verify and parse this buffer using flatbuffers::Verifier.
|
|
table DeviceProperties {
|
|
/// Device ID from hipGetDevice
|
|
device_id: int = -1;
|
|
|
|
/// Number of multiprocessors (compute units)
|
|
multi_processor_count: int = 0;
|
|
|
|
/// Total global memory in bytes
|
|
total_global_mem: ulong = 0;
|
|
|
|
/// GPU architecture name (e.g., "gfx90a", "gfx942")
|
|
architecture_name: string;
|
|
|
|
// Future optional fields (additive evolution):
|
|
// wavefront_size: int;
|
|
// max_threads_per_block: int;
|
|
// warp_size: int;
|
|
// compute_capability_major: int;
|
|
// compute_capability_minor: int;
|
|
}
|
|
|
|
root_type DeviceProperties;
|
|
|
|
// File identifier for schema versioning
|
|
file_identifier "HDDP"; // HipDNN Device Properties
|