{"action":"created","issue":{"url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/199","repository_url":"https://api.github.com/repos/arrayfire/arrayfire-python","labels_url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/199/comments","events_url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/199/events","html_url":"https://github.com/arrayfire/arrayfire-python/issues/199","id":393468321,"node_id":"MDU6SXNzdWUzOTM0NjgzMjE=","number":199,"title":"`bench_cg.py` fails with NVRTC Error","user":{"login":"tvandera","id":3993861,"node_id":"MDQ6VXNlcjM5OTM4NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/3993861?v=4","gravatar_id":"","url":"https://api.github.com/users/tvandera","html_url":"https://github.com/tvandera","followers_url":"https://api.github.com/users/tvandera/followers","following_url":"https://api.github.com/users/tvandera/following{/other_user}","gists_url":"https://api.github.com/users/tvandera/gists{/gist_id}","starred_url":"https://api.github.com/users/tvandera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvandera/subscriptions","organizations_url":"https://api.github.com/users/tvandera/orgs","repos_url":"https://api.github.com/users/tvandera/repos","events_url":"https://api.github.com/users/tvandera/events{/privacy}","received_events_url":"https://api.github.com/users/tvandera/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-21T13:59:26Z","updated_at":"2018-12-21T18:53:30Z","closed_at":null,"author_association":"NONE","body":"Running bench_cg. py from the examples, gives me this error:\r\n\r\n```\r\npython bench_cg.py\r\nArrayFire v3.6.2 (CUDA, 64-bit Linux, build dc38ef1)\r\nPlatform: CUDA Toolkit 10, Driver: 410.79\r\n[0] Tesla K80, 11442 MB, CUDA Compute 3.7\r\n-1- Tesla K80, 11442 MB, CUDA Compute 3.7\r\n-2- Tesla K80, 11442 MB, CUDA Compute 3.7\r\n-3- Tesla K80, 11442 MB, CUDA Compute 3.7\r\n\r\nTesting benchmark functions...\r\nTraceback (most recent call last):\r\n  File \"bench_cg.py\", line 197, in <module>\r\n    test()\r\n  File \"bench_cg.py\", line 144, in test\r\n    if af.sum(af.abs(x1 - x2)/x2 > 1e-6):\r\n  File \"/home/vanderaa/miniconda3/envs/arrayfire/lib/python3.7/site-packages/arrayfire/array.py\", line 894, in __truediv__\r\n    return _binary_func(self, other, backend.get().af_div)\r\n  File \"/home/vanderaa/miniconda3/envs/arrayfire/lib/python3.7/site-packages/arrayfire/array.py\", line 175, in _binary_func\r\n    safe_call(c_func(c_pointer(out.arr), lhs.arr, other.arr, _bcast_var.get()))\r\n  File \"/home/vanderaa/miniconda3/envs/arrayfire/lib/python3.7/site-packages/arrayfire/util.py\", line 79, in safe_call\r\n    raise RuntimeError(to_str(err_str))\r\nRuntimeError: In function std::vector<char> cuda::compileToPTX(const char*, std::string)\r\nIn file src/backend/cuda/jit.cpp:298\r\nNVRTC Error(6): NVRTC_ERROR_COMPILATION\r\n```\r\n\r\nSystem: Linux K80 4.15.0-1035-azure #36~16.04.1-Ubuntu SMP Fri Nov 30 15:25:49 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\npython --version: \r\nPython 3.7.1\r\n```\r\n$pip  show arrayfire\r\nName: arrayfire\r\nVersion: 3.6.20181017\r\nSummary: Python bindings for ArrayFire\r\nHome-page: http://arrayfire.com\r\nAuthor: Pavan Yalamanchili\r\nAuthor-email: contact@pavanky.com\r\nLicense: BSD\r\nLocation: /mnt/vanderaa/miniconda3/envs/arrayfire/lib/python3.7/site-packages\r\nRequires:\r\nRequired-by:\r\n```"},"comment":{"url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/comments/449469568","html_url":"https://github.com/arrayfire/arrayfire-python/issues/199#issuecomment-449469568","issue_url":"https://api.github.com/repos/arrayfire/arrayfire-python/issues/199","id":449469568,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTQ2OTU2OA==","user":{"login":"pavanky","id":364829,"node_id":"MDQ6VXNlcjM2NDgyOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/364829?v=4","gravatar_id":"","url":"https://api.github.com/users/pavanky","html_url":"https://github.com/pavanky","followers_url":"https://api.github.com/users/pavanky/followers","following_url":"https://api.github.com/users/pavanky/following{/other_user}","gists_url":"https://api.github.com/users/pavanky/gists{/gist_id}","starred_url":"https://api.github.com/users/pavanky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavanky/subscriptions","organizations_url":"https://api.github.com/users/pavanky/orgs","repos_url":"https://api.github.com/users/pavanky/repos","events_url":"https://api.github.com/users/pavanky/events{/privacy}","received_events_url":"https://api.github.com/users/pavanky/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T18:53:30Z","updated_at":"2018-12-21T18:53:30Z","author_association":"MEMBER","body":"@umar456 I thought this was fixed on 3.6 ?"}}
{"actor":{"display_login":"pavanky"}}