Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomestre committed Apr 17, 2024
1 parent 3f4a363 commit cc56c21
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions sycl/test-e2e/Graph/Inputs/kernel_bundle_spirv.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Tests importing a spirv kernel using sycl_ext_oneapi_kernel_compiler_spirv.
// The SPIR-V kernels are identical to the ones used in
// KernelCompiler/Kernels/kernels.spv
// Tests creating a node using a SPIR-V kernel imported with
// sycl_ext_oneapi_kernel_compiler_spirv. The SPIR-V kernels used in this test
// are identical to the ones used in KernelCompiler/Kernels/kernels.spv

#include "../graph_common.hpp"
#include <fstream>
Expand Down Expand Up @@ -28,7 +28,7 @@ loadKernelsFromFile(sycl::queue &Q, std::string FileName) {
}

int main(int, char **argv) {

const sycl::device Dev{sycl::default_selector_v};
const sycl::context Ctx{Dev};

Expand Down Expand Up @@ -75,7 +75,8 @@ int main(int, char **argv) {
CGH.set_arg(
0, input_buffer.get_access<sycl::access::mode::read>(CGH));
CGH.set_arg(
1, output_buffer2.get_access<sycl::access::mode::write>(CGH));
1,
output_buffer2.get_access<sycl::access::mode::write>(CGH));
CGH.parallel_for(sycl::range<1>{N}, kernel);
}));

Expand Down

0 comments on commit cc56c21

Please sign in to comment.