File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ struct _pi_platform {
371371 // Cache versions info from zeDriverGetProperties.
372372 std::string ZeDriverVersion;
373373 std::string ZeDriverApiVersion;
374- ze_api_version_t ZeApiVersion;
374+ ze_api_version_t ZeApiVersion{} ;
375375
376376 // Cache driver extensions
377377 std::unordered_map<std::string, uint32_t > zeDriverExtensionMap;
@@ -1496,7 +1496,7 @@ struct _pi_program : _pi_object {
14961496 // In IL and Object states, this contains the SPIR-V representation of the
14971497 // module. In Native state, it contains the native code.
14981498 std::unique_ptr<uint8_t []> Code; // Array containing raw IL / native code.
1499- size_t CodeLength; // Size (bytes) of the array.
1499+ size_t CodeLength{ 0 }; // Size (bytes) of the array.
15001500
15011501 // Used only in IL and Object states. Contains the SPIR-V specialization
15021502 // constants as a map from the SPIR-V "SpecID" to a buffer that contains the
You can’t perform that action at this time.
0 commit comments