microsoft / OpenCLOn12

The OpenCL-on-D3D12 mapping layer
MIT License
104 stars 13 forks source link

Specify correct creation args in MapCopyTask. #62

Closed cjj19970505 closed 1 month ago

cjj19970505 commented 1 month ago

The creation args for underlying mappable resource in MapCopyTask is not correct when map flags is not MapRead. On MapWrite, a upload resource should be created. On MapRead | MapWrite, a custom heap L0 reasource can be used.

cjj19970505 commented 1 month ago

@microsoft-github-policy-service agree

cjj19970505 commented 1 month ago

Related issue can be observed by running memory_benchmark_ocl test in https://github.com/intel/compute-benchmarks