Quote 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).