projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gpu: kill a lot of useless ifdefs
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index 9aa452da0f0df58fd4bdb354275e4346a369a3a1..52a5f0301d196fe11b378fce6e59e41800745126 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-1070,6
+1070,9
@@
static void init_flags(struct thread_data *td)
if (o->verify_async || o->io_submit_mode == IO_MODE_OFFLOAD)
td->flags |= TD_F_NEED_LOCK;
+
+ if (o->mem_type == MEM_CUDA_MALLOC)
+ td->flags &= ~TD_F_SCRAMBLE_BUFFERS;
}
static int setup_random_seeds(struct thread_data *td)