{"action":"created","comment":{"url":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/comments/39485239","id":39485239,"diff_hunk":"@@ -0,0 +1,143 @@\n+R\"(\n+/* ************************************************************************\n+* The MIT License (MIT)\n+* Copyright 2014-2015 weifengliu\n+*  Permission is hereby granted, free of charge, to any person obtaining a copy\n+*  of this software and associated documentation files (the \"Software\"), to deal\n+*  in the Software without restriction, including without limitation the rights\n+*  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+*  copies of the Software, and to permit persons to whom the Software is\n+*  furnished to do so, subject to the following conditions:\n+ \n+*  The above copyright notice and this permission notice shall be included in\n+*  all copies or substantial portions of the Software.\n+ \n+*  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+*  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+*  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+*  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+*  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+*  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+*  THE SOFTWARE.\n+* ************************************************************************ */\n+/* ************************************************************************\n+*  < A CUDA/OpenCL General Sparse Matrix-Matrix Multiplication Program >\n+*  \n+*  < See papers:\n+*  1. Weifeng Liu and Brian Vinter, \"A Framework for General Sparse \n+*      Matrix-Matrix Multiplication on GPUs and Heterogeneous \n+*      Processors,\" Journal of Parallel and Distributed Computing, 2015.\n+*  2. Weifeng Liu and Brian Vinter, \"An Efficient GPU General Sparse\n+*      Matrix-Matrix Multiplication for Irregular Data,\" Parallel and\n+*      Distributed Processing Symposium, 2014 IEEE 28th International\n+*      (IPDPS '14), pp.370-381, 19-23 May 2014.\n+*  for details. >\n+* ************************************************************************ */ \n+","path":"src/library/kernels/SpGEMM_copyCt2C_kernels.cl","position":36,"original_position":36,"commit_id":"a17a3d94bdfdfe866fdbcbec2a2ee6177e75f3dd","original_commit_id":"a17a3d94bdfdfe866fdbcbec2a2ee6177e75f3dd","user":{"login":"jpola","id":1247671,"avatar_url":"https://avatars.githubusercontent.com/u/1247671?v=3","gravatar_id":"","url":"https://api.github.com/users/jpola","html_url":"https://github.com/jpola","followers_url":"https://api.github.com/users/jpola/followers","following_url":"https://api.github.com/users/jpola/following{/other_user}","gists_url":"https://api.github.com/users/jpola/gists{/gist_id}","starred_url":"https://api.github.com/users/jpola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpola/subscriptions","organizations_url":"https://api.github.com/users/jpola/orgs","repos_url":"https://api.github.com/users/jpola/repos","events_url":"https://api.github.com/users/jpola/events{/privacy}","received_events_url":"https://api.github.com/users/jpola/received_events","type":"User","site_admin":false},"body":"I would suggest to change #define declarations to the style we currently have. This will make our code consistent. ","created_at":"2015-09-15T08:23:35Z","updated_at":"2015-09-15T08:23:35Z","html_url":"https://github.com/clMathLibraries/clSPARSE/pull/150#discussion_r39485239","pull_request_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/150","_links":{"self":{"href":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/comments/39485239"},"html":{"href":"https://github.com/clMathLibraries/clSPARSE/pull/150#discussion_r39485239"},"pull_request":{"href":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/150"}}},"pull_request":{"url":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/150","id":44961936,"html_url":"https://github.com/clMathLibraries/clSPARSE/pull/150","diff_url":"https://github.com/clMathLibraries/clSPARSE/pull/150.diff","patch_url":"https://github.com/clMathLibraries/clSPARSE/pull/150.patch","issue_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/150","number":150,"state":"open","locked":false,"title":"SpMxSpM Single Precision CSR format functionality added","user":{"login":"kvaragan","id":12621912,"avatar_url":"https://avatars.githubusercontent.com/u/12621912?v=3","gravatar_id":"","url":"https://api.github.com/users/kvaragan","html_url":"https://github.com/kvaragan","followers_url":"https://api.github.com/users/kvaragan/followers","following_url":"https://api.github.com/users/kvaragan/following{/other_user}","gists_url":"https://api.github.com/users/kvaragan/gists{/gist_id}","starred_url":"https://api.github.com/users/kvaragan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvaragan/subscriptions","organizations_url":"https://api.github.com/users/kvaragan/orgs","repos_url":"https://api.github.com/users/kvaragan/repos","events_url":"https://api.github.com/users/kvaragan/events{/privacy}","received_events_url":"https://api.github.com/users/kvaragan/received_events","type":"User","site_admin":false},"body":"1.) SpMxSpM code added to the clSPARSE library\r\n2.) Benchmark code of SpMxSpM added\r\n3.) test-blas3.cpp - new TestCases added to test SpMxSpM,\r\n4.) Includes utility functions to fill CSR values with different types of values, for example random powers of 2. Used this utility to test SpMxSpM - perfectly matches with CPU implementation with no precision errors.\r\nNote: Benchmarks & test-blas3 only support Single Precision. Benchmarks only support square matrices.\r\n\r\n5.) \"ExternalMTX.cmake\" is modified to download benchmark matrices for SpMxSpM","created_at":"2015-09-14T18:11:37Z","updated_at":"2015-09-15T08:23:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ab318488df6c3f7723e734b63b8a1aebc3d1077e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/150/commits","review_comments_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/150/comments","review_comment_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/150/comments","statuses_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/statuses/a17a3d94bdfdfe866fdbcbec2a2ee6177e75f3dd","head":{"label":"kvaragan:kvaragan_MainMerge","ref":"kvaragan_MainMerge","sha":"a17a3d94bdfdfe866fdbcbec2a2ee6177e75f3dd","user":{"login":"kvaragan","id":12621912,"avatar_url":"https://avatars.githubusercontent.com/u/12621912?v=3","gravatar_id":"","url":"https://api.github.com/users/kvaragan","html_url":"https://github.com/kvaragan","followers_url":"https://api.github.com/users/kvaragan/followers","following_url":"https://api.github.com/users/kvaragan/following{/other_user}","gists_url":"https://api.github.com/users/kvaragan/gists{/gist_id}","starred_url":"https://api.github.com/users/kvaragan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvaragan/subscriptions","organizations_url":"https://api.github.com/users/kvaragan/orgs","repos_url":"https://api.github.com/users/kvaragan/repos","events_url":"https://api.github.com/users/kvaragan/events{/privacy}","received_events_url":"https://api.github.com/users/kvaragan/received_events","type":"User","site_admin":false},"repo":{"id":40226727,"name":"clSPARSE","full_name":"kvaragan/clSPARSE","owner":{"login":"kvaragan","id":12621912,"avatar_url":"https://avatars.githubusercontent.com/u/12621912?v=3","gravatar_id":"","url":"https://api.github.com/users/kvaragan","html_url":"https://github.com/kvaragan","followers_url":"https://api.github.com/users/kvaragan/followers","following_url":"https://api.github.com/users/kvaragan/following{/other_user}","gists_url":"https://api.github.com/users/kvaragan/gists{/gist_id}","starred_url":"https://api.github.com/users/kvaragan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvaragan/subscriptions","organizations_url":"https://api.github.com/users/kvaragan/orgs","repos_url":"https://api.github.com/users/kvaragan/repos","events_url":"https://api.github.com/users/kvaragan/events{/privacy}","received_events_url":"https://api.github.com/users/kvaragan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kvaragan/clSPARSE","description":"a software library containing Sparse functions written in OpenCL","fork":true,"url":"https://api.github.com/repos/kvaragan/clSPARSE","forks_url":"https://api.github.com/repos/kvaragan/clSPARSE/forks","keys_url":"https://api.github.com/repos/kvaragan/clSPARSE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kvaragan/clSPARSE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kvaragan/clSPARSE/teams","hooks_url":"https://api.github.com/repos/kvaragan/clSPARSE/hooks","issue_events_url":"https://api.github.com/repos/kvaragan/clSPARSE/issues/events{/number}","events_url":"https://api.github.com/repos/kvaragan/clSPARSE/events","assignees_url":"https://api.github.com/repos/kvaragan/clSPARSE/assignees{/user}","branches_url":"https://api.github.com/repos/kvaragan/clSPARSE/branches{/branch}","tags_url":"https://api.github.com/repos/kvaragan/clSPARSE/tags","blobs_url":"https://api.github.com/repos/kvaragan/clSPARSE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kvaragan/clSPARSE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kvaragan/clSPARSE/git/refs{/sha}","trees_url":"https://api.github.com/repos/kvaragan/clSPARSE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kvaragan/clSPARSE/statuses/{sha}","languages_url":"https://api.github.com/repos/kvaragan/clSPARSE/languages","stargazers_url":"https://api.github.com/repos/kvaragan/clSPARSE/stargazers","contributors_url":"https://api.github.com/repos/kvaragan/clSPARSE/contributors","subscribers_url":"https://api.github.com/repos/kvaragan/clSPARSE/subscribers","subscription_url":"https://api.github.com/repos/kvaragan/clSPARSE/subscription","commits_url":"https://api.github.com/repos/kvaragan/clSPARSE/commits{/sha}","git_commits_url":"https://api.github.com/repos/kvaragan/clSPARSE/git/commits{/sha}","comments_url":"https://api.github.com/repos/kvaragan/clSPARSE/comments{/number}","issue_comment_url":"https://api.github.com/repos/kvaragan/clSPARSE/issues/comments{/number}","contents_url":"https://api.github.com/repos/kvaragan/clSPARSE/contents/{+path}","compare_url":"https://api.github.com/repos/kvaragan/clSPARSE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kvaragan/clSPARSE/merges","archive_url":"https://api.github.com/repos/kvaragan/clSPARSE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kvaragan/clSPARSE/downloads","issues_url":"https://api.github.com/repos/kvaragan/clSPARSE/issues{/number}","pulls_url":"https://api.github.com/repos/kvaragan/clSPARSE/pulls{/number}","milestones_url":"https://api.github.com/repos/kvaragan/clSPARSE/milestones{/number}","notifications_url":"https://api.github.com/repos/kvaragan/clSPARSE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kvaragan/clSPARSE/labels{/name}","releases_url":"https://api.github.com/repos/kvaragan/clSPARSE/releases{/id}","created_at":"2015-08-05T05:40:37Z","updated_at":"2015-08-05T05:40:38Z","pushed_at":"2015-09-14T17:16:46Z","git_url":"git://github.com/kvaragan/clSPARSE.git","ssh_url":"git@github.com:kvaragan/clSPARSE.git","clone_url":"https://github.com/kvaragan/clSPARSE.git","svn_url":"https://github.com/kvaragan/clSPARSE","homepage":null,"size":1318,"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":"clMathLibraries:develop","ref":"develop","sha":"2d88c5a0419dd79b8bf2e91fe4b702d0c03889de","user":{"login":"clMathLibraries","id":5222571,"avatar_url":"https://avatars.githubusercontent.com/u/5222571?v=3","gravatar_id":"","url":"https://api.github.com/users/clMathLibraries","html_url":"https://github.com/clMathLibraries","followers_url":"https://api.github.com/users/clMathLibraries/followers","following_url":"https://api.github.com/users/clMathLibraries/following{/other_user}","gists_url":"https://api.github.com/users/clMathLibraries/gists{/gist_id}","starred_url":"https://api.github.com/users/clMathLibraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clMathLibraries/subscriptions","organizations_url":"https://api.github.com/users/clMathLibraries/orgs","repos_url":"https://api.github.com/users/clMathLibraries/repos","events_url":"https://api.github.com/users/clMathLibraries/events{/privacy}","received_events_url":"https://api.github.com/users/clMathLibraries/received_events","type":"Organization","site_admin":false},"repo":{"id":30902100,"name":"clSPARSE","full_name":"clMathLibraries/clSPARSE","owner":{"login":"clMathLibraries","id":5222571,"avatar_url":"https://avatars.githubusercontent.com/u/5222571?v=3","gravatar_id":"","url":"https://api.github.com/users/clMathLibraries","html_url":"https://github.com/clMathLibraries","followers_url":"https://api.github.com/users/clMathLibraries/followers","following_url":"https://api.github.com/users/clMathLibraries/following{/other_user}","gists_url":"https://api.github.com/users/clMathLibraries/gists{/gist_id}","starred_url":"https://api.github.com/users/clMathLibraries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clMathLibraries/subscriptions","organizations_url":"https://api.github.com/users/clMathLibraries/orgs","repos_url":"https://api.github.com/users/clMathLibraries/repos","events_url":"https://api.github.com/users/clMathLibraries/events{/privacy}","received_events_url":"https://api.github.com/users/clMathLibraries/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/clMathLibraries/clSPARSE","description":"a software library containing Sparse functions written in OpenCL","fork":false,"url":"https://api.github.com/repos/clMathLibraries/clSPARSE","forks_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/forks","keys_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/teams","hooks_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/hooks","issue_events_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/events{/number}","events_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/events","assignees_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/assignees{/user}","branches_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/branches{/branch}","tags_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/tags","blobs_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/git/refs{/sha}","trees_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/statuses/{sha}","languages_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/languages","stargazers_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/stargazers","contributors_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/contributors","subscribers_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/subscribers","subscription_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/subscription","commits_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/commits{/sha}","git_commits_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/git/commits{/sha}","comments_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/comments{/number}","issue_comment_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/comments{/number}","contents_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/contents/{+path}","compare_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/merges","archive_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/downloads","issues_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues{/number}","pulls_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls{/number}","milestones_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/milestones{/number}","notifications_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/labels{/name}","releases_url":"https://api.github.com/repos/clMathLibraries/clSPARSE/releases{/id}","created_at":"2015-02-17T04:11:03Z","updated_at":"2015-09-03T09:17:40Z","pushed_at":"2015-09-14T18:11:39Z","git_url":"git://github.com/clMathLibraries/clSPARSE.git","ssh_url":"git@github.com:clMathLibraries/clSPARSE.git","clone_url":"https://github.com/clMathLibraries/clSPARSE.git","svn_url":"https://github.com/clMathLibraries/clSPARSE","homepage":null,"size":2169,"stargazers_count":20,"watchers_count":20,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":28,"forks":11,"open_issues":28,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/150"},"html":{"href":"https://github.com/clMathLibraries/clSPARSE/pull/150"},"issue":{"href":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/150"},"comments":{"href":"https://api.github.com/repos/clMathLibraries/clSPARSE/issues/150/comments"},"review_comments":{"href":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/150/comments"},"review_comment":{"href":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clMathLibraries/clSPARSE/pulls/150/commits"},"statuses":{"href":"https://api.github.com/repos/clMathLibraries/clSPARSE/statuses/a17a3d94bdfdfe866fdbcbec2a2ee6177e75f3dd"}}}}