Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POOL_LBUF_DEPTH for Xilinx Device #123

Open
WenyeLiu opened this issue Dec 3, 2019 · 3 comments
Open

POOL_LBUF_DEPTH for Xilinx Device #123

WenyeLiu opened this issue Dec 3, 2019 · 3 comments

Comments

@WenyeLiu
Copy link

WenyeLiu commented Dec 3, 2019

Hi, I am trying to build PipeCNN on Xilinx Device. However, the parameter POOL_LBUF_DEPTH required by conv_pipe_xilinx.cl has not defined in hw_param.cl. Any suggestion value for this parameter?

@WenyeLiu
Copy link
Author

WenyeLiu commented Dec 4, 2019

I have replaced the POOL_LBUF_DEPTH with POOL_MAX_SIZE and generated the conv.xclbin successfully. While I meet the following error when executing ./run.exe conv.xclbin ,

ERROR: Invalid scalar argument size, expected 4 got 1
ERROR: clSetKernelArg() for kernel "maxPool", argument index 0.

ERROR: CL_INVALID_ARG_SIZE
Location: host/main.cpp:898
Failed to set argument 0 of kernel pool

I am using the Xilinx Alevo U200 and SDAccel 2018.2

Any suggestion on this error?

@cococener
Copy link

I have replaced the POOL_LBUF_DEPTH with POOL_MAX_SIZE and generated the conv.xclbin successfully. While I meet the following error when executing ./run.exe conv.xclbin ,
ERROR: Invalid scalar argument size, expected 4 got 1
ERROR: clSetKernelArg() for kernel "maxPool", argument index 0.
ERROR: CL_INVALID_ARG_SIZE
Location: host/main.cpp:898
Failed to set argument 0 of kernel pool
I am using the Xilinx Alevo U200 and SDAccel 2018.2
Any suggestion on this error?

I want to know how you build it successfully?Because I build it failed,and the error is Unknown extension 'cl_intel_channels' - ignoring [-Wignored -pragmas];Unknown type name 'channel' .Then xilinx workers tells me that isn't a xilinx program,so the error occurs!Can you tell me how did you do?

@nazarihome
Copy link

@WenyeLiu and @cococener I was wondering if you could build it successfully for Xilinx device. I have been trying for quite some time to build it for U200 and no success yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants