Skip to content

Commit f01613d

Browse files
committed
Changing copyright headers and fault info descriptor
1 parent 1951363 commit f01613d

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

framework/vulkan_type_mapping.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2025, Arm Limited and Contributors
1+
/* Copyright (c) 2026, Arm Limited and Contributors
22
* Copyright (c) 2024-2025, NVIDIA CORPORATION. All rights reserved.
33
*
44
* SPDX-License-Identifier: Apache-2.0

samples/extensions/device_fault/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2025, Arm Limited and Contributors
1+
# Copyright (c) 2026, Arm Limited and Contributors
22
#
33
# SPDX-License-Identifier: Apache-2.0
44
#

samples/extensions/device_fault/device_fault.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void DeviceFault::check_device_fault()
112112
LOGE("Vendor Fault Description: {}", faultInfo.pVendorInfos ? faultInfo.pVendorInfos->description : "No Vendor Information available.")
113113
// Log each address info
114114
for (uint32_t i = 0; i < faultCount.addressInfoCount; i++) {
115-
LOGE("Fault Address Info Address Type: {}", std::to_string(addressInfos[i].addressType));
115+
LOGE("Fault Address Info Address Type: {}", vk::to_string(static_cast<vk::DeviceFaultAddressTypeEXT>(addressInfos[i].addressType)));
116116
LOGE("Fault Address Info Reported Address -> Decimal: {} | Hex: 0x{:X}", addressInfos[i].reportedAddress, static_cast<uint64_t>(addressInfos[i].reportedAddress));
117117
}
118118
}

samples/extensions/device_fault/device_fault.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#pragma once
1919

2020
#include "api_vulkan_sample.h"
21+
#include "vulkan/vulkan_to_string.hpp"
2122
#include <memory>
2223
#include <vector>
2324

0 commit comments

Comments
 (0)