{"action":"opened","issue":{"url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/967","repository_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn","labels_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/967/labels{/name}","comments_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/967/comments","events_url":"https://api.github.com/repos/tiny-dnn/tiny-dnn/issues/967/events","html_url":"https://github.com/tiny-dnn/tiny-dnn/issues/967","id":334730590,"node_id":"MDU6SXNzdWUzMzQ3MzA1OTA=","number":967,"title":"Unclear how to use extensions","user":{"login":"han-so1omon","id":6857977,"node_id":"MDQ6VXNlcjY4NTc5Nzc=","avatar_url":"https://avatars1.githubusercontent.com/u/6857977?v=4","gravatar_id":"","url":"https://api.github.com/users/han-so1omon","html_url":"https://github.com/han-so1omon","followers_url":"https://api.github.com/users/han-so1omon/followers","following_url":"https://api.github.com/users/han-so1omon/following{/other_user}","gists_url":"https://api.github.com/users/han-so1omon/gists{/gist_id}","starred_url":"https://api.github.com/users/han-so1omon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/han-so1omon/subscriptions","organizations_url":"https://api.github.com/users/han-so1omon/orgs","repos_url":"https://api.github.com/users/han-so1omon/repos","events_url":"https://api.github.com/users/han-so1omon/events{/privacy}","received_events_url":"https://api.github.com/users/han-so1omon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-22T03:16:54Z","updated_at":"2018-06-22T03:16:54Z","closed_at":null,"author_association":"NONE","body":"What is the canonical way to include extensions (e.g. OpenCL, OpenMP, NNPACK, etc)? It is not clearly explained and is quite a headache. So far I have successfully been able to build (examples and all) and install. However, install process is making things a little wacky I guess. I assumed that once installing I wouldn't need to copy the entire tiny-dnn project into my package.\r\n\r\nThings like the `third_party/OpenCL` directory are referenced for headers if OpenCL is used. Shouldn't the include structure be more like `include <tiny_dnn/third_party/OpenCL/whatever.h>`. That way, header components necessary for third party extension could be installed in a consistent way.\r\n\r\nFrom the looks of your CMake styling, y'all know a lot more about this stuff than I do, so I could be entirely off-base. In any case I'd like to know the workaround. I would typically be down to contribute stuff like that, but I don't want to muck anything else up by naively redefining the headers."}}
{"actor":{"display_login":"han-so1omon"}}