Arcane  v4.1.4.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-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/* 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();
30
31extern "C" ARCANE_EXPORT
32int func0()
33{
34 arcaneTestCuda3();
35 arcaneTestCudaNumArray();
36 arcaneTestCudaReduction();
37 arcaneTestCuda4();
38 arcaneTestCooperativeLaunch();
39 return 0;
40}
Fichier de configuration d'Arcane.