Граф коммитов

54851 Коммитов

Автор SHA1 Сообщение Дата
Aditya Atluri 5178bd6308 Added HIP_INIT_API for all context apis
Change-Id: I3dd8c068236d9572659a58683fdb59d2b9dccaf3
2016-08-29 21:36:34 -05:00
Aditya Atluri 50a2e2db2a Added doxygen comments for module apis
Change-Id: I1825249bf91efe7d058f9026a82ec47855759c98


[ROCm/clr commit: d87bfd425c]
2016-08-29 21:24:19 -05:00
Aditya Atluri d87bfd425c Added doxygen comments for module apis
Change-Id: I1825249bf91efe7d058f9026a82ec47855759c98
2016-08-29 21:24:19 -05:00
Aditya Atluri f6f92a6528 Added doxygen comments for module apis
Change-Id: I1825249bf91efe7d058f9026a82ec47855759c98
2016-08-29 21:24:19 -05:00
Ben Sander 7adfdbe991 Add guideline for HIP_INIT_API
Change-Id: Ib8fa1e952f31158e9435dfc37ff23db9fda6fd7e


[ROCm/clr commit: 6fd03dde79]
2016-08-29 18:40:23 -05:00
Ben Sander 6fd03dde79 Add guideline for HIP_INIT_API
Change-Id: Ib8fa1e952f31158e9435dfc37ff23db9fda6fd7e
2016-08-29 18:40:23 -05:00
Ben Sander 02c3e75b29 Add guideline for HIP_INIT_API
Change-Id: Ib8fa1e952f31158e9435dfc37ff23db9fda6fd7e
2016-08-29 18:40:23 -05:00
Ben Sander ae336b6a6d Update supported API list
Change-Id: Idbc941e4464d200aca7ac3382060edc08ab94ef2


[ROCm/clr commit: a03a71badd]
2016-08-29 18:39:50 -05:00
Ben Sander a03a71badd Update supported API list
Change-Id: Idbc941e4464d200aca7ac3382060edc08ab94ef2
2016-08-29 18:39:50 -05:00
Ben Sander 91f0b1214d Update supported API list
Change-Id: Idbc941e4464d200aca7ac3382060edc08ab94ef2
2016-08-29 18:39:50 -05:00
Ben Sander 78cfa5f6d6 Refactor trace code for hipLaunchKernel.
- Use standard print functions for streams.
- Add HIP_INIT macro, for cases where we want to initialize HIP but not
  log an API (ihipPreKernelLaunch).

Change-Id: If43cf8a363d918bcd3722a2e6a965d4cfa2e03e7


[ROCm/clr commit: fa9b95838a]
2016-08-29 18:37:57 -05:00
Ben Sander fa9b95838a Refactor trace code for hipLaunchKernel.
- Use standard print functions for streams.
- Add HIP_INIT macro, for cases where we want to initialize HIP but not
  log an API (ihipPreKernelLaunch).

Change-Id: If43cf8a363d918bcd3722a2e6a965d4cfa2e03e7
2016-08-29 18:37:57 -05:00
Ben Sander 21e5c25225 Refactor trace code for hipLaunchKernel.
- Use standard print functions for streams.
- Add HIP_INIT macro, for cases where we want to initialize HIP but not
  log an API (ihipPreKernelLaunch).

Change-Id: If43cf8a363d918bcd3722a2e6a965d4cfa2e03e7
2016-08-29 18:37:57 -05:00
Ben Sander f538d2e510 remove stray printf
Change-Id: Ie64778a83dfe684ffaab3c31bc3d09b713f825b9


[ROCm/clr commit: eb61114739]
2016-08-29 18:36:30 -05:00
Ben Sander eb61114739 remove stray printf
Change-Id: Ie64778a83dfe684ffaab3c31bc3d09b713f825b9
2016-08-29 18:36:30 -05:00
Ben Sander 8fb076f5c4 remove stray printf
Change-Id: Ie64778a83dfe684ffaab3c31bc3d09b713f825b9
2016-08-29 18:36:30 -05:00
foreman 14e554cbb4 P4 to Git Change 1308294 by gandryey@gera-w8 on 2016/08/29 18:22:03
SWDEV-101206 - [CQE OCL][Perf][G][QR] Upto ~9% Performance drop observed while running Video Composition subtest of Compubench; Faulty CL#1306133
	- Use the original logic without DMA flush. Flush on staging write helps with a blocking op only, but currently VDI doesn't have that information.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#122 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#7 edit


