/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Development/architecture/gpu/platforms/amd.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2013-11-08 01:07:23 UTC
  • Revision ID: csa@dside.dyndns.org-20131108010723-gfaem1vwkt6262m1
virtualization mainly

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Setup
 
2
=====
 
3
 - Xorg should be running on all (!) cards which will be used for
 
4
 computing. To generate xconfig initializing all adapters:
 
5
    aticonfig --lsa
 
6
    aticonfig --initial --adapter=all
 
7
    
 
8
Monitoring
 
9
==========
 
10
    env DISPLAY=:0.0 aticonfig --adapter=0 --od-gettemperature
 
11
    env DISPLAY=:0.0 aticonfig --adapter=# --od-gettemperature
 
12
    env DISPLAY=:0.0 aticonfig --pplib-cmd "get fanspeed 0"
 
13
    env DISPLAY=:0.# aticonfig --pplib-cmd "get fanspeed 0"
 
14
 
 
15
 
 
16
Allowing normal users to use GPU Computing
 
17
==========================================
 
18
 - Xorg should be running on all considered graphic cards (like multiheaded 
 
19
 xorg setups)
 
20
 - In the Xsession (i.e. xdm session) we should execute
 
21
        xhost+
 
22
 For instance, in OpenSuSE 12.2 it may be added into the first lines of
 
23
        /etc/X11/xdm/Xsetup
 
24
 - X Forwarding should be enabled in the SSH session and users should set COMPUTE
 
25
 environmental variable:
 
26
        ssh -X ipepdvcompute2 COMPUTE=:0 clinfo
 
27
 
 
28
Usage
 
29
=====
 
30
* Overlapping memory transfers, set environmental variable
 
31
    GPU_ASYNC_MEM_COPY=2 
 
32
 
 
33
* AMD p2rofiler will crash if multiple adapters are used
 
34
 
 
35
* LD_LIBRARY_PATH=/usr/lib64 ./amd_opencl_application
 
36
  or will crash otherwise
 
37
 
 
38
 
 
39
OpenCL bugs
 
40
===========
 
41
 - clCreateImage2D (APPSDK 2.7) will produce invalid context which will crawsh
 
42
 on access (but create terminates successfuly). Use clCreateImage instead.
 
43
 - oclFFT initializes forever (APPSDK 2.7) if shared context is used.