Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mali GPU does not support host unified memory in fact #53

Closed
DVEfremov opened this issue Feb 2, 2017 · 3 comments
Closed

Mali GPU does not support host unified memory in fact #53

DVEfremov opened this issue Feb 2, 2017 · 3 comments

Comments

@DVEfremov
Copy link

Step to reproduce:

  1. Apply PR add android cmake support over the BVLC/caffe opencl (issue #48) #50 and PR OpenCl kernel compilation errors for android #51 based on opencl branch to get android version of caffe binary with required libs

  2. run caffe time comand and got error


and strange artifacts on the screen while processing caffe command atleast for Galaxy Note 4 with Mali GPU:

I0202 16:24:37.476721  5890 common.cpp:405] Device id:                     0
I0202 16:24:37.476784  5890 common.cpp:407] Device backend:                OpenCL
I0202 16:24:37.476850  5890 common.cpp:409] Backend details:               ARM: OpenCL 1.1 
I0202 16:24:37.476951  5890 common.cpp:411] Device vendor:                 ARM
I0202 16:24:37.477020  5890 common.cpp:413] Name:                          Mali-T760
I0202 16:24:37.477088  5890 common.cpp:415] Total global memory:           2147483648

So as solution provide compilation param
DISABLE_DEVICE_HOST_UNIFIED_MEMORY
to force disabling support host unified memory

naibaf7 pushed a commit that referenced this issue Feb 2, 2017
- as solution provided compilation param
DISABLE_DEVICE_HOST_UNIFIED_MEMORY
to force disabling support host unified memory
naibaf7 added a commit that referenced this issue Feb 2, 2017
Mali GPU does not support host unified memory in fact #53
@DVEfremov
Copy link
Author

#54
merged to master so closing.

@bhack
Copy link

bhack commented Feb 3, 2017

But is Mali requiring CL_MEM_ALLOC_HOST_PTR ?

@bhack
Copy link

bhack commented Feb 3, 2017

@naibaf7 naibaf7/libdnn#17

naibaf7 pushed a commit that referenced this issue Feb 6, 2017
- missed changes to CMakeLists.txt for original issue
naibaf7 added a commit that referenced this issue Feb 6, 2017
Mali GPU does not support host unified memory in fact #53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants