summaryrefslogtreecommitdiff
path: root/compote-uapi.h
diff options
context:
space:
mode:
authorJérôme Glisse <jglisse@redhat.com>2017-09-05 14:55:09 -0400
committerJérôme Glisse <jglisse@redhat.com>2017-09-05 14:55:09 -0400
commite6a27ea4768202292070ab9495fd086aad9e3380 (patch)
treeb4784d7c0d6137d0af29e7fad9845cc50f9193c1 /compote-uapi.h
parentca39394948c9f78f330c35cc4ba30acd6df8c2ed (diff)
compote: add simple test shader to trigger page faultHEADmaster
Simple shader that write the thread x id to buffer[threadid.x] ie pseudo code: buffer[threadid.x] = threadid.x; In the old way the buffer is allocated with regular GPU memory allocation and everything is pin while in the new way this is simply malloc memory and the GPU might trigger a page fault if there is no page backing the buffer addresses yet. Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Diffstat (limited to 'compote-uapi.h')
0 files changed, 0 insertions, 0 deletions