diff options
author | Jérôme Glisse <jglisse@redhat.com> | 2017-09-05 14:55:09 -0400 |
---|---|---|
committer | Jérôme Glisse <jglisse@redhat.com> | 2017-09-05 14:55:09 -0400 |
commit | e6a27ea4768202292070ab9495fd086aad9e3380 (patch) | |
tree | b4784d7c0d6137d0af29e7fad9845cc50f9193c1 /compote-uapi.h | |
parent | ca39394948c9f78f330c35cc4ba30acd6df8c2ed (diff) |
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