{"action":"closed","issue":{"url":"https://api.github.com/repos/pocl/pocl/issues/267","labels_url":"https://api.github.com/repos/pocl/pocl/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/pocl/pocl/issues/267/comments","events_url":"https://api.github.com/repos/pocl/pocl/issues/267/events","html_url":"https://github.com/pocl/pocl/issues/267","id":111770785,"number":267,"title":"Kernel cache is not usable after first run.","user":{"login":"kraiskil","id":595342,"avatar_url":"https://avatars.githubusercontent.com/u/595342?v=3","gravatar_id":"","url":"https://api.github.com/users/kraiskil","html_url":"https://github.com/kraiskil","followers_url":"https://api.github.com/users/kraiskil/followers","following_url":"https://api.github.com/users/kraiskil/following{/other_user}","gists_url":"https://api.github.com/users/kraiskil/gists{/gist_id}","starred_url":"https://api.github.com/users/kraiskil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraiskil/subscriptions","organizations_url":"https://api.github.com/users/kraiskil/orgs","repos_url":"https://api.github.com/users/kraiskil/repos","events_url":"https://api.github.com/users/kraiskil/events{/privacy}","received_events_url":"https://api.github.com/users/kraiskil/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"franz","id":90404,"avatar_url":"https://avatars.githubusercontent.com/u/90404?v=3","gravatar_id":"","url":"https://api.github.com/users/franz","html_url":"https://github.com/franz","followers_url":"https://api.github.com/users/franz/followers","following_url":"https://api.github.com/users/franz/following{/other_user}","gists_url":"https://api.github.com/users/franz/gists{/gist_id}","starred_url":"https://api.github.com/users/franz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franz/subscriptions","organizations_url":"https://api.github.com/users/franz/orgs","repos_url":"https://api.github.com/users/franz/repos","events_url":"https://api.github.com/users/franz/events{/privacy}","received_events_url":"https://api.github.com/users/franz/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pocl/pocl/milestones/4","html_url":"https://github.com/pocl/pocl/milestones/0.12","labels_url":"https://api.github.com/repos/pocl/pocl/milestones/4/labels","id":1096623,"number":4,"title":"0.12","description":"Blockers for 0.12 release branching.","creator":{"login":"pjaaskel","id":1652632,"avatar_url":"https://avatars.githubusercontent.com/u/1652632?v=3","gravatar_id":"","url":"https://api.github.com/users/pjaaskel","html_url":"https://github.com/pjaaskel","followers_url":"https://api.github.com/users/pjaaskel/followers","following_url":"https://api.github.com/users/pjaaskel/following{/other_user}","gists_url":"https://api.github.com/users/pjaaskel/gists{/gist_id}","starred_url":"https://api.github.com/users/pjaaskel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjaaskel/subscriptions","organizations_url":"https://api.github.com/users/pjaaskel/orgs","repos_url":"https://api.github.com/users/pjaaskel/repos","events_url":"https://api.github.com/users/pjaaskel/events{/privacy}","received_events_url":"https://api.github.com/users/pjaaskel/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":20,"state":"open","created_at":"2015-05-05T10:29:42Z","updated_at":"2015-10-21T09:05:43Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-16T06:35:44Z","updated_at":"2015-10-21T09:05:43Z","closed_at":"2015-10-21T09:05:42Z","body":"The kernel cache isn't fully used for the second time a test is run. It seems to be fully available from third run onwards. \r\n\r\nThe last time the buildbot was passing kernel cache test was with ad0dc405df9, and on this commit the cache is used in full from 2nd run already.\r\n\r\nSample run:\r\n```\r\nkraiskil@notdroid:~/opencl/pocl$ mkdir cache\r\nkraiskil@notdroid:~/opencl/pocl$ export POCL_CACHE_DIR=$PWD/cache/\r\nkraiskil@notdroid:~/opencl/pocl$ time ./tests/kernel/.libs/kernel test_block\r\nRunning test test_block...\r\nop(1)=2.000000\r\nop(1)=2.000000\r\nop(1)=1.000000\r\nop(1)=2.000000\r\nOK\r\n\r\nreal\t0m4.425s\r\nuser\t0m3.465s\r\nsys\t0m0.175s\r\nkraiskil@notdroid:~/opencl/pocl$ time ./tests/kernel/.libs/kernel test_block\r\nRunning test test_block...\r\nop(1)=2.000000\r\nop(1)=2.000000\r\nop(1)=1.000000\r\nop(1)=2.000000\r\nOK\r\n\r\nreal\t0m2.123s\r\nuser\t0m1.995s\r\nsys\t0m0.080s\r\nkraiskil@notdroid:~/opencl/pocl$ time ./tests/kernel/.libs/kernel test_block\r\nRunning test test_block...\r\nop(1)=2.000000\r\nop(1)=2.000000\r\nop(1)=1.000000\r\nop(1)=2.000000\r\nOK\r\n\r\nreal\t0m0.538s\r\nuser\t0m0.465s\r\nsys\t0m0.035s\r\nkraiskil@notdroid:~/opencl/pocl$ time ./tests/kernel/.libs/kernel test_block\r\nRunning test test_block...\r\nop(1)=2.000000\r\nop(1)=2.000000\r\nop(1)=1.000000\r\nop(1)=2.000000\r\nOK\r\n\r\nreal\t0m0.542s\r\nuser\t0m0.465s\r\nsys\t0m0.030s\r\n```"}}