Arcane  4.2.3.0
Developer documentation
Loading...
Searching...
No Matches
TestSolverBuiltinInt32Int64.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/*---------------------------------------------------------------------------*/
9/*
10 * This file is based on the work on AMGCL library (version march 2026)
11 * which can be found at https://github.com/ddemidov/amgcl.
12 *
13 * Copyright (c) 2012-2022 Denis Demidov <dennis.demidov@gmail.com>
14 * SPDX-License-Identifier: MIT
15 */
16/*---------------------------------------------------------------------------*/
17/*---------------------------------------------------------------------------*/
18
19#include <gtest/gtest.h>
20
21#include "arccore/alina/BuiltinBackend.h"
22#include "arccore/accelerator/internal/Initializer.h"
23
24#include "TestSolverCommon.h"
25
26void _doTestSolverBuiltinInt32Int64(bool use_accelerator, Int32 max_allowed_thread)
27{
28 Accelerator::Initializer x(use_accelerator, max_allowed_thread);
29 test_backend< Alina::BuiltinBackend<double, Int32, Int64> >(Alina::AlinaContext{});
30}
31
32ARCCORE_ALINA_TEST_DO_TEST_ACCELERATOR(alina_test_solvers, test_builtin_backend_int32_int64, _doTestSolverBuiltinInt32Int64);