7 Replies Latest reply on Nov 3, 2011 10:39 AM by dar

    stdcl: standard compute layer library

    dar

      BDT has released a library (libstdcl) that provides a simplified interface to OpenCL
      and also provides some tools for linking, tracing and timing compute layer calls.

      Its free software and distributed under the LGPLv3 license.  Currently targets Linux.

      More info can be found here:

      http://www.browndeertechnology.com/stdcl.html

      -dar

       

        • stdcl: standard compute layer library
          Stib

          Is it better than using cl.hhp?

          If yes, convince me of it please!

            • stdcl: standard compute layer library
              dar

               

              Originally posted by: Stib Is it better than using cl.hhp?

               

              If yes, convince me of it please! :)

               

              i would not necessarily compare stdcl.h with cl.hpp.  C++ bindings are useful and benefit many programmers, but some programmers might prefer a more light-weight API designed in a traditional UNIX/C style of syntax and semantics.  its really a question of personal preference as a programmer.  I think libstdcl might offer some useful functionality not provided by cl.hpp.  And tools like clld and cltrace might be useful.  best way to decide is to take a look at the man page for stdcl available online and also take a look at the NBody simulation tutorial just posted on the forum.  the tutorial code uses stdcl.h.  

              -dar

               

              • STDCL Windows using
                McShult

                It is possible now to use it in Windows?

                I watched webinar "OpenCL Programming in Detail", than i discovered "OpenCL™ Tutorial: N-Body Simulation" and there was next: "This tutorial is targeted (and tested) for Linux, although there is no reason why it should not be applicable to Windows(!), in principle(!)." What mean "in principle" in this case? I can use STDCL under Windows in some way, or I need to write another code for N-Body Algorithm, or what?

                And when Windows-optimized release will be published in case, if i can't use this under Windows?

                  • STDCL Windows using
                    dar

                     

                    Originally posted by: McShult It is possible now to use it in Windows?

                     

                    I watched webinar "OpenCL Programming in Detail", than i discovered "OpenCL™ Tutorial: N-Body Simulation" and there was next: "This tutorial is targeted (and tested) for Linux, although there is no reason why it should not be applicable to Windows(!), in principle(!)." What mean "in principle" in this case? I can use STDCL under Windows in some way, or I need to write another code for N-Body Algorithm, or what?

                     

                    And when Windows-optimized release will be published in case, if i can't use this under Windows?

                     

                    First, thank you for your interest in the webinar topic - I hope it was informative.  STDCL evolved out of support for HPC projects using Linux and is actively used in several projects (that I know of) because it makes it very easy to use OpenCL without losing the performance and control OpenCL provides.

                    Although the API did not initially support Windows, there is a dev branch working on a port to Windows.  This is an active branch with comparable priority to development work toward improvements on the Linux side for future v1.1 release.  Sorry for the vague reference to "in principle" during the webinar.  What I meant was not that one could imagine it being done, but that there was no reason why it cannot be ported.  It is being ported.  Based on the interest we have received in Windows support what will likely happen is that this will be pushed to the git repo very soon prior to the v1.1 release which is scheduled for next quarter.  This early support will be an extension to the existing v1.0 stable release branch. 

                    What I will do is update this thread when more info on Windows support is available.  Alternatively, if you send an email to support@ on the brown deer website we can make sure you receive email notification.