Skip to content

Commit 8e378fb

Browse files
Fix comment
1 parent 233aec9 commit 8e378fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oclhelpers.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void build(cl::Program &program, cl::Device &device);
3939
/*
4040
The program is compiled with the default device on default platform.
4141
Usage example:
42-
auto [platform, device, program] =
42+
auto [platform, device, context, program] =
4343
compile_file_with_defaults("kernel.cl");
4444
*/
4545
std::tuple<cl::Platform, cl::Device, cl::Context, cl::Program>
@@ -60,4 +60,4 @@ template <class... Ts> inline void set_args(cl::Kernel &k, const Ts &... args) {
6060
}
6161
std::string get_error_string(int error);
6262

63-
} // namespace oclhelpers
63+
} // namespace oclhelpers

0 commit comments

Comments
 (0)