On Samstag 07 Februar 2009, you wrote:
> It first appeared in src/wrapper/tools.cpp, in current
> master the error is in src/cpp/mempool.hpp around line 157:
>
>       assert(bin_number(alloc_sz) == bin);
>
> where bin_nr_t (boost::uint32_t)
> and bin_t (std::vector<pointer_type>) are compared.
>
> The solution could be to replace bin with bin_nr.
> However I do not know the code so I am not sure about it.
>
> If you have optimalization enabled maybe assert is not
> considered and you do not hit the error.

You're absolutely right. Fixed in git.

Andreas

PS: How come you don't want to be on the PyCuda mailing list? Subscribing is 
easy:

http://tiker.net/mailman/listinfo/pycuda_tiker.net

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
PyCuda mailing list
[email protected]
http://tiker.net/mailman/listinfo/pycuda_tiker.net

Reply via email to