1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MATAIJCUSPARSE.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>MATAIJCUSPARSE</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.7.5 2017-01-01</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.7.5 v3.7.5 docs/manualpages/Mat/MATAIJCUSPARSE.html "><small>Report Typos and Errors</small></a></div>
<A NAME="MATAIJCUSPARSE"><H1>MATAIJCUSPARSE</H1></A>
MATMPIAIJCUSPARSE = "aijcusparse" = "mpiaijcusparse" - A matrix type to be used for sparse matrices. A matrix type type whose data resides on Nvidia GPUs. These matrices can be in either
CSR, ELL, or Hybrid format. The ELL and HYB formats require CUDA 4.2 or later.
All matrix calculations are performed on Nvidia GPUs using the CUSPARSE library.
<P>
This matrix type is identical to <A HREF="../Mat/MATSEQAIJCUSPARSE.html#MATSEQAIJCUSPARSE">MATSEQAIJCUSPARSE</A> when constructed with a single process communicator,
and MATMPIAIJCUSPARSE otherwise. As a result, for single process communicators,
<A HREF="../Mat/MatSeqAIJSetPreallocation.html#MatSeqAIJSetPreallocation">MatSeqAIJSetPreallocation</A> is supported, and similarly <A HREF="../Mat/MatMPIAIJSetPreallocation.html#MatMPIAIJSetPreallocation">MatMPIAIJSetPreallocation</A> is supported
for communicators controlling multiple processes. It is recommended that you call both of
the above preallocation routines for simplicity.
<P>
<H3><FONT COLOR="#CC3333">Options Database Keys</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-mat_type mpiaijcusparse </B></TD><TD>- sets the matrix type to "mpiaijcusparse" during a call to <A HREF="../Mat/MatSetFromOptions.html#MatSetFromOptions">MatSetFromOptions</A>()
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-mat_cusparse_storage_format csr </B></TD><TD>- sets the storage format of diagonal and off-diagonal matrices during a call to <A HREF="../Mat/MatSetFromOptions.html#MatSetFromOptions">MatSetFromOptions</A>(). Other options include ell (ellpack) or hyb (hybrid).
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-mat_cusparse_mult_diag_storage_format csr </B></TD><TD>- sets the storage format of diagonal matrix during a call to <A HREF="../Mat/MatSetFromOptions.html#MatSetFromOptions">MatSetFromOptions</A>(). Other options include ell (ellpack) or hyb (hybrid).
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-mat_cusparse_mult_offdiag_storage_format csr </B></TD><TD>- sets the storage format of off-diagonal matrix during a call to <A HREF="../Mat/MatSetFromOptions.html#MatSetFromOptions">MatSetFromOptions</A>(). Other options include ell (ellpack) or hyb (hybrid).
</TD></TR></TABLE>
<P>
<P>
.seealso: <A HREF="../Mat/MatCreateAIJCUSPARSE.html#MatCreateAIJCUSPARSE">MatCreateAIJCUSPARSE</A>(), <A HREF="../Mat/MATSEQAIJCUSPARSE.html#MATSEQAIJCUSPARSE">MATSEQAIJCUSPARSE</A>, <A HREF="../Mat/MatCreateSeqAIJCUSPARSE.html#MatCreateSeqAIJCUSPARSE">MatCreateSeqAIJCUSPARSE</A>(), <A HREF="../Mat/MatCUSPARSESetFormat.html#MatCUSPARSESetFormat">MatCUSPARSESetFormat</A>(), <A HREF="../Mat/MatCUSPARSEStorageFormat.html#MatCUSPARSEStorageFormat">MatCUSPARSEStorageFormat</A>, <A HREF="../Mat/MatCUSPARSEFormatOperation.html#MatCUSPARSEFormatOperation">MatCUSPARSEFormatOperation</A>
M
<P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/mat/impls/aij/mpi/mpicusparse/mpiaijcusparse.cu#MATAIJCUSPARSE">src/mat/impls/aij/mpi/mpicusparse/mpiaijcusparse.cu</A>
<BR><A HREF="./index.html">Index of all Mat routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|