‘struct CALfuncInfoRec’ has no membe...

Help
2011-01-18
2013-05-23
  • Gerson Haus
    Gerson Haus
    2011-01-18

    Hi!
    Please, can you help me?
    Debian squeeze AMD64:
    cmake . ok!
    but,..
    cm:/opt/calpp-0.87# make
    Building CXX object examples/CMakeFiles/coalescingtest.dir/coalescingtest.cpp.o
    In file included from /opt/calpp-0.87/examples/coalescingtest.cpp:27:
    /opt/calpp-0.87/include/cal/cal.hpp: In static member function ‘static void cal::detail::param_traits<4, 39>::getInfo(CALuint&, CALfuncInfo&)’:
    /opt/calpp-0.87/include/cal/cal.hpp:257: error: ‘struct CALfuncInfoRec’ has no member named ‘wavefrontPerSIMD’
    make: ***  Error 1
    make: ***  Error 2
    make: ***  Error 2

    Tanks!
    Gerson.

     
  • Alfonso Lopez
    Alfonso Lopez
    2011-01-19

    Hi,

    I had a similar issue; my workaround was replacing
    (CAL_TYPE_CAL_MODULE,CAL_KERNEL_WAVEFRONTPERSIMD,CALuint,CALfunc,wavefrontPerSIMD)

    by

    (CAL_TYPE_CAL_MODULE,CAL_KERNEL_NUMWAVEFRONTPERSIMD,CALuint,CALfunc,numwavefrontPerSIMD)

    in CAL.HPP line 218.

    hope this helps,
    Alfonso

     
  • Artur Kornacki
    Artur Kornacki
    2011-01-21

    It has been long fixed in svn version of CAL++

     
  • Artur Kornacki
    Artur Kornacki
    2011-01-21

    I've also updated 0.87.1 with fix for SDK 2.3