oneapi-src / oneapi-src/oneAPI-samples

PipeArray example is not runnable on Intel devcloud

Open
#1,563 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
1.2k
Forks
745
PR merge metrics
No merged PRs in 30d

Description

Summary

It seems that the tutorial in https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/C%2B%2BSYCL_FPGA/include
is not consistent with the latest dpc++ version

Version

icpx --version
Intel(R) oneAPI DPC++/C++ Compiler 2023.0.0 (2023.0.0.20221201)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /glob/development-tools/versions/oneapi/2023.0.1/oneapi/compiler/2023.0.0/linux/bin-llvm
Configuration file: /glob/development-tools/versions/oneapi/2023.0.1/oneapi/compiler/2023.0.0/linux/bin-llvm/../bin/icpx.cfg

Environment

Intel devcloud

Steps to reproduce

run the tutorial
https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/C%2B%2BSYCL_FPGA/Tutorials/DesignPatterns/pipe_array
on Intel devcloud

mkdir build
cd build
make

Observed behavior

image seems like `sycl::ext:: intel:: fpga_emulator_selector_v` couldn't be found

Expected behavior

should be able to run the PipeArray example

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the DirectProgramming/C++SYCL_FPGA/Tutorials/DesignPatterns/pipe_array tutorial on Intel devcloud and reproduce the failure with mkdir build, cd build, and make. Check how the example references sycl::ext::intel::fpga_emulator_selector_v; done means the PipeArray example builds and runs with the reported DPC++ version.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.