We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18696ab commit 1fa673bCopy full SHA for 1fa673b
sycl/include/CL/sycl/INTEL/fpga_reg.hpp
@@ -18,8 +18,8 @@ namespace INTEL {
18
// This function is intended for FPGA users to instruct the compiler to insert
19
// at least one register stage between the input and the return value.
20
template <typename _T>
21
-typename std::enable_if<std::is_trivially_copyable<T>::value, T>::type
22
-fpga_reg(T t) {
+typename std::enable_if<std::is_trivially_copyable<_T>::value, _T>::type
+fpga_reg(_T t) {
23
#if __has_builtin(__builtin_intel_fpga_reg)
24
return __builtin_intel_fpga_reg(t);
25
#else
0 commit comments