X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=thread_options.h;h=393e51ef976f5ead6d45afb3375678d9dc718556;hp=2b2df3384fb12f5c24c311f32bc259515919d439;hb=035538530f86a5b3ecb8c9d0ec031562ec9b6028;hpb=10c37df111032901e790cd57e7df43a42edd8ba8;ds=sidebyside diff --git a/thread_options.h b/thread_options.h index 2b2df338..393e51ef 100644 --- a/thread_options.h +++ b/thread_options.h @@ -20,6 +20,9 @@ enum fio_memtype { MEM_MMAP, /* use anonynomous mmap */ MEM_MMAPHUGE, /* memory mapped huge file */ MEM_MMAPSHARED, /* use mmap with shared flag */ +#ifdef CONFIG_CUDA + MEM_CUDA_MALLOC,/* use GPU memory */ +#endif }; #define ERROR_STR_MAX 128 @@ -198,6 +201,8 @@ struct thread_options { unsigned short numa_mem_mode; unsigned int numa_mem_prefer_node; char *numa_memnodes; + unsigned int gpu_dev_id; + unsigned int iolog; unsigned int rwmixcycle; unsigned int rwmix[DDIR_RWDIR_CNT];