PLASMA  2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
core_alloc.c
Go to the documentation of this file.
1 
14 #include <stdlib.h>
15 #include "common.h"
16 
17 /***************************************************************************/
20 void CORE_free_quark(Quark *quark)
21 {
22  void *A;
23 
24  quark_unpack_args_1(quark, A);
25  if (A != NULL)
26  free(A);
27 }
28 
29 /***************************************************************************/
32 void QUARK_CORE_free(Quark *quark, Quark_Task_Flags *task_flags, void *A, int szeA)
33 {
35  quark, CORE_free_quark, task_flags,
36  szeA, A, INOUT,
37  0);
38 }
39 
40 void CORE_foo_quark(Quark *quark) {
41  void *A;
42  quark_unpack_args_1(quark, A);
43 }
44 
45 void CORE_foo2_quark(Quark *quark) {
46  void *A, *B;
47  quark_unpack_args_2(quark, A, B);
48 }