From 8e590121b53c3a7ac5335b8f27ca1c4feede6289 Mon Sep 17 00:00:00 2001 From: Evan Ramos Date: Fri, 3 May 2019 12:50:44 -0500 Subject: [PATCH] Fix building AMPI+CUDA Broken since renaming convcore.c to .C in commit b3b8395f34626549b6b7a9bbe59bab2746a09730. Change-Id: If3a5f58933a2d5ca84d33f12fae1a4a12234f4d2 --- src/conv-core/convcore.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conv-core/convcore.C b/src/conv-core/convcore.C index bdfbc30919..39fcdf5266 100644 --- a/src/conv-core/convcore.C +++ b/src/conv-core/convcore.C @@ -178,8 +178,8 @@ CpvDeclare(char *, _validProcessors); #if CMK_CUDA CpvExtern(int, n_hapi_events); -void hapiPollEvents(); -void exitHybridAPI(); +extern "C" void hapiPollEvents(); +extern "C" void exitHybridAPI(); #endif /***************************************************************************** -- 2.11.4.GIT