Skip to content

Commit

Permalink
gpu: sycl: fix signed-unsigned comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
spalicki committed Sep 25, 2024
1 parent 775f015 commit 2dbda90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpu/intel/sycl/engine.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class engine_t : public gpu::intel::compute::compute_engine_t {
CHECK(gpu::intel::sycl::compat::make_kernels(
sycl_kernels, kernel_names, this, binary));

for (int i = 0; i < kernel_names.size(); i++) {
for (size_t i = 0; i < kernel_names.size(); i++) {
std::shared_ptr<gpu::intel::compute::kernel_impl_t> kernel_impl
= std::make_shared<sycl_interop_gpu_kernel_t>(
std::move(sycl_kernels[i]));
Expand Down

0 comments on commit 2dbda90

Please sign in to comment.