{"action":"opened","issue":{"url":"https://api.github.com/repos/HPCE/hpce-2016-cw6/issues/23","repository_url":"https://api.github.com/repos/HPCE/hpce-2016-cw6","labels_url":"https://api.github.com/repos/HPCE/hpce-2016-cw6/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/HPCE/hpce-2016-cw6/issues/23/comments","events_url":"https://api.github.com/repos/HPCE/hpce-2016-cw6/issues/23/events","html_url":"https://github.com/HPCE/hpce-2016-cw6/issues/23","id":193650211,"number":23,"title":"Open CL setup within a class?","user":{"login":"sagarpatel9410","id":11628383,"avatar_url":"https://avatars.githubusercontent.com/u/11628383?v=3","gravatar_id":"","url":"https://api.github.com/users/sagarpatel9410","html_url":"https://github.com/sagarpatel9410","followers_url":"https://api.github.com/users/sagarpatel9410/followers","following_url":"https://api.github.com/users/sagarpatel9410/following{/other_user}","gists_url":"https://api.github.com/users/sagarpatel9410/gists{/gist_id}","starred_url":"https://api.github.com/users/sagarpatel9410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagarpatel9410/subscriptions","organizations_url":"https://api.github.com/users/sagarpatel9410/orgs","repos_url":"https://api.github.com/users/sagarpatel9410/repos","events_url":"https://api.github.com/users/sagarpatel9410/events{/privacy}","received_events_url":"https://api.github.com/users/sagarpatel9410/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-06T00:26:20Z","updated_at":"2016-12-06T00:26:20Z","closed_at":null,"body":"I am trying to add open cl code to aspects of the SupervisorDevice class, however I am running into the following error:\r\n\r\n`Command terminated by signal 11 `\r\n\r\nI have read that this is a segmentation fault of sorts which has been caused by making the kernel, context and queue member variables of the SupervisorDevice class. Is there an alternative to making these variables member variables which allows me call different opencl functions in different functions within the same class.\r\n\r\nFor example I would like to call `  queue.enqueueWriteBuffer();` in the constructor and maintain that queue in the function `onDeviceOutput()`"}}
{"actor":{"display_login":"sagarpatel9410"}}