{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/tvm/issues/934","repository_url":"https://api.github.com/repos/dmlc/tvm","labels_url":"https://api.github.com/repos/dmlc/tvm/issues/934/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/tvm/issues/934/comments","events_url":"https://api.github.com/repos/dmlc/tvm/issues/934/events","html_url":"https://github.com/dmlc/tvm/issues/934","id":300504508,"number":934,"title":"g++ error when building on ROCm","user":{"login":"yige-hu","id":5649050,"avatar_url":"https://avatars2.githubusercontent.com/u/5649050?v=4","gravatar_id":"","url":"https://api.github.com/users/yige-hu","html_url":"https://github.com/yige-hu","followers_url":"https://api.github.com/users/yige-hu/followers","following_url":"https://api.github.com/users/yige-hu/following{/other_user}","gists_url":"https://api.github.com/users/yige-hu/gists{/gist_id}","starred_url":"https://api.github.com/users/yige-hu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yige-hu/subscriptions","organizations_url":"https://api.github.com/users/yige-hu/orgs","repos_url":"https://api.github.com/users/yige-hu/repos","events_url":"https://api.github.com/users/yige-hu/events{/privacy}","received_events_url":"https://api.github.com/users/yige-hu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-27T06:05:57Z","updated_at":"2018-02-27T23:15:14Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Operating System: Ubuntu 16.04.3 LTS, Linux kernel 4.13.0\r\nGPU: AMD RX 580\r\nROCm backend.\r\n\r\nconfig.mk:\r\n```\r\nUSE_ROCM = 1\r\nROCM_PATH = /opt/rocm\r\nUSE_RPC = 1\r\nUSE_GRAPH_RUNTIME = 1                                                                                                                                                    \r\nUSE_MIOPEN = 1                                                                                                                                                           \r\nUSE_ROCBLAS = 1                                                                                                                                                          \r\n```\r\n\r\nError message:\r\n```\r\n~/tvm$ make\r\ng++-4.9 -std=c++11 -Wall -O2 -Iinclude -I/storage/home/yige/tvm/dlpack/include -I/storage/home/yige/tvm/dmlc-core/include -IHalideIR/src -Itopi/include -fPIC -DTVM_CUDA_RUNTIME=0 -I/opt/rocm//include -DTVM_ROCM_RUNTIME=1 -D__HIP_PLATFORM_HCC__=1 -DTVM_OPENCL_RUNTIME=0 -DTVM_VULKAN_RUNTIME=0 -DTVM_OPENGL_RUNTIME=0 -DTVM_METAL_RUNTIME=0 -DTVM_USE_MIOPEN=1 -DTVM_USE_ROCBLAS=1 -MM -MT build/api/api_lang.o src/api/api_lang.cc >build/api/api_lang.d\r\ng++-4.9 -c -std=c++11 -Wall -O2 -Iinclude -I/storage/home/yige/tvm/dlpack/include -I/storage/home/yige/tvm/dmlc-core/include -IHalideIR/src -Itopi/include -fPIC -DTVM_CUDA_RUNTIME=0 -I/opt/rocm//include -DTVM_ROCM_RUNTIME=1 -D__HIP_PLATFORM_HCC__=1 -DTVM_OPENCL_RUNTIME=0 -DTVM_VULKAN_RUNTIME=0 -DTVM_OPENGL_RUNTIME=0 -DTVM_METAL_RUNTIME=0 -DTVM_USE_MIOPEN=1 -DTVM_USE_ROCBLAS=1 -c src/api/api_lang.cc -o build/api/api_lang.o\r\nIn file included from src/api/api_lang.cc:13:0:\r\ninclude/tvm/build_module.h:43:57: error: converting to ‘const std::unordered_set<std::basic_string<char> >’ from initializer list would use explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred, _Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&) [with _Value = std::basic_string<char>; _Hash = std::hash<std::basic_string<char> >; _Pred = std::equal_to<std::basic_string<char> >; _Alloc = std::allocator<std::basic_string<char> >; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::hasher = std::hash<std::basic_string<char> >; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal = std::equal_to<std::basic_string<char> >; std::unordered_set<_Value, _Hash, _Pred, _Alloc>::allocator_type = std::allocator<std::basic_string<char> >]’\r\n          const std::unordered_set<std::string>& libs = {}) :\r\n                                                         ^\r\nMakefile:254: recipe for target 'build/api/api_lang.o' failed\r\nmake: *** [build/api/api_lang.o] Error 1\r\n```\r\n\r\nI appreciate your help!"},"comment":{"url":"https://api.github.com/repos/dmlc/tvm/issues/comments/369061766","html_url":"https://github.com/dmlc/tvm/issues/934#issuecomment-369061766","issue_url":"https://api.github.com/repos/dmlc/tvm/issues/934","id":369061766,"user":{"login":"tqchen","id":2577440,"avatar_url":"https://avatars3.githubusercontent.com/u/2577440?v=4","gravatar_id":"","url":"https://api.github.com/users/tqchen","html_url":"https://github.com/tqchen","followers_url":"https://api.github.com/users/tqchen/followers","following_url":"https://api.github.com/users/tqchen/following{/other_user}","gists_url":"https://api.github.com/users/tqchen/gists{/gist_id}","starred_url":"https://api.github.com/users/tqchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tqchen/subscriptions","organizations_url":"https://api.github.com/users/tqchen/orgs","repos_url":"https://api.github.com/users/tqchen/repos","events_url":"https://api.github.com/users/tqchen/events{/privacy}","received_events_url":"https://api.github.com/users/tqchen/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T23:15:14Z","updated_at":"2018-02-27T23:15:14Z","author_association":"OWNER","body":"Thanks for the fix"}}
{"actor":{"display_login":"tqchen"}}