Skip to content

Commit 3081254

Browse files
committed
fix: Split send/recv test into independent cpu and device mode tests
1 parent 5c5a205 commit 3081254

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/test_send_recv.cpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
* Please, refer to the LICENSE file in the root directory.
88
* SPDX-License-Identifier: BSD-3-Clause
99
*/
10-
#ifdef HWMALLOC_ENABLE_DEVICE
11-
# include <driver_types.h>
10+
#ifdef TEST_DEVICE_MODE_ONLY
11+
# ifdef HWMALLOC_ENABLE_DEVICE
12+
# include <driver_types.h>
13+
# endif
1214
#endif
15+
1316
#include <gtest/gtest.h>
1417
#include <oomph/context.hpp>
1518
// use this path because device version in build dir needs to find include

0 commit comments

Comments
 (0)