{"action":"created","issue":{"url":"https://api.github.com/repos/nengo/nengo_ocl/issues/118","repository_url":"https://api.github.com/repos/nengo/nengo_ocl","labels_url":"https://api.github.com/repos/nengo/nengo_ocl/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/nengo/nengo_ocl/issues/118/comments","events_url":"https://api.github.com/repos/nengo/nengo_ocl/issues/118/events","html_url":"https://github.com/nengo/nengo_ocl/issues/118","id":173899917,"number":118,"title":"-1 in A stride1s in GEMV","user":{"login":"hunse","id":1952250,"avatar_url":"https://avatars.githubusercontent.com/u/1952250?v=3","gravatar_id":"","url":"https://api.github.com/users/hunse","html_url":"https://github.com/hunse","followers_url":"https://api.github.com/users/hunse/followers","following_url":"https://api.github.com/users/hunse/following{/other_user}","gists_url":"https://api.github.com/users/hunse/gists{/gist_id}","starred_url":"https://api.github.com/users/hunse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunse/subscriptions","organizations_url":"https://api.github.com/users/hunse/orgs","repos_url":"https://api.github.com/users/hunse/repos","events_url":"https://api.github.com/users/hunse/events{/privacy}","received_events_url":"https://api.github.com/users/hunse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-29T23:57:02Z","updated_at":"2016-08-30T18:24:53Z","closed_at":null,"body":"This is a strange bug that only seems to happen in Python 2, and only on some machines. It's been happening for a while, at least since the last release. I just never noticed it since it doesn't happen on my work computer.\r\n\r\nExample error:\r\n```\r\n===================================================== FAILURES =====================================================\r\n____________________________ test.nengo.networks.tests.test_actionselection.test_basic _____________________________\r\n\r\nSimulator = <class 'nengo_ocl.tests.conftest.OclSimulator'>\r\nplt = <nengo.utils.testing.Mock object at 0x7f57cd263f90>, seed = 1675708018\r\n\r\n    def test_basic(Simulator, plt, seed):\r\n        bg = nengo.networks.BasalGanglia(\r\n            dimensions=5, net=nengo.Network(seed=seed))\r\n        with bg:\r\n            input = nengo.Node([0.8, 0.4, 0.4, 0.4, 0.4], label=\"input\")\r\n            nengo.Connection(input, bg.input, synapse=None)\r\n            p = nengo.Probe(bg.output, synapse=0.01)\r\n    \r\n>       with Simulator(bg) as sim:\r\n\r\n../nengo/nengo/networks/tests/test_actionselection.py:14: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\nnengo_ocl/tests/conftest.py:13: in __init__\r\n    super(OclSimulator, self).__init__(*args, context=ctx, **kwargs)\r\nnengo_ocl/simulator.py:395: in __init__\r\n    self._plan.extend(self.plan_op_group(op_type, op_list))\r\nnengo_ocl/simulator.py:416: in plan_op_group\r\n    return getattr(self, 'plan_' + op_type.__name__)(ops)\r\nnengo_ocl/simulator.py:439: in plan_MultiDotInc\r\n    tag='c-beta-%d' % len(constant_bs))\r\nnengo_ocl/simulator.py:464: in _sig_gemv\r\n    Y_in=Y_in, gamma=gamma, tag=tag)\r\nnengo_ocl/clra_gemv.py:119: in __init__\r\n    self.plans = self.choose_plans()\r\nnengo_ocl/clra_gemv.py:1146: in choose_plans\r\n    return block_impl(self, list(range(len(self.Y))))\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \r\n\r\np = <nengo_ocl.clra_gemv.plan_block_gemv object at 0x7f57c208c550>, items = [0, 1, 2, 3, 4, 5, ...]\r\n\r\n    def block_impl(p, items):\r\n    \r\n        if p.clra_alpha is not None:\r\n            raise NotImplementedError()\r\n        if p.clra_gamma is not None:\r\n            raise NotImplementedError()\r\n        if p.clra_beta is not None:\r\n            raise NotImplementedError()\r\n        if p.cl_alpha is not None:\r\n            raise NotImplementedError()\r\n        if p.cl_beta is not None:\r\n            raise NotImplementedError()\r\n        if p.cl_gamma is not None:\r\n            raise NotImplementedError()\r\n        if not all(s == 1 for s in p.A.stride1s):\r\n>           raise NotImplementedError()\r\nE           NotImplementedError\r\n\r\nnengo_ocl/clra_gemv.py:847: NotImplementedError\r\n============================================== pytest-warning summary ==============================================\r\nWC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead.\r\n!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n=================================== 1 failed, 1 pytest-warnings in 2.14 seconds ====================================\r\n```"},"comment":{"url":"https://api.github.com/repos/nengo/nengo_ocl/issues/comments/243533385","html_url":"https://github.com/nengo/nengo_ocl/issues/118#issuecomment-243533385","issue_url":"https://api.github.com/repos/nengo/nengo_ocl/issues/118","id":243533385,"user":{"login":"hunse","id":1952250,"avatar_url":"https://avatars.githubusercontent.com/u/1952250?v=3","gravatar_id":"","url":"https://api.github.com/users/hunse","html_url":"https://github.com/hunse","followers_url":"https://api.github.com/users/hunse/followers","following_url":"https://api.github.com/users/hunse/following{/other_user}","gists_url":"https://api.github.com/users/hunse/gists{/gist_id}","starred_url":"https://api.github.com/users/hunse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunse/subscriptions","organizations_url":"https://api.github.com/users/hunse/orgs","repos_url":"https://api.github.com/users/hunse/repos","events_url":"https://api.github.com/users/hunse/events{/privacy}","received_events_url":"https://api.github.com/users/hunse/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T18:24:53Z","updated_at":"2016-08-30T18:24:53Z","body":"So do you think this is something we should worry about? That seems quite weird if they intentionally do that in dev versions. But if that's true, it might be something worth addressing."}}
{"actor":{"display_login":"hunse"}}