File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
DirectProgramming/DPC++/DenseLinearAlgebra/simple-add/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,13 @@ int main() {
75
75
// Create device selector for the device of your interest.
76
76
#if FPGA_EMULATOR
77
77
// Intel extension: FPGA emulator selector on systems without FPGA card.
78
- const auto & selector = ext::intel::fpga_emulator_selector_v ;
78
+ ext::intel::fpga_emulator_selector selector ;
79
79
#elif FPGA
80
80
// Intel extension: FPGA selector on systems with FPGA card.
81
- const auto & selector = ext::intel::fpga_selector_v ;
81
+ ext::intel::fpga_selector selector ;
82
82
#else
83
83
// The default device selector will select the most performant device.
84
- const auto & selector = default_selector_v;
84
+ auto selector{ default_selector_v} ;
85
85
#endif
86
86
87
87
constexpr int value = 100000 ;
You can’t perform that action at this time.
0 commit comments