{"action":"created","issue":{"url":"https://api.github.com/repos/ARM-software/ComputeLibrary/issues/118","repository_url":"https://api.github.com/repos/ARM-software/ComputeLibrary","labels_url":"https://api.github.com/repos/ARM-software/ComputeLibrary/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/ARM-software/ComputeLibrary/issues/118/comments","events_url":"https://api.github.com/repos/ARM-software/ComputeLibrary/issues/118/events","html_url":"https://github.com/ARM-software/ComputeLibrary/issues/118","id":230898380,"number":118,"title":"Question on the sample code \"Multi-threading\"","user":{"login":"JasOnRadC1iFfe","id":5286913,"avatar_url":"https://avatars2.githubusercontent.com/u/5286913?v=3","gravatar_id":"","url":"https://api.github.com/users/JasOnRadC1iFfe","html_url":"https://github.com/JasOnRadC1iFfe","followers_url":"https://api.github.com/users/JasOnRadC1iFfe/followers","following_url":"https://api.github.com/users/JasOnRadC1iFfe/following{/other_user}","gists_url":"https://api.github.com/users/JasOnRadC1iFfe/gists{/gist_id}","starred_url":"https://api.github.com/users/JasOnRadC1iFfe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasOnRadC1iFfe/subscriptions","organizations_url":"https://api.github.com/users/JasOnRadC1iFfe/orgs","repos_url":"https://api.github.com/users/JasOnRadC1iFfe/repos","events_url":"https://api.github.com/users/JasOnRadC1iFfe/events{/privacy}","received_events_url":"https://api.github.com/users/JasOnRadC1iFfe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-24T01:55:02Z","updated_at":"2017-05-24T08:17:55Z","closed_at":"2017-05-24T02:34:52Z","body":"Here I want to use partial cores of my CPU. And I found the solution at Section Multi-threading. But here I can't find where this variable \"_threads\" comes from? Do you have any declaration for it? \r\n\r\n ![image](https://cloud.githubusercontent.com/assets/5286913/26383508/c0634166-4065-11e7-83a5-d6719ef5368e.png)\r\n"},"comment":{"url":"https://api.github.com/repos/ARM-software/ComputeLibrary/issues/comments/303652448","html_url":"https://github.com/ARM-software/ComputeLibrary/issues/118#issuecomment-303652448","issue_url":"https://api.github.com/repos/ARM-software/ComputeLibrary/issues/118","id":303652448,"user":{"login":"AnthonyARM","id":5241909,"avatar_url":"https://avatars3.githubusercontent.com/u/5241909?v=3","gravatar_id":"","url":"https://api.github.com/users/AnthonyARM","html_url":"https://github.com/AnthonyARM","followers_url":"https://api.github.com/users/AnthonyARM/followers","following_url":"https://api.github.com/users/AnthonyARM/following{/other_user}","gists_url":"https://api.github.com/users/AnthonyARM/gists{/gist_id}","starred_url":"https://api.github.com/users/AnthonyARM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnthonyARM/subscriptions","organizations_url":"https://api.github.com/users/AnthonyARM/orgs","repos_url":"https://api.github.com/users/AnthonyARM/repos","events_url":"https://api.github.com/users/AnthonyARM/events{/privacy}","received_events_url":"https://api.github.com/users/AnthonyARM/received_events","type":"User","site_admin":false},"created_at":"2017-05-24T08:17:55Z","updated_at":"2017-05-24T08:17:55Z","body":"You are right `_threads` is a private member of the class (It's the pool of threads), if you want to set the number of threads from your application you can do: \r\n```arm_compute::Scheduler::get().set_num_threads(num_threads);```\r\n\r\n[See documentation](https://arm-software.github.io/ComputeLibrary/v17.05/classarm__compute_1_1_c_p_p_scheduler.xhtml#ae9dc1846ff1612778bbac85d46344aef)"}}
{"actor":{"display_login":"AnthonyARM"}}