/usr/include/starpu/1.1/starpu.h is in libstarpu-dev 1.1.4+dfsg-3build2.
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | /* StarPU --- Runtime system for heterogeneous multicore architectures.
*
* Copyright (C) 2009-2014 Université de Bordeaux
* Copyright (C) 2010-2013 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_H__
#define __STARPU_H__
#include <stdlib.h>
#ifndef _MSC_VER
#include <stdint.h>
#else
#include <windows.h>
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef UINT_PTR uintptr_t;
#endif
#include <starpu_config.h>
#ifdef STARPU_HAVE_WINDOWS
#include <windows.h>
#endif
#if defined(STARPU_USE_OPENCL) && !defined(__CUDACC__)
#include <starpu_opencl.h>
#endif
#include <starpu_thread.h>
#include <starpu_thread_util.h>
#include <starpu_util.h>
#include <starpu_data.h>
#include <starpu_data_interfaces.h>
#include <starpu_data_filters.h>
#include <starpu_stdlib.h>
#include <starpu_perfmodel.h>
#include <starpu_worker.h>
#include <starpu_task.h>
#include <starpu_task_list.h>
#include <starpu_task_util.h>
#include <starpu_sched_ctx.h>
#include <starpu_expert.h>
#include <starpu_rand.h>
#include <starpu_cuda.h>
#include <starpu_cublas.h>
#include <starpu_bound.h>
#include <starpu_hash.h>
#include <starpu_profiling.h>
#include <starpu_top.h>
#include <starpu_fxt.h>
#include <starpu_driver.h>
#include <starpu_simgrid_wrap.h>
#ifdef __cplusplus
extern "C"
{
#endif
struct starpu_conf
{
int magic;
const char *sched_policy_name;
struct starpu_sched_policy *sched_policy;
int ncpus;
int ncuda;
int nopencl;
unsigned use_explicit_workers_bindid;
unsigned workers_bindid[STARPU_NMAXWORKERS];
unsigned use_explicit_workers_cuda_gpuid;
unsigned workers_cuda_gpuid[STARPU_NMAXWORKERS];
unsigned use_explicit_workers_opencl_gpuid;
unsigned workers_opencl_gpuid[STARPU_NMAXWORKERS];
int bus_calibrate;
int calibrate;
int single_combined_worker;
int disable_asynchronous_copy;
int disable_asynchronous_cuda_copy;
int disable_asynchronous_opencl_copy;
unsigned *cuda_opengl_interoperability;
unsigned n_cuda_opengl_interoperability;
struct starpu_driver *not_launched_drivers;
unsigned n_not_launched_drivers;
unsigned trace_buffer_size;
};
int starpu_conf_init(struct starpu_conf *conf);
int starpu_init(struct starpu_conf *conf) STARPU_WARN_UNUSED_RESULT;
void starpu_pause();
void starpu_resume();
void starpu_shutdown(void);
void starpu_topology_print(FILE *f);
int starpu_asynchronous_copy_disabled(void);
int starpu_asynchronous_cuda_copy_disabled(void);
int starpu_asynchronous_opencl_copy_disabled(void);
void starpu_display_stats();
void starpu_get_version(int *major, int *minor, int *release);
#ifdef __cplusplus
}
#endif
#include "starpu_deprecated_api.h"
#endif /* __STARPU_H__ */
|