SuperLU Distributed 8.2.1
Distributed memory sparse direct solver
gpu_wrapper.h File Reference

Wrappers for multiple types of GPUs. More...

Go to the source code of this file.

Macros

#define gpublasCheckErrors(fn)
 

Detailed Description

Wrappers for multiple types of GPUs.

Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)

All rights reserved.

The source code is distributed under BSD license, see the file License.txt at the top-level directory.

-- Distributed SuperLU routine (version 8.0) --
Lawrence Berkeley National Lab, Univ. of California Berkeley.
May 22, 2022

Macro Definition Documentation

◆ gpublasCheckErrors

#define gpublasCheckErrors (   fn)
Value:
do { \
gpublasStatus_t __err = fn; \
if (__err != GPUBLAS_STATUS_SUCCESS) { \
fprintf(stderr, "Fatal gpublas error: %d (at %s:%d)\n", \
(int)(__err), \
__FILE__, __LINE__); \
fprintf(stderr, "*** FAILED - ABORTING\n"); \
exit(1); \
} \
} while(0);