File tree Expand file tree Collapse file tree 3 files changed +18
-5
lines changed
Expand file tree Collapse file tree 3 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 55# libraries.
66#
77# Copyright (C) 2014, The University of Texas at Austin
8+ # Copyright (C) 2021, Advanced Micro Devices, Inc. All rights reserved.
89#
910# Redistribution and use in source and binary forms, with or without
1011# modification, are permitted provided that the following conditions are
@@ -200,5 +201,8 @@ MK_COMPLEX_RETURN_SCHEME := @complex_return@
200201# Status of aocl dynamic configuration
201202MK_ENABLE_AOCL_DYNAMIC := @enable_aocl_dynamic@
202203
204+ # BLAS int size
205+ MK_BLAS_INT_TYPE_SIZE := @blas_int_type_size@
206+
203207# end of ifndef CONFIG_MK_INCLUDED conditional block
204208endif
Original file line number Diff line number Diff line change 11#
22#
3- # BLIS
3+ # BLIS
44# An object-based framework for developing high-performance BLAS-like
55# libraries.
66#
77# Copyright (C) 2014, The University of Texas at Austin
8- # Copyright (C) 2020, Advanced Micro Devices, Inc.
8+ # Copyright (C) 2020-2021 , Advanced Micro Devices, Inc. All rights reserved .
99#
1010# Redistribution and use in source and binary forms, with or without
1111# modification, are permitted provided that the following conditions are
@@ -411,9 +411,17 @@ BASE_LIB_PATH := $(LIB_PATH)
411411
412412# The base name of the BLIS library that we will build.
413413ifeq ($(THREADING_MODEL ) ,off)
414- LIBBLIS := libblis
414+ ifeq ($(MK_BLAS_INT_TYPE_SIZE ) , 64)
415+ LIBBLIS := libblis-ilp64
415416else
416- LIBBLIS := libblis-mt
417+ LIBBLIS := libblis-lp64
418+ endif
419+ else
420+ ifeq ($(MK_BLAS_INT_TYPE_SIZE ) , 64)
421+ LIBBLIS := libblis-mt-ilp64
422+ else
423+ LIBBLIS := libblis-mt-lp64
424+ endif
417425endif
418426
419427# The shared (dynamic) library file suffix is different for Linux and OS X.
Original file line number Diff line number Diff line change 55# libraries.
66#
77# Copyright (C) 2014, The University of Texas at Austin
8- # Copyright (C) 2020-2021, Advanced Micro Devices, Inc.
8+ # Copyright (C) 2020-2021, Advanced Micro Devices, Inc. All rights reserved.
99#
1010# Redistribution and use in source and binary forms, with or without
1111# modification, are permitted provided that the following conditions are
@@ -3369,6 +3369,7 @@ main()
33693369 | sed -e " s/@enable_trsm_preinversion@/${enable_trsm_preinversion} /g" \
33703370 | sed -e " s/@enable_aocl_dynamic@/${enable_aocl_dynamic} /g" \
33713371 | sed -e " s/@complex_return@/${complex_return} /g" \
3372+ | sed -e " s/@blas_int_type_size@/${blas_int_type_size} /g" \
33723373 > " ${config_mk_out_path} "
33733374
33743375
You can’t perform that action at this time.
0 commit comments