Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
hip/runtime/TestCpp.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* TestCpp.cc (C) 2000-2025 */
9/* */
10/* Test file for HIP. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
15
16extern "C" int arcaneTestHip1();
17extern "C" int arcaneTestHip2();
18extern "C" int arcaneTestHip3();
19extern "C" int arcaneTestHipNumArray();
20extern "C" int arcaneTestHipReduction();
21extern "C" int arcaneTestVirtualFunction();
22
23extern "C" ARCANE_EXPORT int func0()
24{
25 arcaneTestHip1();
26 arcaneTestHip2();
27 arcaneTestHip3();
28 arcaneTestHipNumArray();
29 arcaneTestHipReduction();
30 arcaneTestVirtualFunction();
31 return 0;
32}
Arcane configuration file.