Hough transform on Jupyter oneAPI DevCloud
The Hough Transform code in the Jupyter oneAPI notebook on DevCloud is not working. The source code stated in the below link has multiple compilation and linker issues:
Firstly the hough_transform.cpp has couple of compilation problems which I was able to address. With that the compilation is able to progress but there are some linker errors due to which I am unable to progress.
Details of the errors are as follows:
Compilation error:
src/original/hough_transform.cpp:8:10: fatal error: 'CL/sycl/INTEL/fpga_extensions.hpp' file not found
Fixes:
Line 9 changed from
#include <CL/sycl/INTEL/fpga_extensions.hpp>
to
#include <sycl/ext/intel/fpga_extensions.hpp>
Line 72 and 76 changed from
sycl::INTEL::
to
sycl::ext::intel::fpga…
Linker error:
## u149154 is performing Hough Transform compilation emulation notebook.
/usr/bin/ld: cannot open output file bin/hough_transform.emu: No such file or directory
dpcpp: error: linker command failed with exit code 1 (use -v to see invocation)
/bin/bash: bin/hough_transform.emu: No such file or directory
The ‘Device-Host Split’ file has similar issues which can be addressed in a similar way.
Hi @DeepikaGanga,
While we are waiting for the response from the repo owner.
The error mention that it seems it just missing the bin directory my guess.
Hence can you run the command (i.e. mkdir bin) to make the directory bin and proceed with the compilation.
Hope that clarify.
Best Wishes
BB