[ROCm/clr commit: cd7727d007]
2016-08-29 18:31:20 -04:00
foreman cd7727d007 P4 to Git Change 1308294 by gandryey@gera-w8 on 2016/08/29 18:22:03
SWDEV-101206 - [CQE OCL][Perf][G][QR] Upto ~9% Performance drop observed while running Video Composition subtest of Compubench; Faulty CL#1306133
	- Use the original logic without DMA flush. Flush on staging write helps with a blocking op only, but currently VDI doesn't have that information.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpublit.cpp#122 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#7 edit
2016-08-29 18:31:20 -04:00
Aditya Atluri 76c122aecb added docs to how to use hipModuleLaunchKernel
Change-Id: I626241552c69cdae56501371374ca8f2c6776c85


[ROCm/clr commit: 5dc94eb45d]
2016-08-29 15:38:04 -05:00
Aditya Atluri 5dc94eb45d added docs to how to use hipModuleLaunchKernel
Change-Id: I626241552c69cdae56501371374ca8f2c6776c85
2016-08-29 15:38:04 -05:00
Aditya Atluri 24e5fde444 added docs to how to use hipModuleLaunchKernel
Change-Id: I626241552c69cdae56501371374ca8f2c6776c85
2016-08-29 15:38:04 -05:00
Aditya Atluri 78420e4051 added sample to porting driver guide
Change-Id: Ia2b54311cec617e5e2a162fd31415c8caad4a374


[ROCm/clr commit: fa86d293bf]
2016-08-29 15:25:35 -05:00
Aditya Atluri fa86d293bf added sample to porting driver guide
Change-Id: Ia2b54311cec617e5e2a162fd31415c8caad4a374
2016-08-29 15:25:35 -05:00
Aditya Atluri 874740bd55 added sample to porting driver guide
Change-Id: Ia2b54311cec617e5e2a162fd31415c8caad4a374
2016-08-29 15:25:35 -05:00
Aditya Atluri 9af7591223 added hipInit for cuInit nvcc path
Change-Id: I594d08d936ac5d06f16e42c63062ac5776b65a0c


[ROCm/clr commit: 5d3c72a7ff]
2016-08-29 15:20:09 -05:00
Aditya Atluri 5d3c72a7ff added hipInit for cuInit nvcc path
Change-Id: I594d08d936ac5d06f16e42c63062ac5776b65a0c
2016-08-29 15:20:09 -05:00
Aditya Atluri dfc60a8359 added hipInit for cuInit nvcc path
Change-Id: I594d08d936ac5d06f16e42c63062ac5776b65a0c
2016-08-29 15:20:09 -05:00
Aditya Atluri 41a363a6b7 Changed module api to work with nvcc and hipcc path
- Added cuda and cudart linking for nvcc path in hipcc
- Added hipMemcpyHtoD and hipMemcpyDtoH for nvcc path
- Changed hipDeviceptr to hipDeviceptr_t
- Fixed hipMemcpy*to* API signatues

Change-Id: I6ef076b507f92502efda475c83dcdcdd462afc37


[ROCm/clr commit: fb0c432095]
2016-08-29 15:05:12 -05:00
Aditya Atluri fb0c432095 Changed module api to work with nvcc and hipcc path
- Added cuda and cudart linking for nvcc path in hipcc
- Added hipMemcpyHtoD and hipMemcpyDtoH for nvcc path
- Changed hipDeviceptr to hipDeviceptr_t
- Fixed hipMemcpy*to* API signatues

Change-Id: I6ef076b507f92502efda475c83dcdcdd462afc37
2016-08-29 15:05:12 -05:00
Aditya Atluri 4b377f63d0 Changed module api to work with nvcc and hipcc path
- Added cuda and cudart linking for nvcc path in hipcc
- Added hipMemcpyHtoD and hipMemcpyDtoH for nvcc path
- Changed hipDeviceptr to hipDeviceptr_t
- Fixed hipMemcpy*to* API signatues

Change-Id: I6ef076b507f92502efda475c83dcdcdd462afc37
2016-08-29 15:05:12 -05:00
Aditya Atluri 4c46364a3f added sample for module api which works on both cuda and rocm
Change-Id: Id88abb3698a224177fd0531e3e16013dde6dd95e


