FFmpeg
|
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "libavutil/log.h"
#include "libavutil/opencl.h"
#include "libavutil/avstring.h"
#include "cmdutils.h"
Go to the source code of this file.
Data Structures | |
struct | OpenCLDeviceBenchmark |
Macros | |
#define | OCLCHECK(method,...) |
#define | CREATEBUF(out, flags, size) |
#define | OPENCL_NB_ITER 5 |
Functions | |
static void | fill_rand_int (int *data, int n) |
static int64_t | run_opencl_bench (AVOpenCLExternalEnv *ext_opencl_env) |
static int | compare_ocl_device_desc (const void *a, const void *b) |
int | opt_opencl_bench (void *optctx, const char *opt, const char *arg) |
int | opt_opencl (void *optctx, const char *opt, const char *arg) |
Variables | |
const char * | ocl_bench_source |
#define OCLCHECK | ( | method, | |
... | |||
) |
Definition at line 95 of file cmdutils_opencl.c.
Referenced by run_opencl_bench().
Definition at line 106 of file cmdutils_opencl.c.
Referenced by run_opencl_bench().
#define OPENCL_NB_ITER 5 |
Definition at line 124 of file cmdutils_opencl.c.
Referenced by run_opencl_bench().
Definition at line 116 of file cmdutils_opencl.c.
Referenced by run_opencl_bench().
|
static |
Definition at line 125 of file cmdutils_opencl.c.
Referenced by opt_opencl_bench().
Definition at line 207 of file cmdutils_opencl.c.
Referenced by opt_opencl_bench().
Definition at line 214 of file cmdutils_opencl.c.
Definition at line 267 of file cmdutils_opencl.c.
const char* ocl_bench_source |
Definition at line 35 of file cmdutils_opencl.c.
Referenced by run_opencl_bench().