| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 | /* StarPU --- Runtime system for heterogeneous multicore architectures. * * Copyright (C) 2011  Institut National de Recherche en Informatique et Automatique * * StarPU is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or (at * your option) any later version. * * StarPU is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * See the GNU Lesser General Public License in COPYING.LGPL for more details. */static voidfoo(void){	abort(); /* STARPU_ABORT() */}static voidbar(struct starpu_task *task){	assert(task && task->cl); /* STARPU_ASSERT(task && task->cl) */}/* * STARPU_MIN */static intmin(int a, int b){	return a<b?a:b; /* return STARPU_MIN(a, b); */}static intmin2(int a, int b){	int res;	res = a<b?a:b; /* res = STARPU_MIN(a,b); */	return res;}static intmin3(int a, int b){	int res = a<b?a:b; /* int res = a<b?a:b; */	return res;}static intmin4(int a, int b){	return a>b?b:a; /* return STARPU_MIN(a,b); */}static intmin5(int a, int b){	int res;	res = a>b?b:a; /* res = STARPU_MIN(a,b); */}static intmin6(int a, int b){	int res = a>b?b:a; /* int res = STARPU_MIN(a, b); */	return res;}/* * STARPU_MAX */static intmax(int a, int b){	return a<b?b:a; /* return STARPU_MAX(a, b); */}static intmax2(int a, int b){	int res;	res = a<b?b:a; /* res = STARPU_MAX(a, b); */	return res;}static intmax3(int a, int b){	int res = a<b?b:a; /* int res = STARPU_MAX(a, b); */	return res;}static intmax4(int a, int b){	return a>b?a:b; /* return STARPU_MAX(a, b); */}static intmax5(int a, int b){	int res;	res = a>b?a:b; /* res = STARPU_MAX(a, b); */	return res;}static intmax6(int a, int b){	int res = a>b?a:b; /* int res = STARPU_MAX(a, b); */	return res;}
 |