3 Replies Latest reply on Oct 6, 2014 12:31 AM by dipak

    clCompileProgram and clLinkProgram


      When I compile a host code with SDK 2.9.1, the linker only complains undefined reference to these two API calls. I am using RHEL 5.9. Are these two APIs only available on RHEL 6.x?


      test.cpp:(.text+0xe89): undefined reference to `clCompileProgram'

      test.cpp:(.text+0xf1f): undefined reference to `clLinkProgram'

        • Re: clCompileProgram and clLinkProgram


          As per AMD_APP_SDK_Getting_Started_Guide1 for SDK 2.9-1:

          The AMD APP SDK 2.9.1 is supported on the following Linux flavors:

          OpenSUSE™ 13.1 (32-bit/64-bit)

          Ubuntu® 14.04 (32-bit/64-bit)

          Red Hat® Enterprise Linux® 6.x (32-bit/64-bit)

          As I can remember, once I used these APIs using SDK 2.9-1 on RHEL 6.5 and both worked fine. Not sure about RHEL 5.9. Are you facing any problem on RHEL 6.x?



          1 of 1 people found this helpful