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

[RUNTIME][OPENCL] Create program lazily when the program is built #1408

Merged
merged 1 commit into from
Jul 9, 2018

Conversation

kazum
Copy link
Contributor

@kazum kazum commented Jul 9, 2018

This PR adds multiple devices support for OpenCL FPGA runtime.

When creating programs for FPGAs, we have to specify which device is used to load the OpenCL binary. However, we don't know the target device at the initialization stage. This PR delays creating the program until the execution stage.

@tqchen tqchen merged commit 6f25848 into apache:master Jul 9, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants