Skip to content

Add "-fsycl-device-code-split=per_kernel" option while building and linking DPNP backend for Windows #1152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions utils/command_build_clib.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

"""
Expand Down