2 Replies Latest reply on Feb 18, 2014 4:10 AM by developer

    clGetPlatformIDs block?

    daoyuan

      hi

      Has anyone come across the clGetPlatformIDs interface blocking problem?  When i use clGetPlatformIDs api, it did not return. The call stack info as follows.

      Anybody know why clGetPlatformIDs is blocked, and how to solve. Thanks.

       

      #0  0x0000003b5caddf88 in poll () from /lib64/libc.so.6

      #1  0x0000003b5fa0885a in ?? () from /usr/lib64/libxcb.so.1

      #2  0x0000003b5fa0a20c in xcb_wait_for_reply () from /usr/lib64/libxcb.so.1

      #3  0x0000003b5f24d5f3 in _XReply () from /usr/lib64/libX11.so.6

      #4  0x00007ffff5cecb05 in XF86DriScreen::driGetGlxStringFromServer(int, unsigned int, unsigned int, unsigned int) () from /usr/lib64/libamdocl64.so

      #5  0x00007ffff5cecd57 in XF86DriScreen::BuildConfigDB() () from /usr/lib64/libamdocl64.so

      #6  0x00007ffff5ced54a in XF86DriScreen::XF86DriScreen(_XDisplay const*, int) () from /usr/lib64/libamdocl64.so

      #7  0x00007ffff5abfd23 in DrmAdaptor::DrmAdaptor(void const*, ATIAsicIDEnum*, char*, IOCapsRec*) () from /usr/lib64/libamdocl64.so

      #8  0x00007ffff5cee255 in XF86DrmAdaptor::XF86DrmAdaptor(void const*, ATIAsicIDEnum*, char*, IOCapsRec*) () from /usr/lib64/libamdocl64.so

      #9  0x00007ffff5cca82f in lnxioGlxAdp::init(ATIAsicIDEnum*, IOAsicInfoRec*, IOCapsRec*) () from /usr/lib64/libamdocl64.so 

      #10 0x00007ffff5cc1a56 in lnxioAdp::open(ATIAsicIDEnum*, IOAsicInfoRec*, IOCapsRec*, bool) () from /usr/lib64/libamdocl64.so

      #11 0x00007ffff5ccdf14 in subioOpen(void const*, unsigned int, ATIAsicIDEnum*, IOAsicInfoRec*, IOCapsRec*, unsigned int*, unsigned int*, unsigned int*, bool) () from /usr/lib64/libamdocl64.so

      #12 0x00007ffff5cb83f2 in ioOpen(void const*, unsigned int, IOStaticRuntimeConfig const*, IODynamicRuntimeConfig const*, IOAsicInfoRec**) () from /usr/lib64/libamdocl64.so

      #13 0x00007ffff5a7a17b in gsl::gsAdaptor::createAdaptor(void const*, unsigned int, gslStaticRuntimeConfigRec const*, gslDynamicRuntimeConfigRec const*, cmPxInfo*, bool) ()

         from /usr/lib64/libamdocl64.so

      #14 0x00007ffff5acb413 in CALGSLDevice::PerformAdapterInitalization_int() () from /usr/lib64/libamdocl64.so

      #15 0x00007ffff5acb45f in CALGSLDevice::SetupAdapter(int&) () from /usr/lib64/libamdocl64.so

      #16 0x00007ffff5acded1 in CALGSLDevice::open(unsigned int) () from /usr/lib64/libamdocl64.so

      #17 0x00007ffff59f2894 in gpu::Device::create(unsigned int) () from /usr/lib64/libamdocl64.so

      #18 0x00007ffff59f5792 in gpu::Device::init() () from /usr/lib64/libamdocl64.so

      #19 0x00007ffff59f5a06 in DeviceLoad() () from /usr/lib64/libamdocl64.so

      #20 0x00007ffff59a84c0 in amd::Device::init() () from /usr/lib64/libamdocl64.so

      #21 0x00007ffff59c524e in amd::Runtime::init() () from /usr/lib64/libamdocl64.so

      #22 0x00007ffff5992f03 in clIcdGetPlatformIDsKHR () from /usr/lib64/libamdocl64.so

      #23 0x0000003b5d602172 in khrIcdVendorAdd () from /usr/lib64/libOpenCL.so.1

      #24 0x0000003b5d604136 in khrIcdOsVendorsEnumerate () from /usr/lib64/libOpenCL.so.1

      #25 0x0000003b5d603810 in clGetPlatformIDs () from /usr/lib64/libOpenCL.so.1

      #26 0x000000000040140d in main () at