Results 1 to 2 of 2

Thread: The most bizarre error

  1. #1

    The most bizarre error


    I built my code in my CPU that have AMD SDK.

    But, i have to run my application in a GPU. And here in my College the GPU is a Nvidia GTX 560.

    The new code that i built don't works, showing CL_OUT_OF_HOST_MEMORY error.

    So, i grabbed an old version of my code, that at first works fine (But is outdated than i have to do).

    When i insert a blank space in any part of my code, this error occurs.
    For instance,
    int a; //Works fine.
    int __a; //CL_OUT_OF_HOST_MEMORY occurs.

    Note: Consider '_' being a blank space. The forum excluded a blank space that i put.

    Thanks for any help,

  2. #2

    Re: The most bizarre error

    The NVIDIA drivers cache kernels they've seen before, and I've definitely come across bugs in the caching before (mostly with #include). It might be that adding/removing the space affects whether you're hitting a stale cache entry. You can try whacking your cache to see if it changes things. On Linux the cache is in $HOME/.nv/ComputeCache - not sure where it lives on other OSes.

Similar Threads

  1. Replies: 1
    Last Post: 09-24-2007, 03:02 AM
  2. about X Error: GLXBadDrawable 158 Error
    By Ulimit77 in forum OpenGL ES
    Replies: 0
    Last Post: 06-05-2005, 04:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean