2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2018-09-18 15:11:08 +08:00
|
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if __AVX2__
|
|
|
|
#include "runtime/command_queue/local_id_gen.inl"
|
|
|
|
#include "runtime/helpers/uint16_avx2.h"
|
|
|
|
|
2018-08-06 17:35:59 +08:00
|
|
|
#include <array>
|
|
|
|
|
2017-12-21 07:45:38 +08:00
|
|
|
namespace OCLRT {
|
2018-08-06 17:35:59 +08:00
|
|
|
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);
|
|
|
|
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);
|
2018-06-13 03:54:39 +08:00
|
|
|
} // namespace OCLRT
|
2017-12-21 07:45:38 +08:00
|
|
|
#endif
|