Crash when building BVH4 from secondary thread

Crash when building BVH4 from secondary thread

Аватар пользователя stefankw

I'm seeing a crash in BVH4::rotate() when I'm using rtcCreateAccel from a secondary thread. This does not happen when I call it from the main thread or use the BVH2 instead. Is there something in the BVH4 memory management that depends on what thread it runs in?

3 posts / 0 новое
Последнее сообщение
Пожалуйста, обратитесь к странице Уведомление об оптимизации для более подробной информации относительно производительности и оптимизации в программных продуктах компании Intel.
Аватар пользователя stefankw

Nevermind, it turns out that pthreads on OS X default to a small stack size. Increasing the stack size for the thread fixed it.

Аватар пользователя Sven Woop (Intel)

Hm, I have no idea what that could be. Does the issue also occur when you disable the tree rotations?

Зарегистрируйтесь, чтобы оставить комментарий.