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] show correct device type name #1441

Merged
merged 2 commits into from
Jul 17, 2018

Conversation

kazum
Copy link
Contributor

@kazum kazum commented Jul 16, 2018

Show the correct OpenCL device type name in the output log. For example, we get the below output when we run TVM on AWS F1, but opencl(n) should be sdaccel(n) here.

$ python -m nose -vs tests/python/integration/test_ewise_fpga.py
test_ewise_fpga.test_exp ... [18:02:00] /home/centos/src/project_data/tvm/src/runtime/opencl/opencl_device_api.cc:255: Initialize OpenCL platform 'Xilinx'
[18:02:00] /home/centos/src/project_data/tvm/src/runtime/opencl/opencl_device_api.cc:276: opencl(0)='xilinx_aws-vu9p-f1_dynamic_5_0' cl_device_id=0x1c77c30
[18:02:00] /home/centos/src/project_data/tvm/src/runtime/opencl/opencl_device_api.cc:276: opencl(1)='xilinx_aws-vu9p-f1_dynamic_5_0' cl_device_id=0x1c73fc0
[18:02:00] /home/centos/src/project_data/tvm/src/runtime/opencl/opencl_device_api.cc:276: opencl(2)='xilinx_aws-vu9p-f1_dynamic_5_0' cl_device_id=0x1c76c30
[18:02:00] /home/centos/src/project_data/tvm/src/runtime/opencl/opencl_device_api.cc:276: opencl(3)='xilinx_aws-vu9p-f1_dynamic_5_0' cl_device_id=0x1c756f0

...

@tqchen
Copy link
Member

tqchen commented Jul 17, 2018

please request reviews from the reviewers

@kazum
Copy link
Contributor Author

kazum commented Jul 17, 2018

@tqchen @tmoreau89 @comaniac Can you please review this PR?

@tqchen
Copy link
Member

tqchen commented Jul 17, 2018

there is a bit problem with ci, please push to retrigger build

@tqchen tqchen merged commit 22ae645 into apache:master Jul 17, 2018
tqchen pushed a commit to tqchen/tvm that referenced this pull request Aug 4, 2018
sergei-mironov pushed a commit to sergei-mironov/tvm that referenced this pull request Aug 8, 2018
@kazum kazum deleted the opencl-device-name branch August 23, 2018 02:27
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.

2 participants