Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sycl/plugins/level_zero/pi_level_zero.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ struct _pi_platform {
// Cache versions info from zeDriverGetProperties.
std::string ZeDriverVersion;
std::string ZeDriverApiVersion;
ze_api_version_t ZeApiVersion;
ze_api_version_t ZeApiVersion{};

// Cache driver extensions
std::unordered_map<std::string, uint32_t> zeDriverExtensionMap;
Expand Down Expand Up @@ -1496,7 +1496,7 @@ struct _pi_program : _pi_object {
// In IL and Object states, this contains the SPIR-V representation of the
// module. In Native state, it contains the native code.
std::unique_ptr<uint8_t[]> Code; // Array containing raw IL / native code.
size_t CodeLength; // Size (bytes) of the array.
size_t CodeLength{0}; // Size (bytes) of the array.

// Used only in IL and Object states. Contains the SPIR-V specialization
// constants as a map from the SPIR-V "SpecID" to a buffer that contains the
Expand Down