Skip to content

Commit

Permalink
Fix more warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Batashev <[email protected]>
  • Loading branch information
Alexander Batashev committed Apr 15, 2020
1 parent 698d64f commit 1934262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sycl/include/CL/sycl/detail/cg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class interop_handler {
template <backend BackendName, typename DataT, int Dims,
access::mode AccessMode, access::target AccessTarget,
access::placeholder IsPlaceholder>
__SYCL_EXPORT auto
auto
getMemImpl(detail::Requirement *Req) const -> typename interop<
BackendName,
accessor<DataT, Dims, AccessMode, AccessTarget, IsPlaceholder>>::type {
Expand Down
2 changes: 1 addition & 1 deletion sycl/tools/get_device_count_by_type.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ int main(int argc, char *argv[]) {
} else if (backend == "cuda" || backend == "pi_cuda") {
querySuccess = queryCUDA(deviceType, deviceCount, msg);
} else {
msg + "ERROR: Unknown backend " + backend + "\n" + help + "\n";
msg = "ERROR: Unknown backend " + backend + "\n" + help + "\n";
}

std::cout << deviceCount << ":" << msg << std::endl;
Expand Down

0 comments on commit 1934262

Please sign in to comment.