Code Monkey home page Code Monkey logo

Comments (2)

jwang323 avatar jwang323 commented on August 18, 2024

From [email protected] on July 10, 2009 08:11:00

Added a hook from the executive class to the emulated kernel class. This allows the
emulated kernel to inspect all registered memory allocations. Added checks to all
global memory accesses to determine whether an access falls within an allocated
region. Throws an exception if the area has not been allocated.

Most of the SDK examples pass with this modification. However, some do not. I need
to add better debugging information and step through these examples to determine if
they are really memory violations, or if there is some problem with not all allocated
regions appearing in the allocation table. A big problem here could be regions that
are mapped from OpenGL buffers...

Status: Started

from gpuocelot.

jwang323 avatar jwang323 commented on August 18, 2024

From [email protected] on July 11, 2009 02:35:51

Made the following changes:

  1. Added hooks into openGL buffers to register sizes as well as the base of the buffer.

  2. Added debugging messages that show the nearby regions to an access that does not
    fall within any mapped region.

  3. Added macro to disable memory checking if required to avoid any performance overhead.

  4. Added tracking of statically allocated global variables as well as regions created
    via device memory allocation (cudaMalloc).

This should fix this issue...

Status: Fixed

from gpuocelot.

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.