Skip to content

Commit

Permalink
static_link need to relink per_kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
yhmtsai committed Jul 14, 2021
1 parent d5c5899 commit 696bf73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cmake/create_test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function(ginkgo_create_test test_name)
add_executable(${test_target_name} ${test_name}.cpp)
target_compile_features(${test_target_name} PUBLIC cxx_std_14)
target_compile_options(${test_target_name} PRIVATE ${GINKGO_COMPILER_FLAGS})
target_link_options(${test_target_name} PRIVATE -fsycl-device-code-split=per_kernel)
target_link_libraries(${test_target_name} PRIVATE ${ARGN})
ginkgo_set_test_target_properties(${test_name} ${test_target_name})
endfunction(ginkgo_create_test)
Expand Down
2 changes: 1 addition & 1 deletion dpcpp/components/format_conversion.dp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <CL/sycl.hpp>


#include <ginkgo/core/base/types.hpp>
#include <ginkgo/core/base/executor.hpp>
#include <ginkgo/core/base/types.hpp>


#include "dpcpp/base/dim3.dp.hpp"
Expand Down

0 comments on commit 696bf73

Please sign in to comment.