Code Monkey home page Code Monkey logo

Comments (5)

gkanwar avatar gkanwar commented on May 28, 2024

Hi Arnaud -- we're working on fixing up compilation and other bugs in the GPU backend right now, so we should be up to speed very soon. Details in PR #47

from simit.

amarant avatar amarant commented on May 28, 2024

So I could compile it with CUDA enabled after having compiled LLVM with RTTI with -DLLVM_ENABLE_RTTI=ON, but I got an error on execution :

Compiler bug at simit/src/backend/gpu/gpu_backend.cpp:806 in emitAtomicLoadAdd
Please report it to http://issues.simit-lang.org
Unknown LLVM value type for atomic load add. Ensure you are executing GPU compilation with single-precision floats.
terminate called after throwing an instance of 'simit::SimitException'
what():

from simit.

gkanwar avatar gkanwar commented on May 28, 2024

This generally occurs if you attempt to compile a program with double-precision floats enabled, as the relevant atomic operation is only supported for single-precision with our current method of compilation. Make sure you call simit::init("gpu", sizeof(float)).

from simit.

amarant avatar amarant commented on May 28, 2024

Thanks, it worked in its way ...

Using CUDA Device [0]: GeForce GTX 670
Device Compute Capability: 3.0
ERROR: Device 0 is not SM 3.5 or greater

Time you buy a new GC i guess 😆

from simit.

gkanwar avatar gkanwar commented on May 28, 2024

Ah, well that puts a damper on things! I'm going to go ahead and close this issue.

from simit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.