Yuya Asano
Yuya Asano
I added a test case which fails with the current `()` initializers, but it requires CUDA.
Thank you for your advices. I'll fix to keep both ways.
I fixed codes following [an advice](https://github.com/AcademySoftwareFoundation/Imath/pull/337#discussion_r1270859269), but an assertion error occured. One of the causes seems that `return Vec2 (x / l, y / l)` in Vec2::normalized behaves strangely. Unfortunately,...
I found that only changing copy constructor from user-defined to default caused an assertion error, so I give up making `Vec3` trivially relocatable. Thank you very much!
I'm sorry, but what is OSL?
Thank you!
I see. I will do a performance analysis. I talk about the motivation for the change. I have been writing a snow simulator which reads polygon meshes from an Alembic...
Adding the trivially_relocatable attribute is good for me.
I have done a performance analysis. The result is the following: GPU Test case Avg time [ms] Branch name in my forked repository user defined 17.5 make_vector_trivially_relocatable_performance_test default 12.0 defalut_ver...
I see. "defalut" means that the following functions of vectors are declared as `default`: - move constructors and move assignment operators, - copy constructors and copy assignment operators. "user defined"...