-
Notifications
You must be signed in to change notification settings - Fork 74
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
[HIPIFY] Hipfy-clang does not support Thrust APIs shipped with CUDA 8.0 #39
Comments
Could you please provide more information. 1. OS, 2. Clang version, 3. the whole command line, 3. the whole output log. Thanks. |
OS: 16.04.4 /usr/local/cuda-8.0/include/thrust/iterator/iterator_adaptor.h:187:5: error: expected member name or ';' after declaration specifiers define thrust_exec_check_disable #pragma hd_warning_disable
In file included from /home-nis/tsungyeh/DeepBench/code/nvidia/rnn_bench.cu.hipify-tmp:10: #define thrust_exec_check_disable #pragma hd_warning_disable [HIPIFY] info: file 'rnn_bench.cu' statistics: |
The same works for me (Ubuntu 16.04, clang 4.0.0, CUDA 8.0):
But it looks like you ran another source:
There were clang issues with some thrust versions, but I'd appreciate your sending me (via e-mail) the sources you have really run. |
Just to be clear, @emankov, this is a different benchmark than Interac. DeepBench is available on GitHub, my guess is that @b8875 was using this benchmark: https://github.com/baidu-research/DeepBench/blob/master/code/nvidia/rnn_bench.cu (@b8875, please confirm) Matt |
Well, command line contained interac.cu, but the log was taken from rnn_bench.cu. I'll have a look into it as well. thanks. |
I didn't catch that, good call. @b8875, is your command line a typo? Matt |
Yes, my command line is a typo. The correct command is rnn_bench.cu which is from DeepBench. https://github.com/baidu-research/DeepBench/tree/master/code/nvidia/rnn_bench.cu Tsung Tai |
Hi Tsung Tai and Matt,
I got cuDNN from https://developer.nvidia.com/rdp/cudnn-download, DeepBench - from https://github.com/baidu-research/DeepBench. Here is a command line: Similar command line should work on Linux.
|
I got the following error when I translated Deepbench cuda codes that contain thurst APIs.
/usr/local/cuda-8.0/include/thrust/detail/swap.h:25:1: error: expected unqualified-id
thrust_exec_check_disable
The text was updated successfully, but these errors were encountered: