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