14 Replies Latest reply on Apr 8, 2011 12:26 PM by afo

    OpenCL.lib Missing?

    afo
      If I install catalyst with Opencl runtime, OpenCL.lib vanishes?

      Hi all,

      A silly question: If I want to test Catalyst 11.3 for a OpenCL application in my development machine (XP32); should I install the display driver without OpenCL runtime?

      If I install Catalyst 11.3 with OpenCL runtime (SDK2.4-RC1), where is Opencl.lib? (please don't tell me "in SDK2.4")

      regards,

      Alfonso

        • OpenCL.lib Missing?
          himanshu.gautam

          hi afo,

          I guess its the openCL.dll which is actually required at run time. And it is present at its normal location inside system32 and syswow64.

            • OpenCL.lib Missing?
              afo

              Hi,

              That's true for execution: app.exe needs OpenCL.dll to work in windows. But this is my development machine, app.c needs to link against OpenCL.lib; which seems to be deleted by the catalyst driver installation.

              regards,

              Alfonso

                • OpenCL.lib Missing?
                  chrisjp

                  I second the odd deleting of OpenCL.lib.

                  I update to 11.3 today and it whacked my opencl.lib, which I then reinstalled the SDK but now the Profiler no longer functions..  Very frustrating.

                    • OpenCL.lib Missing?
                      himanshu.gautam

                      hi afo,

                      Can you please post the clinfo output of your machine. I would like to know the CAL version so I may try to reproduce it here.

                        • OpenCL.lib Missing?
                          himanshu.gautam

                          Please specify the steps you took while installation of the new driver and uninstalling the previous driver. I am not able to reproduce the issue on my side.

                            • OpenCL.lib Missing?
                              afo

                              Hi,

                              Those are the steps that I did:

                              1) Uninstall old driver (Cat.10.12): Control Panel->add/remove programs->Ati Catalyst install manager "change"

                              In Ati Catalyst install manager: remove all Ati software (I am not sure about the exact words because I see the spanish version: "Realice la desinstalacion rapida de TODO el software de ATI")

                              2) Reboot

                              3) Install new driver (11-3_xp32_dd_ccc_ocl.exe)

                              4) Reboot

                              5) Start VS2008, build the application: "File not found error"

                              6) OpenCL.lib vanished

                               

                              regards,

                              Alfonso

                                • OpenCL.lib Missing?
                                  himanshu.gautam

                                  Hi afo,

                                  If you are doing Uninstall all ATI software, i think its reasonable to expect that it should delete openCL.lib. Use the install manager option rather which allows you to choose what components you want to delete. Keep in mind not to delete the runtime if you later intend to use openCL for CPU device.

                                  Thanks

                                    • OpenCL.lib Missing?
                                      afo

                                      Hi,

                                      If OpenCL.lib is installed by AtiStream SDK, I expect that AtiStream SDK uninstalls it; not Ati Catalyst Install Manager...

                                      By the way, if uninstalling all ATI software in Ati Catalyst Install Manager removes OpenCL.lib, why not removes AtiStream SDK/Profiler too and removes only OpenCL.lib?

                                      I have other theory: OpenCL runtime provided with catalyst 11.3 (which CLInfo shows AtiStream 2.4 RC1) is not compatible with opencl.lib from AtiStream SDK 2.3; but AtiStream SDK 2.4 was not release yet, so if you link your application against opencl.lib v2.3 and run it with opencl.dll v2.4RC1, it won't work (best scenary, the worst scenary could be that doing so the hardware will be damaged). so the simplest solution is to remove the opencl.lib and hope that developers don't get too angry before the availability of AtiStreamSDK 2.4

                                      best regards,

                                      Alfonso

                                        • OpenCL.lib Missing?
                                          himanshu.gautam

                                          Afo,

                                          Do you face problems with openCL after reinstalling the opencl.lib from SDK 2.3? This should confirm whether there is some compatibility issue or not.

                                          And the option "Express install All ATI software" means the developer is not not interested in doing any more opencl work using ATI implementation. So the SDK components and Driver components are deleted. You can use express uninstall from the uninstall manager option to delete driver specific components.

                                          • OpenCL.lib Missing?
                                            afo

                                            Hi,

                                            "Do you face problems with openCL after reinstalling the opencl.lib from SDK 2.3? This should confirm whether there is some compatibility issue or not."

                                            Yes, Catalyst11.3+OpenCL_RT_2.4RC1 doesn't work with my application compiled with AtiStream SDK 2.3. The application gives bad results and no errors in function calls to the API.

                                            The application gives correct results with Catalyst 10.12 + OpenCL_RT from AtiStream SDK 2.3, so I guess that there is an incompatibility between the OpenCL.lib v2.3 and OpenCL.dll v2.4RC1.

                                            So I rolled back to Cat10.12; reinstalled AtiStream SDK 2.3 and my application started to work with correct results.

                                            "And the option "Express install All ATI software" means the developer is not not interested in doing any more opencl work using ATI implementation. So the SDK components and Driver components are deleted. You can use express uninstall from the uninstall manager option to delete driver specific components."

                                            As I said; Catalyst Install Manager manages the install/uninstall of different pieces of software: the video driver, the opencl 2.4RC1 runtime, the VStudio runtime redistributables, the catalyst install manger in itself, etc. So I expect that "express uninstall all ATI software" uninstalls all the pieces of software that catalyst install manager installed, and no other pieces of software that have installed by other, like AtiStream SDK.

                                            That is my interpretation of what Catalyst install manger should do, but I could be wrong and it should uninstall all Ati Software, but it didn't; it didn't uninstall the AtiStreamSDK, samples or Kernel Profiler. Only erased the "AtiStream\lib\x86" directory, so in one or other sense, the catalyst install manager uninstaller didn't work as it should.

                                            best regards,

                                            Alfonso