core/umat: usage flags
umat usage flags: apply to some functions
umat usage flags: allocate host memory sample