From 53f70d39d3a7fb462663e3a8b5364db6cb37b20a Mon Sep 17 00:00:00 2001 From: Anton <100830759+antonwolfy@users.noreply.github.com> Date: Tue, 29 Mar 2022 20:34:38 +0300 Subject: [PATCH] Add '-fsycl-device-code-split=per_kernel' option while biulding and linking DPNP backend for Windows --- utils/command_build_clib.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/command_build_clib.py b/utils/command_build_clib.py index dc9f322fcb8d..e233663b6a70 100644 --- a/utils/command_build_clib.py +++ b/utils/command_build_clib.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # ***************************************************************************** -# Copyright (c) 2016-2020, Intel Corporation +# Copyright (c) 2016-2022, Intel Corporation # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -119,6 +119,7 @@ _project_cmplr_flag_stdcpp_static = [] _project_cmplr_flag_compatibility = [] _project_cmplr_flag_lib = ["/DLL"] + _project_cmplr_flag_release_build += _project_cmplr_flag_sycl_devel _project_cmplr_macro += [("_WIN", "1")] _project_rpath = [] # TODO this flag creates unexpected behavior during compilation, need to be fixed @@ -134,12 +135,12 @@ """ Debug configuration """ - _project_cmplr_flag_sycl += _project_cmplr_flag_sycl_devel _project_cmplr_flag_default_build = _project_cmplr_flag_debug_build else: """ Release configuration """ + _project_cmplr_flag_sycl += _project_cmplr_flag_sycl_devel _project_cmplr_flag_default_build = _project_cmplr_flag_release_build """