compute-runtime/shared/test/common/helpers/static_size3.h

17 lines
271 B
C
Raw Normal View History

/*
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
template <size_t X, size_t Y, size_t Z>
struct StatickSize3 {
operator const size_t *() {
static const size_t v[] = {X, Y, Z};
return v;
}
};