StarPU Internal Handbook
|
#include <common/config.h>
#include <starpu.h>
#include <sys/stat.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
Go to the source code of this file.
Functions | |
char * | _starpu_mkdtemp_internal (char *tmpl) |
char * | _starpu_mkdtemp (char *tmpl) |
int | _starpu_mkpath (const char *s, mode_t mode) |
void | _starpu_mkpath_and_check (const char *s, mode_t mode) |
char * | _starpu_mktemp (const char *directory, int flags, int *fd) |
char * | _starpu_mktemp_many (const char *directory, int depth, int flags, int *fd) |
void | _starpu_rmtemp_many (char *path, int depth) |
void | _starpu_rmdir_many (char *path, int depth) |
int | _starpu_fftruncate (FILE *file, size_t length) |
int | _starpu_ftruncate (int fd, size_t length) |
int | _starpu_frdlock (FILE *file) |
int | _starpu_frdunlock (FILE *file) |
int | _starpu_fwrlock (FILE *file) |
int | _starpu_fwrunlock (FILE *file) |
char * | _starpu_get_home_path (void) |
void | _starpu_gethostname (char *hostname, size_t size) |
void | _starpu_drop_comments (FILE *f) |
const char * | _starpu_job_get_model_name (struct _starpu_job *j) |
const char * | _starpu_job_get_task_name (struct _starpu_job *j) |
const char * | _starpu_codelet_get_model_name (struct starpu_codelet *cl) |
int | _starpu_check_mutex_deadlock (starpu_pthread_mutex_t *mutex) |
void | _starpu_util_init (void) |
char* _starpu_mktemp_many | ( | const char * | directory, |
int | depth, | ||
int | flags, | ||
int * | fd | ||
) |
This version creates a hierarchy of n temporary directories, useful when creating a lot of temporary files to be stored in the same place
void _starpu_drop_comments | ( | FILE * | f | ) |
If FILE is currently on a comment line, eat it.
const char* _starpu_job_get_model_name | ( | struct _starpu_job * | j | ) |
Returns the symbol associated to that job if any.
const char* _starpu_job_get_task_name | ( | struct _starpu_job * | j | ) |
Returns the name associated to that job if any.
const char* _starpu_codelet_get_model_name | ( | struct starpu_codelet * | cl | ) |
Returns the symbol associated to that job if any.