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
14
#include "
arcane/utils/ArcaneGlobal.h
"
15
16
extern
"C"
17
int
arcaneTestCuda1();
18
extern
"C"
19
int
arcaneTestCuda2();
20
extern
"C"
21
int
arcaneTestCuda3();
22
extern
"C"
23
int
arcaneTestCuda4();
24
extern
"C"
25
int
arcaneTestCudaNumArray();
26
extern
"C"
27
int
arcaneTestCudaReduction();
28
29
extern
"C"
ARCANE_EXPORT
30
int
func0()
31
{
32
arcaneTestCuda3();
33
arcaneTestCudaNumArray();
34
arcaneTestCudaReduction();
35
arcaneTestCuda4();
36
return
0;
37
}
ArcaneGlobal.h
Fichier de configuration d'Arcane.
arcane
accelerator
cuda
runtime
TestCpp.cc
Généré le Lundi 18 Novembre 2024 03:00:14 pour Arcane par
1.9.8