Files
compute-runtime/shared/source/sku_info/definitions/sku_info.cpp
Warchulski, Jaroslaw 4794648978 Cleanup includes 26
Cleaned up files:
opencl/source/command_queue/csr_selection_args.h
opencl/source/event/event.h
shared/source/helpers/engine_control.h
shared/source/sku_info/definitions/sku_info.h

Related-To: NEO-5548

Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-11 09:10:45 +01:00

30 lines
508 B
C++

/*
* Copyright (C) 2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "sku_info.h"
#include "shared/source/helpers/hash.h"
namespace NEO {
uint64_t FeatureTable::asHash() const {
Hash hash;
hash.update(reinterpret_cast<const char *>(&packed), sizeof(packed));
return hash.finish();
}
uint64_t WorkaroundTable::asHash() const {
Hash hash;
hash.update(reinterpret_cast<const char *>(&packed), sizeof(packed));
return hash.finish();
}
} // namespace NEO