-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EXP][Command-Buffer] Support for using copy queue #10
Conversation
DPC++ linked PR: reble/llvm#362 |
* Adds CTS tests for different image types. * Adds CTS tests for different image formats * Defines the primary and optional supported image formats. * Deletes redundant ERROR_IMAGE_FORMAT_NOT_SUPPORTED error code. * Deletes UR_MEM_TYPE_BUFFER as it should be redundant to urMemBufferCreate entry-point. * Deletes URMEM_TYPE_IMAGE1D_BUFFER which is only used in opencl and opencl will need cl_image_desc.buffer/mem_object value when CL_MEM_OBJECT_IMAGE1D_BUFFER is used, and we don't have a way in urMemImageCreate to pass it a buffer object that it will use to initialize an image with it and use this type. And if we initialized a new buffer inside the entry-point, we don't have a way of clearing the buffer memory at the end. * Make sure the adapters return the right error-codes for urMemImageCreate entry-point.
3655e03
to
99d792f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebasing this on tip UR would help review
@fabiomestre Pointed out that there's environment variables in oneapi-src#1528 that mention copy engines, and whether we should guard when we do this optimization based on those. |
041b551
to
abdf27f
Compare
I don't think currently we respect any of these. From a quick look:
These do seem like mostly performance/debugging tweaks so I don't know that respecting them is super high priority, The Fill/D2D copy ones should be pretty trivial to implement though. |
97cb4a1
to
46fa4ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…or-image-format [CTS] Add CTS tests for urMemImageCreate entry-point
53694a4
to
690814d
Compare
- Out-of-order command-buffers now use copy-engine in some cases where available - Also respect existing L0 env vars for using copy-engine with fill and d2d copies
690814d
to
76f84a1
Compare
Closed in favor of upstream PR: oneapi-src#1738 |
the other commands are enqueued in the general command-list.
UR_L0_USE_COPY_ENGINE_FOR_FILL
UR_L0_USE_COPY_ENGINE_FOR_D2D_COPY