Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
cuda/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-2026 */
9/* */
10/* Test file for CUDA. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
15
16extern "C" int arcaneTestCuda1();
17extern "C" int arcaneTestCuda2();
18extern "C" int arcaneTestCuda3();
19extern "C" int arcaneTestCuda4();
20extern "C" int arcaneTestCudaNumArray();
21extern "C" int arcaneTestCudaReduction();
22extern "C" void arcaneTestCooperativeLaunch();
23
24extern "C" ARCANE_EXPORT int func0()
25{
26 arcaneTestCuda3();
27 arcaneTestCudaNumArray();
28 arcaneTestCudaReduction();
29 arcaneTestCuda4();
30 arcaneTestCooperativeLaunch();
31 return 0;
32}
Arcane configuration file.