Coder Social home page Coder Social logo

Comments (3)

bondhugula avatar bondhugula commented on June 14, 2024

When Pet is used as the frontend, the dependence analysis happens directly on the read and write access relations obtained from pet, i.e., the dependence analysis doesn't happen on stmt->reads/writes. So, I wouldn't expect you to be missing any dependences when using --pet. The code at line 422-423 is only on extracting access information from the computed dependence, and as you point out, won't extract that info (src_acc, dest_acc will be set to NULL). The dependence will still be there, and so you won't have an invalid transformation. To confirm, please see output with:

--moredebug

(The dependences are printed out.)

Thank you for reporting this though - the guard needs to be fixed so that src/dest acc info is correctly propagated. The 0 byte malloc should be fixed as well.

from pluto.

bondhugula avatar bondhugula commented on June 14, 2024

@whbldhwj Fixed in these two commits.

from pluto.

whbldhwj avatar whbldhwj commented on June 14, 2024

Yeah I thought it won't affect the transformation. Just I was trying to use the access information and found the field is NULL for such cases. Thanks for the fast response!

from pluto.

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.