/
redgpu
/
ispc
Обзор
Документация
Войти
/
redgpu
/
ispc
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
stdlib/include/target.isph
33 строки
872 B
Arina Neshlyaeva
Refactor capabilities constants
07 ноя 2025, 03:25
07 ноя 2025, 03:25
7e9d2b6
Код
Авторство
О чём код?
// -*- mode: c++ -*- // Copyright (c) 2024-2025, Intel Corporation // SPDX-License-Identifier: BSD-3-Clause // @file stdlib.isph // @brief A piece of ISPC standard library code that contains target dependent // variable definitions. #pragma once #ifndef ISPC_MATH_LIB_ISPC_VAL #error ISPC_MATH_LIB_ISPC_VAL undefined #endif static const uniform int32 __math_lib_ispc = ISPC_MATH_LIB_ISPC_VAL; #ifndef ISPC_MATH_LIB_ISPC_FAST_VAL #error ISPC_MATH_LIB_ISPC_FAST_VAL undefined #endif static const uniform int32 __math_lib_ispc_fast = ISPC_MATH_LIB_ISPC_FAST_VAL; #ifndef ISPC_MATH_LIB_SVML_VAL #error ISPC_MATH_LIB_SVML_VAL undefined #endif static const uniform int32 __math_lib_svml = ISPC_MATH_LIB_SVML_VAL; #ifndef ISPC_MATH_LIB_SYSTEM_VAL #error ISPC_MATH_LIB_SYSTEM_VAL undefined #endif static const uniform int32 __math_lib_system = ISPC_MATH_LIB_SYSTEM_VAL;