LLVM OpenMP 20.0.0git
|
#include <stdio.h>
#include <stdlib.h>
#include <omp.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | id |
Macros | |
#define | delay() usleep(10); |
#define | SIMD_LEN 4 |
Typedefs | |
typedef unsigned | u32 |
typedef long long | i64 |
typedef unsigned long long | u64 |
Enumerations | |
enum | sched { kmp_sch_static_balanced_chunked = 45 , kmp_sch_guided_simd = 46 , kmp_sch_runtime_simd = 47 , kmp_sch_static_balanced_chunked = 45 , kmp_sch_guided_simd = 46 , kmp_sch_runtime_simd = 47 , kmp_sch_static_balanced_chunked = 45 , kmp_sch_guided_simd = 46 , kmp_sch_runtime_simd = 47 , kmp_sch_static_balanced_chunked = 45 , kmp_sch_guided_simd = 46 , kmp_sch_runtime_simd = 47 } |
Functions | |
int | __kmpc_global_thread_num (id *) |
void | __kmpc_barrier (id *, int gtid) |
void | __kmpc_dispatch_init_4 (id *, int, enum sched, int, int, int, int) |
void | __kmpc_dispatch_init_8 (id *, int, enum sched, i64, i64, i64, i64) |
int | __kmpc_dispatch_next_4 (id *, int, void *, void *, void *, void *) |
int | __kmpc_dispatch_next_8 (id *, int, void *, void *, void *, void *) |
int | run_loop_64 (i64 loop_lb, i64 loop_ub, i64 loop_st, int loop_chunk) |
int | run_loop_32 (int loop_lb, int loop_ub, int loop_st, int loop_chunk) |
int | run_64 (int num_th) |
int | run_32 (int num_th) |
int | main () |
Variables | |
static id | loc = {0, 2, 0, 0, ";file;func;0;0;;"} |
static int | __kmp_hidden_helper_threads_num = 0 |
#define delay | ( | ) | usleep(10); |
Definition at line 16 of file kmp_sch_simd_guided.c.
#define SIMD_LEN 4 |
Definition at line 22 of file kmp_sch_simd_guided.c.
typedef long long i64 |
Definition at line 32 of file kmp_sch_simd_guided.c.
typedef unsigned u32 |
Definition at line 31 of file kmp_sch_simd_guided.c.
typedef unsigned long long u64 |
Definition at line 33 of file kmp_sch_simd_guided.c.
enum sched |
Definition at line 26 of file kmp_sch_simd_guided.c.
Referenced by run_loop_32(), and run_loop_64().
Referenced by run_loop_32().
Referenced by run_loop_64().
Referenced by run_loop_32().
Referenced by run_loop_64().
Definition at line 408 of file kmp_sch_simd_guided.c.
References __kmp_hidden_helper_threads_num, err, run_32(), and run_64().
Definition at line 387 of file kmp_sch_simd_guided.c.
References err, run_loop_32(), and SIMD_LEN.
Referenced by main().
Definition at line 366 of file kmp_sch_simd_guided.c.
References err, run_loop_64(), and SIMD_LEN.
Referenced by main().
Definition at line 211 of file kmp_sch_simd_guided.c.
References __kmp_hidden_helper_threads_num, __kmpc_barrier(), __kmpc_dispatch_init_4(), __kmpc_dispatch_next_4(), delay, err, i, kmp_sch_guided_simd, and loc.
Referenced by run_32().
Definition at line 56 of file kmp_sch_simd_guided.c.
References __kmp_hidden_helper_threads_num, __kmpc_barrier(), __kmpc_dispatch_init_8(), __kmpc_dispatch_next_8(), delay, err, i, kmp_sch_guided_simd, and loc.
Referenced by run_64().
|
static |
Definition at line 53 of file kmp_sch_simd_guided.c.
Referenced by main(), run_loop_32(), and run_loop_64().
Definition at line 50 of file kmp_sch_simd_guided.c.
Referenced by run_loop_32(), and run_loop_64().