compute-runtime/opencl/test/unit_test/helpers/static_size3.h

17 lines
271 B
C++

/*
* Copyright (C) 2018-2021 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;
}
};