{"action":"created","issue":{"url":"https://api.github.com/repos/gcp/leela-zero/issues/1679","repository_url":"https://api.github.com/repos/gcp/leela-zero","labels_url":"https://api.github.com/repos/gcp/leela-zero/issues/1679/labels{/name}","comments_url":"https://api.github.com/repos/gcp/leela-zero/issues/1679/comments","events_url":"https://api.github.com/repos/gcp/leela-zero/issues/1679/events","html_url":"https://github.com/gcp/leela-zero/issues/1679","id":346654848,"node_id":"MDU6SXNzdWUzNDY2NTQ4NDg=","number":1679,"title":"Run Leela(OpenCL Accleration) on Android","user":{"login":"uestccokey","id":7234924,"node_id":"MDQ6VXNlcjcyMzQ5MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7234924?v=4","gravatar_id":"","url":"https://api.github.com/users/uestccokey","html_url":"https://github.com/uestccokey","followers_url":"https://api.github.com/users/uestccokey/followers","following_url":"https://api.github.com/users/uestccokey/following{/other_user}","gists_url":"https://api.github.com/users/uestccokey/gists{/gist_id}","starred_url":"https://api.github.com/users/uestccokey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uestccokey/subscriptions","organizations_url":"https://api.github.com/users/uestccokey/orgs","repos_url":"https://api.github.com/users/uestccokey/repos","events_url":"https://api.github.com/users/uestccokey/events{/privacy}","received_events_url":"https://api.github.com/users/uestccokey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-08-01T15:37:21Z","updated_at":"2018-12-11T09:20:40Z","closed_at":null,"author_association":"NONE","body":"I compiled leela that support opencl acceleration and it can runs on Android.\r\n\r\nMy test phone is XiaoMi 4:\r\nCPU Snapdragon801(ARMv7a)\r\nGPU Adreno330\r\nAndroid 6.0.1\r\n\r\nBut when leela starts, I met an error after the tuner.\r\nAs follows:\r\n\r\n```\r\n1|root@cancro:/data/local # ./leela -g -w 57.gz\r\n./leela -g -w 57.gz\r\nUsing 2 thread(s).\r\nRNG seed: 14892193533682884522\r\nDetecting residual layers...v1...64 channels...5 blocks.\r\nInitializing OpenCL (autodetect precision).\r\nDetected 1 OpenCL platforms.\r\nPlatform version: OpenCL 1.2 QUALCOMM build: commit #ec93b97 changeid #I48a9d37399 Date: 11/17/16 Thu Local Branch:  Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.BF.1.1.3_RB1.06.00.01.181.013\r\nPlatform profile: EMBEDDED_PROFILE\r\nPlatform name:    QUALCOMM Snapdragon(TM)\r\nPlatform vendor:  QUALCOMM\r\nDevice ID:     0\r\nDevice name:   QUALCOMM Adreno(TM)\r\nDevice type:   GPU\r\nDevice vendor: QUALCOMM\r\nDevice driver: OpenCL 1.2 QUALCOMM build: commit #ec93b97 changeid #I48a9d37399 Date: 11/17/16 Thu Local Branch:  Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.BF.1.1.3_RB1.06.00.01.181.013 Compiler E031.29.00.00\r\nDevice speed:  1 MHz\r\nDevice cores:  4 CU\r\nDevice score:  112\r\nSelected platform: QUALCOMM Snapdragon(TM)\r\nSelected device: QUALCOMM Adreno(TM)\r\nwith OpenCL 1.2 capability.\r\n\r\nStarted OpenCL SGEMM tuner.\r\nWill try 290 valid configurations.\r\n(1/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=16 NDIMB=8 NDIMC=8 NWG=16 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 3.9311 ms (1.9 GFLOPS)\r\n(2/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=16 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 2.3685 ms (3.1 GFLOPS)\r\n(3/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=64 NDIMB=8 NDIMC=8 NWG=16 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 1.8636 ms (4.0 GFLOPS)\r\n(5/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 1.6544 ms (4.5 GFLOPS)\r\n(6/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=64 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 1.6239 ms (4.5 GFLOPS)\r\n(14/290) KWG=32 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 1.3377 ms (5.5 GFLOPS)\r\n(66/290) KWG=16 KWI=8 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 1.3036 ms (5.7 GFLOPS)\r\n(131/290) KWG=32 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=4 VWN=2 1.0925 ms (6.7 GFLOPS)\r\nWavefront/Warp size: 128\r\nMax workgroup size: 512\r\nMax workgroup dimensions: 512 512 512 \r\nDetected 1 OpenCL platforms.\r\nPlatform version: OpenCL 1.2 QUALCOMM build: commit #ec93b97 changeid #I48a9d37399 Date: 11/17/16 Thu Local Branch:  Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.BF.1.1.3_RB1.06.00.01.181.013\r\nPlatform profile: EMBEDDED_PROFILE\r\nPlatform name:    QUALCOMM Snapdragon(TM)\r\nPlatform vendor:  QUALCOMM\r\nDevice ID:     0\r\nDevice name:   QUALCOMM Adreno(TM)\r\nDevice type:   GPU\r\nDevice vendor: QUALCOMM\r\nDevice driver: OpenCL 1.2 QUALCOMM build: commit #ec93b97 changeid #I48a9d37399 Date: 11/17/16 Thu Local Branch:  Remote Branch: refs/tags/AU_LINUX_ANDROID_LA.BF.1.1.3_RB1.06.00.01.181.013 Compiler E031.29.00.00\r\nDevice speed:  1 MHz\r\nDevice cores:  4 CU\r\nDevice score:  112\r\nSelected platform: QUALCOMM Snapdragon(TM)\r\nSelected device: QUALCOMM Adreno(TM)\r\nwith OpenCL 1.2 capability.\r\n\r\nStarted OpenCL SGEMM tuner.\r\nWill try 290 valid configurations.\r\n(1/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=16 NDIMB=8 NDIMC=8 NWG=16 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 3.5789 ms (2.1 GFLOPS)\r\n(2/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=16 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 2.6663 ms (2.8 GFLOPS)\r\n(3/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=64 NDIMB=8 NDIMC=8 NWG=16 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 2.2868 ms (3.2 GFLOPS)\r\n(4/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=16 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 2.2634 ms (3.3 GFLOPS)\r\n(5/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 1.7092 ms (4.3 GFLOPS)\r\n(66/290) KWG=16 KWI=8 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=2 VWN=2 1.5332 ms (4.8 GFLOPS)\r\n(125/290) KWG=16 KWI=2 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=4 VWN=2 1.3404 ms (5.5 GFLOPS)\r\n(164/290) KWG=32 KWI=8 MDIMA=8 MDIMC=8 MWG=32 NDIMB=8 NDIMC=8 NWG=32 SA=1 SB=1 STRM=0 STRN=0 VWM=4 VWN=2 1.1030 ms (6.7 GFLOPS)\r\nWavefront/Warp size: 128\r\nMax workgroup size: 512\r\nMax workgroup dimensions: 512 512 512 \r\nBLAS Core: ARMV7\r\nError in convolve3: clEnqueueNDRangeKernel: -54\r\nError in convolve3: clEnqueueNDRangeKernel: -54\r\nterminating with uncaught exception of type cl::Error: clEnqueueNDRangeKernel\r\n/buildbot/src/android/ndk-release-r17/external/libcxx/../../external/libcxxabi/src/abort_message.cpp:73: abort_message: assertion \"terminating with uncaught exception of type cl::Error: clEnqueueNDRangeKernel\" failed\r\n[1] + Stopped (signal)     ./leela -g -w 57.gz \r\nroot@cancro:/data/local # \r\n```\r\n\r\n**Can anyone help me?**\r\n\r\nIt's my compiled leela\r\nhttps://drive.google.com/open?id=1sqyenhTNfv-Eshb0yD4LbV0b1ORa8oTO\r\n\r\nand It's my app AQGO(with leela not acceleration)\r\nhttps://drive.google.com/open?id=1mmFpi_ia8SiWoDqINCQfREuw3vXJPB_p\r\n![device-2018-08-01-232346](https://user-images.githubusercontent.com/7234924/43531779-1f2ff170-95e3-11e8-9291-9264e1e973c1.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gcp/leela-zero/issues/comments/446129702","html_url":"https://github.com/gcp/leela-zero/issues/1679#issuecomment-446129702","issue_url":"https://api.github.com/repos/gcp/leela-zero/issues/1679","id":446129702,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjEyOTcwMg==","user":{"login":"uestccokey","id":7234924,"node_id":"MDQ6VXNlcjcyMzQ5MjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7234924?v=4","gravatar_id":"","url":"https://api.github.com/users/uestccokey","html_url":"https://github.com/uestccokey","followers_url":"https://api.github.com/users/uestccokey/followers","following_url":"https://api.github.com/users/uestccokey/following{/other_user}","gists_url":"https://api.github.com/users/uestccokey/gists{/gist_id}","starred_url":"https://api.github.com/users/uestccokey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uestccokey/subscriptions","organizations_url":"https://api.github.com/users/uestccokey/orgs","repos_url":"https://api.github.com/users/uestccokey/repos","events_url":"https://api.github.com/users/uestccokey/events{/privacy}","received_events_url":"https://api.github.com/users/uestccokey/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T09:20:40Z","updated_at":"2018-12-11T09:20:40Z","author_association":"NONE","body":"@y-ich \r\nI just installed your app on iphone6s.\r\nSome Chinese translations are not appropriate. I can provide some help if you need it.😆\r\nIn addition, Ah Q is also going to provide a Japanese version. Can you help me?\r\n"}}
{"actor":{"display_login":"uestccokey"}}