Announcement

Collapse
No announcement yet.

AMD Evergreen Compute Support Lands Mainline

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    Originally posted by Pontostroy View Post
    I build all with this instruction, but all opencl-examples shows me
    Code:
     /home/downloads/git/opencl-example/hello_world 
    radeon: Failed to get PCI ID, error number -13
    There are 1 platforms.
    clGetDeviceIDs() failed: CL_DEVICE_NOT_FOUND
    I use hd6770 (juniper).
    In what may be the problem?


    libclc has same warnings at build time
    Code:
    LINK utils/prepare-builtins
    LLVM-CC r600--/lib/workitem/get_global_id
    LLVM-CC r600--/lib/workitem/get_global_size.cl.bc
    LLVM-CC r600--/lib/convert.cl.bc
    ./generic/lib/convert.cl:69:19: warning: shift count >= width of type [-Wshift-count-overflow]
      return l > ((1UL<<32)-1) ? ((1UL<<32)-1) : l;
                      ^ ~~
    ./generic/lib/convert.cl:69:35: warning: shift count >= width of type [-Wshift-count-overflow]
      return l > ((1UL<<32)-1) ? ((1UL<<32)-1) : l;
                                      ^ ~~
    2 warnings generated.
    LLVM-CC r600--/lib/geometric/cross.cl.bc
    LLVM-CC r600--/lib/geometric/dot.cl.bc
    LLVM-CC r600--/lib/geometric/length.cl.bc
    The code supports EVERGREEN (radeon HD 5xxx).
    You have NORTHERN ISLANDS (radeon HD 6xxx).

    Comment


    • #22
      Originally posted by droidhacker View Post
      The code supports EVERGREEN (radeon HD 5xxx).
      You have NORTHERN ISLANDS (radeon HD 6xxx).
      The code supports both evergreen and northern islands asics with the exception of cayman and trinity. Tom has preliminary code for those as well, but it hasn't been pushed yet.

      Comment

      Working...
      X