Arcane  v4.1.0.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
cuda/runtime/TestCpp.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 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/* Fichier de tests pour CUDA. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
15
16extern "C"
17int arcaneTestCuda1();
18extern "C"
19int arcaneTestCuda2();
20extern "C"
21int arcaneTestCuda3();
22extern "C"
23int arcaneTestCuda4();
24extern "C"
25int arcaneTestCudaNumArray();
26extern "C"
27int arcaneTestCudaReduction();
28extern "C"
29void arcaneTestCooperativeLaunch();
30extern "C"
31int arcaneTestVirtualFunction();
32
33extern "C" ARCANE_EXPORT
34int func0()
35{
36 arcaneTestCuda3();
37 arcaneTestCudaNumArray();
38 arcaneTestCudaReduction();
39 arcaneTestCuda4();
40 arcaneTestCooperativeLaunch();
41 arcaneTestVirtualFunction();
42 return 0;
43}
Fichier de configuration d'Arcane.