Skip to content

Commit 1fa673b

Browse files
Fix a typo in fpga_reg.hpp
1 parent 18696ab commit 1fa673b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/include/CL/sycl/INTEL/fpga_reg.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ namespace INTEL {
1818
// This function is intended for FPGA users to instruct the compiler to insert
1919
// at least one register stage between the input and the return value.
2020
template <typename _T>
21-
typename std::enable_if<std::is_trivially_copyable<T>::value, T>::type
22-
fpga_reg(T t) {
21+
typename std::enable_if<std::is_trivially_copyable<_T>::value, _T>::type
22+
fpga_reg(_T t) {
2323
#if __has_builtin(__builtin_intel_fpga_reg)
2424
return __builtin_intel_fpga_reg(t);
2525
#else

0 commit comments

Comments
 (0)