File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -535,6 +535,11 @@ PADDLE_DEFINE_EXPORTED_double(
535
535
" you should set FLAGS_local_exe_sub_scope_limit=-1. "
536
536
" The default value is 256 MBytes." );
537
537
538
+ PADDLE_DEFINE_EXPORTED_bool (
539
+ reader_queue_speed_test_mode, false ,
540
+ " If set true, the queue.pop will only get data from queue but not "
541
+ " remove the data from queue for speed testing" );
542
+
538
543
/* *
539
544
* MKLDNN related FLAG
540
545
* Name: use_mkldnn
Original file line number Diff line number Diff line change 32
32
#include " paddle/phi/core/ddim.h"
33
33
#include " pybind11/stl.h"
34
34
35
- PADDLE_DEFINE_EXPORTED_bool (
36
- reader_queue_speed_test_mode, false ,
37
- " If set true, the queue.pop will only get data from queue but not "
38
- " remove the data from queue for speed testing" );
35
+ DECLARE_bool (reader_queue_speed_test_mode);
39
36
40
37
// disable auto conversion to list in Python
41
38
PYBIND11_MAKE_OPAQUE (paddle::framework::LoDTensorArray);
You can’t perform that action at this time.
0 commit comments