- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Tags:
- DevCloud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @DeepikaGanga,
Thank you for posting in Intel community forum and hope all is well.
Noted on the inconvenient face, question if I may where did you got the Hough Transform code from? Are they from the link below?
- https://gitlab.devtools.intel.com/aberhe/Hough_Transform_on_FPGAs_Using_oneAPI
Hope to hear from you soon.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BB,
Thanks for your response. The code in your link looks similar, however I got it from the Jupyter oneAPI notebook from this link :
Regards,
Deepika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @DeepikaGanga,
Noted on the link provided, however the link seems to be routing to your account in jupyter (i.e. suspecting u149154 would be your account ID), the hough transform project should be clone from somewhere in this cases my guess would be the gitlab repo.
Anyway, as the project are being created by someone that are unknown to us, we would try our best to look into this, hence currently we are trying to get in touch with the repo owner to clarify further on the error seen.
Will keep you posted, and thank you for the patients.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BB,
Thanks for you response, sorry that you are not able to access my link.
But yes, I think it is a clone of some repo, maybe from your earlier link.
I was directed by someone to a github repository which seems to have a slightly different code including the fixes I mentioned earlier, but this file has many other changes as well. It is not clear how much of the changes need to be made to the Jupyter code in order for it to work. Here is the link to that file, hope this will be of some help.
https://github.com/intel/fpga-training/blob/main/fpga_oneapi_lab/lab/hough_transform_local_mem.cpp
Regards,
Deepika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you , that seems to have worked, here is the PASS status after adding the mkdir bin command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi BB,
I have another related question, please let me know if this needs to be raised as a separate ticket.
How do we ensure these files are updated with correct code in the Hough transform application in the Jupyter notebook? The changes I have made are in my local view and not reflected to the main repository.
Otherwise many users like me will be facing the same issue.
Regards,
Deepika
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is quite a bit of effort to solve a simple problem of creating a bin directory in the devcloud/jupyter environment. How do we fix the problem at the source? who exactly owns the fixing this issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @DeepikaGanga/@Gouda_Sankanagouda,
Totally agreed that this should be fixed at the source, I did tried to look into the author of this repo, unfortunately it seems that user are no longer valid and currently I have escalated this to relevant team on getting inputs on how to position such repo, hope that clarify.
Good to know that it is working now, with the initial issues being resolved is this thread, it will be transitioned to community support for further help on doubts in this thread.
Thank you for the questions and as always pleasure having you here.
Best Wishes
BB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did it work when you made changes in line 9 and 72-76 or when you kept the original code?
I have added ! media bin, im still getting a fatal error that says: CL/sycl/INTEL/fpga_extensions.hpp . file not found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I meant ! mkdir bin *

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page