Skip to content

Commit 1934262

Browse files
author
Alexander Batashev
committed
Fix more warnings
Signed-off-by: Alexander Batashev <alexander.batashev@intel.com>
1 parent 698d64f commit 1934262

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sycl/include/CL/sycl/detail/cg.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class interop_handler {
7878
template <backend BackendName, typename DataT, int Dims,
7979
access::mode AccessMode, access::target AccessTarget,
8080
access::placeholder IsPlaceholder>
81-
__SYCL_EXPORT auto
81+
auto
8282
getMemImpl(detail::Requirement *Req) const -> typename interop<
8383
BackendName,
8484
accessor<DataT, Dims, AccessMode, AccessTarget, IsPlaceholder>>::type {

sycl/tools/get_device_count_by_type.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ int main(int argc, char *argv[]) {
193193
} else if (backend == "cuda" || backend == "pi_cuda") {
194194
querySuccess = queryCUDA(deviceType, deviceCount, msg);
195195
} else {
196-
msg + "ERROR: Unknown backend " + backend + "\n" + help + "\n";
196+
msg = "ERROR: Unknown backend " + backend + "\n" + help + "\n";
197197
}
198198

199199
std::cout << deviceCount << ":" << msg << std::endl;

0 commit comments

Comments
 (0)