Files
compute-runtime/runtime/command_queue/local_id_gen_avx2.cpp
Michal Mrozek 6cc9b9d125 Add choose max row size parameter for local id generation.
Change-Id: I77185b6c114092859c742236a4dfef01deb9ea21
2020-02-05 10:24:40 +01:00

19 lines
682 B
C++

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#if __AVX2__
#include "runtime/command_queue/local_id_gen.inl"
#include "runtime/helpers/uint16_avx2.h"
#include <array>
namespace NEO {
template void generateLocalIDsSimd<uint16x16_t, 32>(void *b, const std::array<uint16_t, 3> &localWorkgroupSize, uint16_t threadsPerWorkGroup, const std::array<uint8_t, 3> &dimensionsOrder, bool chooseMaxRowSize);
template void generateLocalIDsSimd<uint16x16_t, 16>(void *b, const std::array<uint16_t, 3> &localWorkgroupSize, uint16_t threadsPerWorkGroup, const std::array<uint8_t, 3> &dimensionsOrder, bool chooseMaxRowSize);
} // namespace NEO
#endif