[ROCm/clr commit: 1673bdefec]
2016-08-29 15:00:26 -05:00
Aditya Atluri 1673bdefec added sample for module api which works on both cuda and rocm
Change-Id: Id88abb3698a224177fd0531e3e16013dde6dd95e
2016-08-29 15:00:26 -05:00
Aditya Atluri 7ae453f349 added sample for module api which works on both cuda and rocm
Change-Id: Id88abb3698a224177fd0531e3e16013dde6dd95e
2016-08-29 15:00:26 -05:00
Ben Sander f317725b7c Doc update. Describe memcpytosymbol, threadfence_system workarounds
[ROCm/clr commit: d76372a049]
2016-08-29 13:45:20 -05:00
Ben Sander d76372a049 Doc update. Describe memcpytosymbol, threadfence_system workarounds 2016-08-29 13:45:20 -05:00
Ben Sander 99727231a3 Doc update. Describe memcpytosymbol, threadfence_system workarounds 2016-08-29 13:45:20 -05:00
foreman e368207843 P4 to Git Change 1307926 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/29 03:00:09
SWDEV-2 - Change OpenCL version number from 2210 to 2211.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1957 edit


[ROCm/clr commit: 97cbf919ba]
2016-08-29 03:12:55 -04:00
foreman 97cbf919ba P4 to Git Change 1307926 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/08/29 03:00:09
SWDEV-2 - Change OpenCL version number from 2210 to 2211.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1957 edit
2016-08-29 03:12:55 -04:00
Aditya Atluri 25fe3f0777 Fixed nvcc path for module apis
Change-Id: I43c7a6bc226f4f270c37f3c4af86b3b3efd0b175


[ROCm/clr commit: 645975a05b]
2016-08-28 22:50:44 -05:00
Aditya Atluri 645975a05b Fixed nvcc path for module apis
Change-Id: I43c7a6bc226f4f270c37f3c4af86b3b3efd0b175
2016-08-28 22:50:44 -05:00
Aditya Atluri 9e21549139 Fixed nvcc path for module apis
Change-Id: I43c7a6bc226f4f270c37f3c4af86b3b3efd0b175
2016-08-28 22:50:44 -05:00
Aditya Atluri 9fe6924154 Cleaned up module api
- Moved HIP_INIT_API from internal to all public apis
- renamed hipLaunchModuleKernel to hipModuleLaunchKernel
- Changed tests according to the changed api

Change-Id: I822ff63c7c5b7dad340ece49456baf9d89428e9f


[ROCm/clr commit: 71991ed8f8]
2016-08-28 16:48:57 -05:00
Aditya Atluri 71991ed8f8 Cleaned up module api
- Moved HIP_INIT_API from internal to all public apis
- renamed hipLaunchModuleKernel to hipModuleLaunchKernel
- Changed tests according to the changed api

Change-Id: I822ff63c7c5b7dad340ece49456baf9d89428e9f
2016-08-28 16:48:57 -05:00
Aditya Atluri 3d1bf4dbaf Cleaned up module api
- Moved HIP_INIT_API from internal to all public apis
- renamed hipLaunchModuleKernel to hipModuleLaunchKernel
- Changed tests according to the changed api

Change-Id: I822ff63c7c5b7dad340ece49456baf9d89428e9f
2016-08-28 16:48:57 -05:00
Ben Sander 713eb5636d Remove cutnpaste check on uninitialized hsa status
Change-Id: Icc0256b9b1bd01d45cca4feb1106cfe7427bcd15


[ROCm/clr commit: 46c3ff52a6]
2016-08-28 16:35:27 -05:00
Ben Sander 46c3ff52a6 Remove cutnpaste check on uninitialized hsa status
Change-Id: Icc0256b9b1bd01d45cca4feb1106cfe7427bcd15
2016-08-28 16:35:27 -05:00
Ben Sander 5551b6c2f6 Remove cutnpaste check on uninitialized hsa status
Change-Id: Icc0256b9b1bd01d45cca4feb1106cfe7427bcd15
2016-08-28 16:35:27 -05:00
Ben Sander 40ca19440c Remove deprecated message from hipLaunchModuleKernel
Change-Id: I87675453ae4363e3340a9d1491bb00543fa8c6e0


[ROCm/clr commit: f7ee14e637]
2016-08-28 16:34:34 -05:00
Ben Sander f7ee14e637 Remove deprecated message from hipLaunchModuleKernel
Change-Id: I87675453ae4363e3340a9d1491bb00543fa8c6e0
2016-08-28 16:34:34 -05:00
Ben Sander 685601f27c Remove deprecated message from hipLaunchModuleKernel
Change-Id: I87675453ae4363e3340a9d1491bb00543fa8c6e0
2016-08-28 16:34:34 -05:00