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 95f40da commit 29644f6Copy full SHA for 29644f6
1 file changed
stan/math/opencl/kernel_generator/operation_cl.hpp
@@ -61,7 +61,7 @@ struct kernel_parts {
61
args + other.args};
62
}
63
64
- kernel_parts operator+=(const kernel_parts& other) {
+ kernel_parts& operator+=(const kernel_parts& other) {
65
includes += other.includes;
66
declarations += other.declarations;
67
initialization += other.initialization;
@@ -75,7 +75,7 @@ struct kernel_parts {
75
76
};
77
78
-std::ostream& operator<<(std::ostream& os, kernel_parts& parts) {
+inline std::ostream& operator<<(std::ostream& os, kernel_parts& parts) {
79
os << "args:" << std::endl;
80
os << parts.args.substr(0, parts.args.size() - 2) << std::endl;
81
os << "Decl:" << std::endl;
0 commit comments