{"action":"opened","issue":{"url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/951","repository_url":"https://api.github.com/repos/xianyi/OpenBLAS","labels_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/951/labels{/name}","comments_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/951/comments","events_url":"https://api.github.com/repos/xianyi/OpenBLAS/issues/951/events","html_url":"https://github.com/xianyi/OpenBLAS/issues/951","id":173725365,"number":951,"title":"DTRMM doesn't give correct results","user":{"login":"Sbte","id":454803,"avatar_url":"https://avatars.githubusercontent.com/u/454803?v=3","gravatar_id":"","url":"https://api.github.com/users/Sbte","html_url":"https://github.com/Sbte","followers_url":"https://api.github.com/users/Sbte/followers","following_url":"https://api.github.com/users/Sbte/following{/other_user}","gists_url":"https://api.github.com/users/Sbte/gists{/gist_id}","starred_url":"https://api.github.com/users/Sbte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sbte/subscriptions","organizations_url":"https://api.github.com/users/Sbte/orgs","repos_url":"https://api.github.com/users/Sbte/repos","events_url":"https://api.github.com/users/Sbte/events{/privacy}","received_events_url":"https://api.github.com/users/Sbte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-29T08:44:25Z","updated_at":"2016-08-29T08:44:25Z","closed_at":null,"body":"DTRMM doesn't give correct results for me. I built with CMake on intel skylake, and managed to chase the calls down to\r\n\r\n```\r\ndtrmm_RNUN (args=0x7fffffffdb70, range_m=0x0, range_n=0x0, sa=0x7ffff3ffa000, sb=0x7ffff40fa000, \r\n    dummy=0) at OpenBLAS/driver/level3/trmm_R.c:65\r\n```\r\n\r\nI tested it on a random 10x10 matrix. I called it like this from a C program\r\n\r\n```\r\n    dtrmm_(\"Right\", \"U\", \"No transpose\", \"Non-unit\", &n, &n, &one, A, &n, X, &n);\r\n```\r\n\r\nThe residual when comparing to the correct result looks like.\r\n\r\n```\r\n0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 \r\n0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 \r\n0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 \r\n0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 -0.000000 0.000000 0.000000 \r\n0.000000 0.000000 0.000000 0.000000 -0.685723 -0.880845 -0.714575 0.161275 0.000000 -0.000000 \r\n0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 -0.000000 0.000000 -0.000000 \r\n0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 \r\n0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 \r\n0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 \r\n0.000000 0.000000 0.000000 0.000000 -0.533757 -0.751237 -0.555078 -0.153975 0.000000 0.000000\r\n```\r\n\r\nNot that this also happens with the version of OpenBLAS that comes with Ubuntu 16.04, which is how I found it."}}
{"actor":{"display_login":"Sbte"}}