Results 1 to 4 of 4

Thread: Qt & Vexcl

  1. #1
    Join Date
    Jul 2008
    Location
    Norway, Trondheim
    Posts
    32
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt & Vexcl

    Hi, has anyone gotten vexcl (https://github.com/ddemidov/vexcl) to work with Qt?
    I am able to compile the vexcl examples with cmake and run them successfully, but when compiling with qt/qmake the same program crashes on startup. Does anyone have experience with this?

    Regards, Ivar

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt & Vexcl

    How can it be the same program if one version uses Qt and the other version doesn't? Whether you use cmake or qmake to compile and link it is irrelevant.

  3. #3
    Join Date
    Jul 2008
    Location
    Norway, Trondheim
    Posts
    32
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt & Vexcl

    After some communication with the developer of vexcl I made it work. It turned out to be that the cl.hpp file supplied by AMD was not working with vexcl, while the cl.hpp file supplied with vexcl did work.When using qmake the AMD file was used, while the one supplied with vexcl was used when using cmake. We also fixed some minor bugs/issues for using vexcl with AMD, so everything works fine now. Note that one should use boost 1.53, I think there were some problems when using boost 1.52.

  4. #4
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Qt & Vexcl

    So the issue had nothing to do with Qt, it was a qmake configuration issue.

    Thanks for the pointer to VexCL - I was not aware of this library and can probably make use of it.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.