{"action":"created","comment":{"url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/comments/64086997","id":64086997,"diff_hunk":"@@ -2336,7 +2357,14 @@ void cudaF_replace_value(int Gr, int Bl, float *v, int dim, float orig, float ch\n void cudaF_set_bias_params(int Gr, int Bl, float* v, const float* a, float param_1, float param_2, float param_3, int* flag, int dim) {\n   _set_bias_params<<<Gr,Bl>>>(v,a,param_1,param_2,param_3,flag,dim);\n }\n-\n+void cublas_copy_kaldi_fd(int Gr, int Bl, int n, const float* x, \n+\t\tint incx, double* y, int incy){\n+  _copy_from_vec<<<Gr,Bl>>>(n,x,incx,y,incy);\n+}\n+void cublas_copy_kaldi_df(int Gr, int Bl, int n, const double* x, \n+\t\tint incx, float* y, int incy){\n+  _copy_from_vec<<<Gr,Bl>>>(n,x,incx,y,incy);\n+}\n void cudaF_copy_from_vec_df(int Gr, int Bl, double* v_out, const float* v_in, int dim) {\n   _copy_from_vec_df<<<Gr,Bl>>>(v_out,v_in,dim);","path":"src/cudamatrix/cu-kernels.cu","position":49,"original_position":49,"commit_id":"86cab1989351bae78ec56730b008f7df8ec32834","original_commit_id":"86cab1989351bae78ec56730b008f7df8ec32834","user":{"login":"danpovey","id":3298747,"avatar_url":"https://avatars.githubusercontent.com/u/3298747?v=3","gravatar_id":"","url":"https://api.github.com/users/danpovey","html_url":"https://github.com/danpovey","followers_url":"https://api.github.com/users/danpovey/followers","following_url":"https://api.github.com/users/danpovey/following{/other_user}","gists_url":"https://api.github.com/users/danpovey/gists{/gist_id}","starred_url":"https://api.github.com/users/danpovey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpovey/subscriptions","organizations_url":"https://api.github.com/users/danpovey/orgs","repos_url":"https://api.github.com/users/danpovey/repos","events_url":"https://api.github.com/users/danpovey/events{/privacy}","received_events_url":"https://api.github.com/users/danpovey/received_events","type":"User","site_admin":false},"body":"I don't see shy we need _copy_from_vec_df and so on... it's all templated on the types.","created_at":"2016-05-20T18:30:47Z","updated_at":"2016-05-20T18:30:47Z","html_url":"https://github.com/kaldi-asr/kaldi/pull/663#discussion_r64086997","pull_request_url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/663","_links":{"self":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/comments/64086997"},"html":{"href":"https://github.com/kaldi-asr/kaldi/pull/663#discussion_r64086997"},"pull_request":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/663"}}},"pull_request":{"url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/663","id":65392512,"html_url":"https://github.com/kaldi-asr/kaldi/pull/663","diff_url":"https://github.com/kaldi-asr/kaldi/pull/663.diff","patch_url":"https://github.com/kaldi-asr/kaldi/pull/663.patch","issue_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/663","number":663,"state":"open","locked":false,"title":"extend cublas_copy to support different types","user":{"login":"keli78","id":13988170,"avatar_url":"https://avatars.githubusercontent.com/u/13988170?v=3","gravatar_id":"","url":"https://api.github.com/users/keli78","html_url":"https://github.com/keli78","followers_url":"https://api.github.com/users/keli78/followers","following_url":"https://api.github.com/users/keli78/following{/other_user}","gists_url":"https://api.github.com/users/keli78/gists{/gist_id}","starred_url":"https://api.github.com/users/keli78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keli78/subscriptions","organizations_url":"https://api.github.com/users/keli78/orgs","repos_url":"https://api.github.com/users/keli78/repos","events_url":"https://api.github.com/users/keli78/events{/privacy}","received_events_url":"https://api.github.com/users/keli78/received_events","type":"User","site_admin":false},"body":"extend cublas_copy to support different types (e.g. float double mixtures)","created_at":"2016-04-06T00:15:13Z","updated_at":"2016-05-20T18:30:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"427a3311edb35b005000f9bab96fb2c676c71ba5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/663/commits","review_comments_url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/663/comments","review_comment_url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/663/comments","statuses_url":"https://api.github.com/repos/kaldi-asr/kaldi/statuses/86cab1989351bae78ec56730b008f7df8ec32834","head":{"label":"keli78:cublas_copy","ref":"cublas_copy","sha":"86cab1989351bae78ec56730b008f7df8ec32834","user":{"login":"keli78","id":13988170,"avatar_url":"https://avatars.githubusercontent.com/u/13988170?v=3","gravatar_id":"","url":"https://api.github.com/users/keli78","html_url":"https://github.com/keli78","followers_url":"https://api.github.com/users/keli78/followers","following_url":"https://api.github.com/users/keli78/following{/other_user}","gists_url":"https://api.github.com/users/keli78/gists{/gist_id}","starred_url":"https://api.github.com/users/keli78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keli78/subscriptions","organizations_url":"https://api.github.com/users/keli78/orgs","repos_url":"https://api.github.com/users/keli78/repos","events_url":"https://api.github.com/users/keli78/events{/privacy}","received_events_url":"https://api.github.com/users/keli78/received_events","type":"User","site_admin":false},"repo":{"id":41571469,"name":"kaldi","full_name":"keli78/kaldi","owner":{"login":"keli78","id":13988170,"avatar_url":"https://avatars.githubusercontent.com/u/13988170?v=3","gravatar_id":"","url":"https://api.github.com/users/keli78","html_url":"https://github.com/keli78","followers_url":"https://api.github.com/users/keli78/followers","following_url":"https://api.github.com/users/keli78/following{/other_user}","gists_url":"https://api.github.com/users/keli78/gists{/gist_id}","starred_url":"https://api.github.com/users/keli78/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keli78/subscriptions","organizations_url":"https://api.github.com/users/keli78/orgs","repos_url":"https://api.github.com/users/keli78/repos","events_url":"https://api.github.com/users/keli78/events{/privacy}","received_events_url":"https://api.github.com/users/keli78/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/keli78/kaldi","description":"This is now the official location of the Kaldi project.","fork":true,"url":"https://api.github.com/repos/keli78/kaldi","forks_url":"https://api.github.com/repos/keli78/kaldi/forks","keys_url":"https://api.github.com/repos/keli78/kaldi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keli78/kaldi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keli78/kaldi/teams","hooks_url":"https://api.github.com/repos/keli78/kaldi/hooks","issue_events_url":"https://api.github.com/repos/keli78/kaldi/issues/events{/number}","events_url":"https://api.github.com/repos/keli78/kaldi/events","assignees_url":"https://api.github.com/repos/keli78/kaldi/assignees{/user}","branches_url":"https://api.github.com/repos/keli78/kaldi/branches{/branch}","tags_url":"https://api.github.com/repos/keli78/kaldi/tags","blobs_url":"https://api.github.com/repos/keli78/kaldi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keli78/kaldi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keli78/kaldi/git/refs{/sha}","trees_url":"https://api.github.com/repos/keli78/kaldi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keli78/kaldi/statuses/{sha}","languages_url":"https://api.github.com/repos/keli78/kaldi/languages","stargazers_url":"https://api.github.com/repos/keli78/kaldi/stargazers","contributors_url":"https://api.github.com/repos/keli78/kaldi/contributors","subscribers_url":"https://api.github.com/repos/keli78/kaldi/subscribers","subscription_url":"https://api.github.com/repos/keli78/kaldi/subscription","commits_url":"https://api.github.com/repos/keli78/kaldi/commits{/sha}","git_commits_url":"https://api.github.com/repos/keli78/kaldi/git/commits{/sha}","comments_url":"https://api.github.com/repos/keli78/kaldi/comments{/number}","issue_comment_url":"https://api.github.com/repos/keli78/kaldi/issues/comments{/number}","contents_url":"https://api.github.com/repos/keli78/kaldi/contents/{+path}","compare_url":"https://api.github.com/repos/keli78/kaldi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keli78/kaldi/merges","archive_url":"https://api.github.com/repos/keli78/kaldi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keli78/kaldi/downloads","issues_url":"https://api.github.com/repos/keli78/kaldi/issues{/number}","pulls_url":"https://api.github.com/repos/keli78/kaldi/pulls{/number}","milestones_url":"https://api.github.com/repos/keli78/kaldi/milestones{/number}","notifications_url":"https://api.github.com/repos/keli78/kaldi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keli78/kaldi/labels{/name}","releases_url":"https://api.github.com/repos/keli78/kaldi/releases{/id}","deployments_url":"https://api.github.com/repos/keli78/kaldi/deployments","created_at":"2015-08-28T22:13:41Z","updated_at":"2016-02-01T17:43:49Z","pushed_at":"2016-05-19T19:07:58Z","git_url":"git://github.com/keli78/kaldi.git","ssh_url":"git@github.com:keli78/kaldi.git","clone_url":"https://github.com/keli78/kaldi.git","svn_url":"https://github.com/keli78/kaldi","homepage":"http://kaldi-asr.org","size":101344,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kaldi-asr:master","ref":"master","sha":"ae5bff6f1f5b0228bfb26a8727acaa939bb84eb8","user":{"login":"kaldi-asr","id":11650082,"avatar_url":"https://avatars.githubusercontent.com/u/11650082?v=3","gravatar_id":"","url":"https://api.github.com/users/kaldi-asr","html_url":"https://github.com/kaldi-asr","followers_url":"https://api.github.com/users/kaldi-asr/followers","following_url":"https://api.github.com/users/kaldi-asr/following{/other_user}","gists_url":"https://api.github.com/users/kaldi-asr/gists{/gist_id}","starred_url":"https://api.github.com/users/kaldi-asr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaldi-asr/subscriptions","organizations_url":"https://api.github.com/users/kaldi-asr/orgs","repos_url":"https://api.github.com/users/kaldi-asr/repos","events_url":"https://api.github.com/users/kaldi-asr/events{/privacy}","received_events_url":"https://api.github.com/users/kaldi-asr/received_events","type":"Organization","site_admin":false},"repo":{"id":34275045,"name":"kaldi","full_name":"kaldi-asr/kaldi","owner":{"login":"kaldi-asr","id":11650082,"avatar_url":"https://avatars.githubusercontent.com/u/11650082?v=3","gravatar_id":"","url":"https://api.github.com/users/kaldi-asr","html_url":"https://github.com/kaldi-asr","followers_url":"https://api.github.com/users/kaldi-asr/followers","following_url":"https://api.github.com/users/kaldi-asr/following{/other_user}","gists_url":"https://api.github.com/users/kaldi-asr/gists{/gist_id}","starred_url":"https://api.github.com/users/kaldi-asr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaldi-asr/subscriptions","organizations_url":"https://api.github.com/users/kaldi-asr/orgs","repos_url":"https://api.github.com/users/kaldi-asr/repos","events_url":"https://api.github.com/users/kaldi-asr/events{/privacy}","received_events_url":"https://api.github.com/users/kaldi-asr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaldi-asr/kaldi","description":"This is now the official location of the Kaldi project.","fork":false,"url":"https://api.github.com/repos/kaldi-asr/kaldi","forks_url":"https://api.github.com/repos/kaldi-asr/kaldi/forks","keys_url":"https://api.github.com/repos/kaldi-asr/kaldi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaldi-asr/kaldi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaldi-asr/kaldi/teams","hooks_url":"https://api.github.com/repos/kaldi-asr/kaldi/hooks","issue_events_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/events{/number}","events_url":"https://api.github.com/repos/kaldi-asr/kaldi/events","assignees_url":"https://api.github.com/repos/kaldi-asr/kaldi/assignees{/user}","branches_url":"https://api.github.com/repos/kaldi-asr/kaldi/branches{/branch}","tags_url":"https://api.github.com/repos/kaldi-asr/kaldi/tags","blobs_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaldi-asr/kaldi/statuses/{sha}","languages_url":"https://api.github.com/repos/kaldi-asr/kaldi/languages","stargazers_url":"https://api.github.com/repos/kaldi-asr/kaldi/stargazers","contributors_url":"https://api.github.com/repos/kaldi-asr/kaldi/contributors","subscribers_url":"https://api.github.com/repos/kaldi-asr/kaldi/subscribers","subscription_url":"https://api.github.com/repos/kaldi-asr/kaldi/subscription","commits_url":"https://api.github.com/repos/kaldi-asr/kaldi/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaldi-asr/kaldi/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaldi-asr/kaldi/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaldi-asr/kaldi/contents/{+path}","compare_url":"https://api.github.com/repos/kaldi-asr/kaldi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaldi-asr/kaldi/merges","archive_url":"https://api.github.com/repos/kaldi-asr/kaldi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaldi-asr/kaldi/downloads","issues_url":"https://api.github.com/repos/kaldi-asr/kaldi/issues{/number}","pulls_url":"https://api.github.com/repos/kaldi-asr/kaldi/pulls{/number}","milestones_url":"https://api.github.com/repos/kaldi-asr/kaldi/milestones{/number}","notifications_url":"https://api.github.com/repos/kaldi-asr/kaldi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaldi-asr/kaldi/labels{/name}","releases_url":"https://api.github.com/repos/kaldi-asr/kaldi/releases{/id}","deployments_url":"https://api.github.com/repos/kaldi-asr/kaldi/deployments","created_at":"2015-04-20T17:23:16Z","updated_at":"2016-05-20T13:48:04Z","pushed_at":"2016-05-20T18:24:48Z","git_url":"git://github.com/kaldi-asr/kaldi.git","ssh_url":"git@github.com:kaldi-asr/kaldi.git","clone_url":"https://github.com/kaldi-asr/kaldi.git","svn_url":"https://github.com/kaldi-asr/kaldi","homepage":"http://kaldi-asr.org","size":116652,"stargazers_count":649,"watchers_count":649,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":392,"mirror_url":null,"open_issues_count":62,"forks":392,"open_issues":62,"watchers":649,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/663"},"html":{"href":"https://github.com/kaldi-asr/kaldi/pull/663"},"issue":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/issues/663"},"comments":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/issues/663/comments"},"review_comments":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/663/comments"},"review_comment":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/pulls/663/commits"},"statuses":{"href":"https://api.github.com/repos/kaldi-asr/kaldi/statuses/86cab1989351bae78ec56730b008f7df8ec32834"}}}}
{"actor":{"display_login":"danpovey"}}