cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

tomasheran
Journeyman III

Why does OpenCL on Linux need X?

Hi,

I was wondering why my GPU (Radeon HD 7790) isn't recognized as compute

device without X running on Linux? Sure, I can make it work, I can make

the X session fairly minimal (in terms of memory and other resources it

might consume), but I'd still appreciate if I did not have to deal with

X at all on the machine.

So, what's the reason? Is AMD planning to "fix" this?

Thanks!

T.

0 Likes
1 Reply
nou
Exemplar

Historical reasons. OpenCL is using GPU driver which is tightly coupled with X server.

Yes they are planning to fix it. You can now run OpenCL program as root without X server.