pxlu.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * StarPU
  3. * Copyright (C) INRIA 2008-2010 (see AUTHORS file)
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU Lesser General Public License as published by
  7. * the Free Software Foundation; either version 2.1 of the License, or (at
  8. * your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. *
  14. * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. */
  16. #ifndef __PXLU_H__
  17. #define __PXLU_H__
  18. /* for USE_CUDA */
  19. #include <starpu_config.h>
  20. #include <starpu.h>
  21. #include <common/blas.h>
  22. #include <starpu_mpi.h>
  23. #define BLAS3_FLOP(n1,n2,n3) \
  24. (2*((uint64_t)n1)*((uint64_t)n2)*((uint64_t)n3))
  25. starpu_data_handle STARPU_PLU(get_block_handle)(unsigned j, unsigned i);
  26. TYPE *STARPU_PLU(get_block)(unsigned j, unsigned i);
  27. starpu_data_handle STARPU_PLU(get_tmp_11_block_handle)(void);
  28. starpu_data_handle STARPU_PLU(get_tmp_12_block_handle)(unsigned j);
  29. starpu_data_handle STARPU_PLU(get_tmp_21_block_handle)(unsigned i);
  30. #endif // __PXLU_H__