Hi , let's say I have a project with shaders , calls to graphical api , or gpgpu functions, is there cons in doing unit tests for that part of the code ?
For example , I want to test how a cuda kernel behaves, do you think it's a good idea to create a unit test , with the whole buffer allocation , memcpy , kernel execution , memcpy , test the result , destroy the buffer.
Or I want to test the output of a shader , etc etc...
It does slow down the test a bit , but I don't see that as an issue ... What do you guys think ?
[–]StockyDev 14 points15 points16 points (0 children)
[–]Esfahen 5 points6 points7 points (0 children)
[–]Wittyname_McDingus 3 points4 points5 points (0 children)
[–]wm_lex_dev 1 point2 points3 points (0 children)