Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/OpenCL/include/CL/cl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5331,8 +5331,8 @@ class Program : public detail::Wrapper<cl_program>

#if defined(CL_VERSION_1_2)
inline Program linkProgram(
Program input1,
Program input2,
const Program& input1,
const Program& input2,
const char* options = NULL,
void (CL_CALLBACK * notifyFptr)(cl_program, void *) = NULL,
void* data = NULL,
Expand Down Expand Up @@ -5367,7 +5367,7 @@ inline Program linkProgram(
}

inline Program linkProgram(
VECTOR_CLASS<Program> inputPrograms,
const VECTOR_CLASS<Program>& inputPrograms,
const char* options = NULL,
void (CL_CALLBACK * notifyFptr)(cl_program, void *) = NULL,
void* data = NULL,
Expand Down Expand Up @@ -12792,7 +12792,7 @@ struct make_kernel :
{}

make_kernel(
const Kernel kernel) :
const Kernel& kernel) :
detail::functionImplementation_<
T0, T1, T2, T3,
T4, T5, T6, T7,
Expand Down
2 changes: 1 addition & 1 deletion src/utilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ inline vector<string> split_regex(const string& s, const string& separator="\\s+
std::sregex_token_iterator token(s.begin(), s.end()+1, rgx, -1), end;
while(token!=end) {
r.push_back(*token);
token++;
++token;
}
return r;
}
Expand Down