7#ifndef LOOMC_TARGET_SPIRV_VULKANINFO_H_
8#define LOOMC_TARGET_SPIRV_VULKANINFO_H_
#define LOOMC_API_EXPORT
Exports a public Loom C API symbol from a shared library build.
Definition base.h:34
size_t loomc_host_size_t
Host allocation and container size type.
Definition base.h:45
loomc_structure_type_t
Structure type values used by extensible public descriptors.
Definition base.h:181
struct iree_status_handle_t * loomc_status_t
Opaque status handle.
Definition base.h:55
struct loomc_result_t loomc_result_t
Immutable operation result.
Definition result.h:63
struct loomc_source_t loomc_source_t
Immutable source handle.
Definition source.h:80
SPIR-V target profile facts.
Host allocator used for persistent Loom object storage.
Definition base.h:375
Saved vulkaninfo profile import options.
Definition vulkaninfo.h:70
loomc_structure_type_t type
Structure type.
Definition vulkaninfo.h:73
const void * next
Reserved extension chain. Must be NULL.
Definition vulkaninfo.h:79
loomc_string_view_t profile_name
Optional profile key for GPUInfo/Vulkan Profiles wrapper JSON.
Definition vulkaninfo.h:89
uint32_t device_index
Device index for raw vulkaninfo-style devices arrays.
Definition vulkaninfo.h:95
loomc_host_size_t structure_size
Size of this structure in bytes.
Definition vulkaninfo.h:76
loomc_string_view_t identifier
Stable profile identifier. Empty uses the source identifier.
Definition vulkaninfo.h:82
Non-owning string view over bytes that need not be NUL-terminated.
Definition base.h:63
struct loomc_target_environment_t loomc_target_environment_t
Prepared immutable target environment.
Definition target.h:123
struct loomc_target_profile_t loomc_target_profile_t
Prepared immutable target profile.
Definition target.h:135
loomc_status_t loomc_target_profile_create_spirv_vulkaninfo(loomc_target_environment_t *target_environment, const loomc_source_t *source, const loomc_spirv_vulkaninfo_profile_options_t *options, loomc_allocator_t allocator, loomc_target_profile_t **out_profile, loomc_result_t **out_result)
Creates a SPIR-V target profile from saved vulkaninfo JSON.