FLASH_type_defs.h

Go to the documentation of this file.
00001 /*
00002    libflame
00003    An object-based infrastructure for developing high-performance
00004    dense linear algebra libraries.
00005 
00006    Copyright (C) 2009, The University of Texas
00007 
00008    libflame is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU Lesser General Public License as
00010    published by the Free Software Foundation; either version 2.1 of
00011    the License, or (at your option) any later version.
00012 
00013    libflame is distributed in the hope that it will be useful, but
00014    WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00016    Lesser General Public License for more details.
00017 
00018    You should have received a copy of the GNU Lesser General Public
00019    License along with libflame; if you did not receive a copy, see
00020    http://www.gnu.org/licenses/.
00021 
00022    For more information, please contact us at flame@cs.utexas.edu or
00023    send mail to:
00024 
00025    Field G. Van Zee and/or
00026    Robert A. van de Geijn
00027    The University of Texas at Austin
00028    Department of Computer Sciences
00029    1 University Station C0500
00030    Austin TX 78712
00031 */
00032 
00033 #ifndef FLASH_TYPE_DEFS_H
00034 #define FLASH_TYPE_DEFS_H
00035 
00036 
00037 typedef struct FLASH_Obj_queue_s FLASH_Obj_queue;
00038 typedef struct FLASH_Obj_task_s  FLASH_Obj_task;
00039 
00040 
00041 struct FLASH_Obj_queue_s
00042 {
00043       // Number of tasks currently in queue
00044       int             n_tasks;
00045 
00046       // Pointers to head (front) and tail (back) of queue
00047       FLASH_Obj_task* head;
00048       FLASH_Obj_task* tail;
00049 };
00050 
00051 
00052 struct FLASH_Obj_task_s
00053 {
00054       // Axpy and Copy
00055       int             direction;      
00056       FLA_Obj         alpha;
00057 
00058       // Flat matrix
00059       FLA_Obj         F; 
00060 
00061       // Hierarchical matrix
00062       FLA_Obj         H;
00063 
00064       // Support for a doubly linked list of tasks
00065       FLASH_Obj_task* prev_task;
00066       FLASH_Obj_task* next_task;
00067 };
00068 
00069 
00070 #endif

Generated on Mon Jul 6 05:45:48 2009 for libflame by  doxygen 1.5.9