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

[CODEGEN][SDACCEL] add support for specifying FPGA device name #1448

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

kazum
Copy link
Contributor

@kazum kazum commented Jul 18, 2018

This PR allows us to specify the FPGA device name with a target option.

@kazum
Copy link
Contributor Author

kazum commented Jul 18, 2018

@tqchen @masahi @nishi-t Can you please review this PR?

@@ -40,6 +40,8 @@ def check_device(device, host="llvm"):
b.asnumpy(), np.exp(a.asnumpy()), rtol=1e-5)

check_device("sdaccel")
Copy link
Contributor

@nishi-t nishi-t Jul 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the case which XCL_PLATFORM is not set and AWS_PLATFORM is set, dose the above check_device do same test of the following check_device? It may not occur problem but I leave the comment ;)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, sorry. On second thought, this may be needed for the test of fallback if not specified device. never mind my comment. Looks good to me.

@tqchen tqchen merged commit 4dff509 into apache:master Jul 18, 2018
@tqchen
Copy link
Member

tqchen commented Jul 18, 2018

thanks @kazum @nishi-t , this is now merged

@kazum kazum deleted the sdaccel-device-name branch July 21, 2018 14:16
sergei-mironov pushed a commit to sergei-mironov/tvm that referenced this pull request Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants