2013-07-14 43 views
1

我在Linux上運行AMD Radeon GPU,並安裝了用於OpenCL(最新版本)的AMD SDK。AMD GPU僅在登錄時可用

現在,當我沒有通過GDM登錄時(當主X服務器沒有運行時),沒有AMD GPU可用,所有的計算都將由CPU完成。 當我通過GDM(主運行X服務器)登錄,當我列出了他們使用蟒蛇以下程序的GPU顯示(僅核心部分顯示):

for platform in cl.get_platforms(): 
    for device in platform.get_devices(): 
     print("===============================================================") 
     print("Platform name:", platform.name) 
     print("Platform profile:", platform.profile) 
     print("Platform vendor:", platform.vendor) 
     print("Platform version:", platform.version) 
     print("---------------------------------------------------------------") 
     print("Device name:", device.name) 
     print("Device type:", cl.device_type.to_string(device.type)) 
     print("Device memory: ", device.global_mem_size//1024//1024, 'MB') 
     print("Device max clock speed:", device.max_clock_frequency, 'MHz') 
     print("Device compute units:", device.max_compute_units) 

我的問題IST,無論是是否有可能在沒有運行X服務器(fglrx)的情況下使用AMD GPU?有沒有辦法做到這一點?

約翰

回答

1

參見如何訪問到遠程登錄,即使X服務器this tutorial

相關問題