gpu-compute: init valid field of GpuTlbEntry in default ctor
authorTony Gutierrez <anthony.gutierrez@amd.com>
Mon, 21 Nov 2016 20:38:30 +0000 (15:38 -0500)
committerTony Gutierrez <anthony.gutierrez@amd.com>
Mon, 21 Nov 2016 20:38:30 +0000 (15:38 -0500)
commita0d4019abda8b39285deaf2f8f262b7682ece4de
tree5ca7d3f700d280c936109dab005a5a93f0f3d89f
parentf82418acef066939bf61a0e76702d92c5bb9164b
gpu-compute: init valid field of GpuTlbEntry in default ctor

valid field for GpuTlbEntry is not set in the default ctor, which can
lead to strange behavior, and is also flagged by UBSAN.
src/gpu-compute/gpu_tlb.hh