Arcane  v3.14.10.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-2022 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-2022 */
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();
28
29extern "C" ARCANE_EXPORT
30int func0()
31{
32 arcaneTestCuda3();
33 arcaneTestCudaNumArray();
34 arcaneTestCudaReduction();
35 arcaneTestCuda4();
36 return 0;
37}
Fichier de configuration d'Arcane.