mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

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>
30 lines
508 B
C++
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
|