/usr/include/starpu_cuda.h is in libstarpu-dev 0.9.1-3build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 42 43 44 45 46 47 | /* StarPU --- Runtime system for heterogeneous multicore architectures.
*
* Copyright (C) 2010-2011 Université de Bordeaux 1
* Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
*
* 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.
*/
#ifndef __STARPU_CUDA_H__
#define __STARPU_CUDA_H__
#ifdef STARPU_USE_CUDA
#include <cuda.h>
#include <cuda_runtime.h>
#include <cuda_runtime_api.h>
#include <cublas.h>
#include <starpu_config.h>
#ifdef __cplusplus
extern "C" {
#endif
void starpu_cublas_report_error(const char *func, cublasStatus status);
#define STARPU_CUBLAS_REPORT_ERROR(status) \
starpu_cublas_report_error(__starpu_func__, status)
void starpu_cuda_report_error(const char *func, cudaError_t status);
#define STARPU_CUDA_REPORT_ERROR(status) \
starpu_cuda_report_error(__starpu_func__, status)
cudaStream_t starpu_cuda_get_local_stream(void);
#ifdef __cplusplus
}
#endif
#endif /* STARPU_USE_CUDA */
#endif /* __STARPU_CUDA_H__ */
|