Can a buffer created without using a host pointer be guaranteed to be zeroed or must I zero it?
edit: wasn’t paying attention, this should be in “Developers Coding:Beginner”
Can a buffer created without using a host pointer be guaranteed to be zeroed or must I zero it?
edit: wasn’t paying attention, this should be in “Developers Coding:Beginner”
Can a buffer created without using a host pointer be guaranteed to be zeroed or must I zero it?
It’s not guaranteed to be zeroed. The contents of the buffer are undefined at creation.