{"action":"created","issue":{"url":"https://api.github.com/repos/BVLC/caffe/issues/2638","labels_url":"https://api.github.com/repos/BVLC/caffe/issues/2638/labels{/name}","comments_url":"https://api.github.com/repos/BVLC/caffe/issues/2638/comments","events_url":"https://api.github.com/repos/BVLC/caffe/issues/2638/events","html_url":"https://github.com/BVLC/caffe/issues/2638","id":90288429,"number":2638,"title":"Error compiling math_functions.cu(159)","user":{"login":"CDLuminate","id":5723047,"avatar_url":"https://avatars.githubusercontent.com/u/5723047?v=3","gravatar_id":"","url":"https://api.github.com/users/CDLuminate","html_url":"https://github.com/CDLuminate","followers_url":"https://api.github.com/users/CDLuminate/followers","following_url":"https://api.github.com/users/CDLuminate/following{/other_user}","gists_url":"https://api.github.com/users/CDLuminate/gists{/gist_id}","starred_url":"https://api.github.com/users/CDLuminate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CDLuminate/subscriptions","organizations_url":"https://api.github.com/users/CDLuminate/orgs","repos_url":"https://api.github.com/users/CDLuminate/repos","events_url":"https://api.github.com/users/CDLuminate/events{/privacy}","received_events_url":"https://api.github.com/users/CDLuminate/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T05:01:35Z","updated_at":"2015-07-30T01:38:39Z","closed_at":"2015-07-30T01:38:39Z","body":"When I'm building caffe with cuda, the process just halt here:\r\n```\r\n/usr/bin/nvcc -ccbin=g++ -Xcompiler -fPIC -DNDEBUG -O2 -I/usr/include/python2.7 -I/usr/lib/python2.7/dist-packages/numpy/core/include -I.build_release/src -I./src -I./include -I/usr/include -gencode arch=compute_20,code=sm_20 -gencode arch=compute_20,code=sm_21 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_50,code=compute_50 -c src/caffe/util/math_functions.cu -o .build_release/cuda/src/caffe/util/math_functions.o\r\n```\r\nand nvcc says\r\n```\r\nsrc/caffe/util/math_functions.cu(159): error: kernel launches from templates are not allowed in system files\r\n\r\n1 error detected in the compilation of \"/tmp/tmpxft_00001814_00000000-13_math_functions.cpp4.ii\".\r\n```\r\nand my cuda toolkit is `nvidia-cuda-toolkit 6.0.37-5 ` on Debian stable."},"comment":{"url":"https://api.github.com/repos/BVLC/caffe/issues/comments/126152655","html_url":"https://github.com/BVLC/caffe/issues/2638#issuecomment-126152655","issue_url":"https://api.github.com/repos/BVLC/caffe/issues/2638","id":126152655,"user":{"login":"pathak22","id":9029761,"avatar_url":"https://avatars.githubusercontent.com/u/9029761?v=3","gravatar_id":"","url":"https://api.github.com/users/pathak22","html_url":"https://github.com/pathak22","followers_url":"https://api.github.com/users/pathak22/followers","following_url":"https://api.github.com/users/pathak22/following{/other_user}","gists_url":"https://api.github.com/users/pathak22/gists{/gist_id}","starred_url":"https://api.github.com/users/pathak22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pathak22/subscriptions","organizations_url":"https://api.github.com/users/pathak22/orgs","repos_url":"https://api.github.com/users/pathak22/repos","events_url":"https://api.github.com/users/pathak22/events{/privacy}","received_events_url":"https://api.github.com/users/pathak22/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T01:38:39Z","updated_at":"2015-07-30T01:38:39Z","body":"[caffe-users](https://groups.google.com/forum/#!forum/caffe-users) -- this issues tracker is primarily for Caffe development discussion. Thanks!"}}