Erik,

Yes, the instruction fixed the build issue. Thank you very much :-)

Please update the "BUILD" file with the added instructions.
And, make sure to mention that gcc/g++-4.7.X is needed for building the vecmathlib.

Thank you

Chuck

On 2/1/2013 7:39 PM, Erik Schnetter wrote:
Chuck

To change e.g. to Unix Makefiles, you would change autogen.sh to contain the line

cmake -G 'Unix Makefiles'

after the "rm -f CMakeCache.txt". Does this correct things for you?

-erik


On Fri, Feb 1, 2013 at 6:15 PM, Chuck Zhao <[email protected] <mailto:[email protected]>> wrote:

    Erik,

    I have problem building it with gcc-4.4.7 and ninja on Ubuntu 12.10.
    Could you set the default build env to gnu make or cmake?

    Thank you

    Chuck



    On 2/1/2013 2:08 PM, Erik Schnetter wrote:
    The loop kernels in our application call math functions such as
    sqrt(), exp(), or log(). While some CPUs provide some of these
    via machine instructions (e.g. sqrt() via SSE2), others either
    need to be scalarised or need to be implemented manually.
    Currently, pocl's run-time library scalarises these, i.e. double4
    sqrt(double4) is implemented via 4 calls to libc's double
    sqrt(double).

    I have implemented vecmathlib
    <https://bitbucket.org/eschnett/vecmathlib>, a generic library
    that implements these math functions directly. Benchmarks show
    that this can speed up these intrinsics significantly, i.e. by a
    factor of several in some cases. I would like to use vecmathlib
    with pocl.

    vecmathlib is implemented in C++, since using templates greatly
    simplifies the code. It builds with both gcc and clang.
    vecmathlib is still incomplete in several respects, e.g. some
    intrinsics should have a higher precision, could be further
    optimised, or inf and nan are not yet handled correctly.

    -erik

-- Erik Schnetter <[email protected]
    <mailto:[email protected]>>
    http://www.perimeterinstitute.ca/personal/eschnetter/
    AIM: eschnett247, Skype: eschnett, Google Talk:
    [email protected] <mailto:[email protected]>


    
------------------------------------------------------------------------------
    Everyone hates slow websites. So do we.
    Make your web apps faster with AppDynamics
    Download AppDynamics Lite for free today:
    http://p.sf.net/sfu/appdyn_d2d_jan


    _______________________________________________
    pocl-devel mailing list
    [email protected]  <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/pocl-devel


    
------------------------------------------------------------------------------
    Everyone hates slow websites. So do we.
    Make your web apps faster with AppDynamics
    Download AppDynamics Lite for free today:
    http://p.sf.net/sfu/appdyn_d2d_jan
    _______________________________________________
    pocl-devel mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/pocl-devel




--
Erik Schnetter <[email protected] <mailto:[email protected]>>
http://www.perimeterinstitute.ca/personal/eschnetter/
AIM: eschnett247, Skype: eschnett, Google Talk: [email protected] <mailto:[email protected]>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan


_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to