Skip to content

Commit e4dae10

Browse files
author
Ahmad, Sameer
authored
AOCL LAPACK Legacy Test Suite: Compilation Fix (flame#103)
Add unistd.h to test_libflame.c to resolve compilation errors caused by its removal from FLAME.h in the legacy test suite. AMD_Internal: CPUPL-7346 Signed-off-by: samahmad <[email protected]>
1 parent ec6f7b5 commit e4dae10

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

test/legacyflame/src/test_libflame.c

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,18 @@
55
This file is part of libflame and is available under the 3-Clause
66
BSD license, which can be found in the LICENSE file at the top-level
77
directory, or at http://opensource.org/licenses/BSD-3-Clause
8-
98
*/
109

11-
#include "FLAME.h"
10+
/*
11+
* Modifications Copyright (c) 2025 Advanced Micro Devices, Inc. All rights reserved.
12+
*/
1213

13-
#include "test_libflame.h"
14+
#ifndef _WIN32
15+
#include <unistd.h>
16+
#endif
1417

18+
#include "FLAME.h"
19+
#include "test_libflame.h"
1520
// Operation modules.
1621
#include "test_gemm.h"
1722
#include "test_hemm.h"

0 commit comments

Comments
 (0)