Commit Graph

8 Commits

Author SHA1 Message Date
Christophe Paquot 912bc9b38c Introducing hip::Device which wraps around amd::Context and deviceId
Change-Id: Ie35a6edb65c001b35eb9f5d2af26e765dc41c00e


[ROCm/hip commit: 9630e40beb]
2020-02-18 17:18:56 -05:00
Karthik Jayaprakash 6b7832ed27 SWDEV-223394 - Pass module info from hipModuleGetTexRef to internal Platformstate:: functions.
Change-Id: I7d1ba3f940f595c3fca74a57fa20f484c52d4741


[ROCm/hip commit: 6ec4eb34f4]
2020-02-18 11:23:03 -05:00
Christophe Paquot df7fd4fb53 hipLaunchByPtr and hipLaunchKernel deviceId potential issue
Those APIs should look at the device associated with the stream first.
If that stream is null then get the current device ID.

Change-Id: Iedde1d1644818ba64f128b988f0bd9674f5b8ad6


[ROCm/hip commit: cc63d2d7b8]
2020-02-13 12:00:30 -08:00
Tao Sang 414ad15bb7 Support app(hcc compiled/Hip-Vdi runtime linked)
The issues of the following functions have been fixed.
hipModuleLoad: Make Hip-Vdi runtime able to read code object module
generated by Hcc compiler.
hipLaunchKernel: Use introspect method to find function if it cannot
be found from platform state instance.

Change-Id: Id740e5a96614ec6a0b6c704f8f74600bfdc4983e


[ROCm/hip commit: 2699b566cc]
2020-02-12 16:42:54 -05:00
Mark Searles 900f43f641 Change 2068543 by michliao@hliao-dev-11-hip-workspace on 2020/02/10 10:04:50
SWDEV-125823 - Fix the build issue due to API interface change.

        - PR#1625 is temporarily reverted. Revert CL#2064519 correspondingly.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#61 edit

Change-Id: I519b11532d7e6fe8cbee41804155cc9ca64e596c


[ROCm/hip commit: f2c1a4d827]
2020-02-12 00:22:48 -08:00
Mark Searles 7dd69737d5 Change 2064519 by michliao@hliao-dev-00-hip.rocm-workspace on 2020/01/30 11:34:18
SWDEV-125823 - Fix the build issue due to API interface change.

        - `hipOccupancyMaxActiveBlocksPerMultiprocessor` interface is revised
          and the runtime needs updating.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#60 edit

Change-Id: Ia7901b0dbbfd37977ce4adf2ae1a821aba0ac044


[ROCm/hip commit: d569132d39]
2020-02-05 14:59:37 -08:00
Laurent Morichetti ed5081c945 Update copyright info for VDI files
Change-Id: Ib160fbf89ec89a5895321f73402a33b4d344a68f


[ROCm/hip commit: 2764aee583]
2020-02-04 08:47:10 -08:00
Laurent Morichetti cbd1b27c5e Merge HIP/VDI branch 'amd-staging' into lmoriche/amd-master-next
Change-Id: Iabaab4e72815ba483a1330ec6a1130f2b86676f0


[ROCm/hip commit: e604beeef4]
2020-01-29 15:02:13 -08:00