76333 Commits

Author SHA1 Message Date
Ben Sander c31a02348b remove unneeded files
[ROCm/hip commit: 7715fe424c]
2016-03-23 03:41:01 -05:00
Ben Sander a7ff86a141 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
Conflicts:
	src/hip_hcc.cpp


[ROCm/hip commit: d07b347cac]
2016-03-23 03:22:09 -05:00
Ben Sander 241befc9f6 Add unique stream_id to devices to improve debug
[ROCm/hip commit: f863c5c6aa]
2016-03-23 03:17:19 -05:00
Ben Sander 6d5968027c Improve trace API
- Validate compile-time disables.
- Add README.md section explain how to install/use CodeXL tracing
- Add code docs on trace_helper.h
- fix color on hipLaunchKernel to green.


[ROCm/hip commit: 2569e15375]
2016-03-23 02:57:52 -05:00
Ben Sander 5c8b743588 HIP_TRACE_API prints function args, and in color
[ROCm/hip commit: 33bbf1463f]
2016-03-23 02:19:49 -05:00
Ben Sander 82cda5c087 use codexl marker interface to mark HIP function/begin end.
- Creates markers in HIP group and they show up in CodeXL trace
- Marker text includes HIP functioin arguments
- (Add trace_helper to convert arguments to strings)
- Still need to add HIP_INIT_API for ~30 HIP functions.


[ROCm/hip commit: b6b3fea05b]
2016-03-23 01:17:53 -05:00
Ben Sander f9b2f0c840 Describe how to file an issue
[ROCm/hip commit: 608bb21797]
2016-03-23 01:15:05 -05:00
Aditya Atluri 01ef054798 Update CUDA_Runtime_API_functions_supported_by_HIP.md
[ROCm/hip commit: 1d6dcb70ee]
2016-03-22 10:42:34 -05:00
Ben Sander 3a5f964c4f Only include activity logger if CodeXL installed.
Fix hipHostMalloc in hipBusBandwidth.
2016-03-22 09:27:10 -05:00
Ben Sander 7715fe424c remove unneeded files 2016-03-23 03:41:01 -05:00
Ben Sander d07b347cac Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
Conflicts:
	src/hip_hcc.cpp
2016-03-23 03:22:09 -05:00
Ben Sander f863c5c6aa Add unique stream_id to devices to improve debug 2016-03-23 03:17:19 -05:00
Ben Sander 2569e15375 Improve trace API
- Validate compile-time disables.
- Add README.md section explain how to install/use CodeXL tracing
- Add code docs on trace_helper.h
- fix color on hipLaunchKernel to green.
2016-03-23 02:57:52 -05:00
Ben Sander 33bbf1463f HIP_TRACE_API prints function args, and in color 2016-03-23 02:19:49 -05:00
Ben Sander b6b3fea05b use codexl marker interface to mark HIP function/begin end.
- Creates markers in HIP group and they show up in CodeXL trace
- Marker text includes HIP functioin arguments
- (Add trace_helper to convert arguments to strings)
- Still need to add HIP_INIT_API for ~30 HIP functions.
2016-03-23 01:17:53 -05:00
Ben Sander 608bb21797 Describe how to file an issue 2016-03-23 01:15:05 -05:00
Aditya Atluri 1d6dcb70ee Update CUDA_Runtime_API_functions_supported_by_HIP.md 2016-03-22 10:42:34 -05:00
dfukalov 10688380d7 1. renamed hipMallocHost -> hipHostAlloc, hipFreeHost -> hipHostFree
2. added capability to build with llvm/clang 3.8


[ROCm/clr commit: 84ca2aa72c]
2016-03-22 17:07:37 +03:00
dfukalov 84ca2aa72c 1. renamed hipMallocHost -> hipHostAlloc, hipFreeHost -> hipHostFree
2. added capability to build with llvm/clang 3.8
2016-03-22 17:07:37 +03:00
dfukalov c0f8221354 1. renamed hipMallocHost -> hipHostAlloc, hipFreeHost -> hipHostFree
2. added capability to build with llvm/clang 3.8


[ROCm/hip commit: d6b9d5fbc7]
2016-03-22 17:07:37 +03:00
dfukalov d6b9d5fbc7 1. renamed hipMallocHost -> hipHostAlloc, hipFreeHost -> hipHostFree
2. added capability to build with llvm/clang 3.8
2016-03-22 17:07:37 +03:00
foreman b9bb5cf51e P4 to Git Change 1249828 by kzhuravl@kzhuravl-fiji-oclhsa on 2016/03/22 09:28:38
SWDEV-76911 - Enforce profile checks in executable [integration of CL 1249531] + fix executable creation in orca runtime

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/10061/
	Testing: precheckin (http://ocltc.amd.com:8111/viewModification.html?modId=68662&personal=true&init=1&tab=vcsModificationBuilds)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/amdhsacod/amdhsacod.cpp#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#24 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#223 edit


[ROCm/clr commit: c0d9192ab0]
2016-03-22 09:38:40 -04:00
foreman c0d9192ab0 P4 to Git Change 1249828 by kzhuravl@kzhuravl-fiji-oclhsa on 2016/03/22 09:28:38
SWDEV-76911 - Enforce profile checks in executable [integration of CL 1249531] + fix executable creation in orca runtime

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/10061/
	Testing: precheckin (http://ocltc.amd.com:8111/viewModification.html?modId=68662&personal=true&init=1&tab=vcsModificationBuilds)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/amdhsacod/amdhsacod.cpp#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#24 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#223 edit
2016-03-22 09:38:40 -04:00
Daniil Fukalov ffad8e2a6e added Notes about installing dependent CUDA headers
[ROCm/clr commit: 279d5fedc4]
2016-03-22 14:57:59 +03:00
Daniil Fukalov 279d5fedc4 added Notes about installing dependent CUDA headers 2016-03-22 14:57:59 +03:00
Daniil Fukalov 342b4bb5c7 added Notes about installing dependent CUDA headers
[ROCm/hip commit: 7ec3377ded]
2016-03-22 14:57:59 +03:00
Daniil Fukalov 7ec3377ded added Notes about installing dependent CUDA headers 2016-03-22 14:57:59 +03:00
Ben Sander 173e850976 hipHostRegister and hipHostMalloc refactor.
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
 -  the hipHost* is used for all HIP APIs dealing with Host memory.
    (including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
  - hipMallocHost is consistent with "hipMalloc" for allocating device
    memory.  Enumerations hipHostMalloc* also used as optional
    flags parm to hipHostMalloc.


[ROCm/hip-tests commit: 3b3bae3772]
2016-03-22 02:30:10 -05:00
Ben Sander 3b3bae3772 hipHostRegister and hipHostMalloc refactor.
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
 -  the hipHost* is used for all HIP APIs dealing with Host memory.
    (including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
  - hipMallocHost is consistent with "hipMalloc" for allocating device
    memory.  Enumerations hipHostMalloc* also used as optional
    flags parm to hipHostMalloc.
2016-03-22 02:30:10 -05:00
Ben Sander 37a02661a6 hipHostRegister and hipHostMalloc refactor.
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
 -  the hipHost* is used for all HIP APIs dealing with Host memory.
    (including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
  - hipMallocHost is consistent with "hipMalloc" for allocating device
    memory.  Enumerations hipHostMalloc* also used as optional
    flags parm to hipHostMalloc.


[ROCm/clr commit: 2d0fade1f7]
2016-03-22 02:30:10 -05:00
Ben Sander 2d0fade1f7 hipHostRegister and hipHostMalloc refactor.
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
 -  the hipHost* is used for all HIP APIs dealing with Host memory.
    (including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
  - hipMallocHost is consistent with "hipMalloc" for allocating device
    memory.  Enumerations hipHostMalloc* also used as optional
    flags parm to hipHostMalloc.
2016-03-22 02:30:10 -05:00
Ben Sander b319209299 hipHostRegister and hipHostMalloc refactor.
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
 -  the hipHost* is used for all HIP APIs dealing with Host memory.
    (including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
  - hipMallocHost is consistent with "hipMalloc" for allocating device
    memory.  Enumerations hipHostMalloc* also used as optional
    flags parm to hipHostMalloc.


[ROCm/hip commit: ab910efb96]
2016-03-22 02:30:10 -05:00
Ben Sander ab910efb96 hipHostRegister and hipHostMalloc refactor.
Note hipHostMalloc (not hipHostAlloc or hipMallocHost).
 -  the hipHost* is used for all HIP APIs dealing with Host memory.
    (including hipHostMalloc, hipHostFree, hipHostRegister,
hipHostUnregister, hipHostGetFlags, hipHostGetDevicePointer).
  - hipMallocHost is consistent with "hipMalloc" for allocating device
    memory.  Enumerations hipHostMalloc* also used as optional
    flags parm to hipHostMalloc.
2016-03-22 02:30:10 -05:00
foreman e949424117 P4 to Git Change 1249685 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/22 03:00:13
SWDEV-2 - Change OpenCL version number from 2070 to 2071.

Affected files ...

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


[ROCm/clr commit: 081797160c]
2016-03-22 03:24:22 -04:00
foreman 081797160c P4 to Git Change 1249685 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/22 03:00:13
SWDEV-2 - Change OpenCL version number from 2070 to 2071.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1817 edit
2016-03-22 03:24:22 -04:00
Ben Sander db8bff1235 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: bf83b949f6]
2016-03-22 01:17:17 -05:00
Ben Sander bf83b949f6 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-22 01:17:17 -05:00
Ben Sander f392d143ff Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/hip commit: 8087bc0401]
2016-03-22 01:17:17 -05:00
Ben Sander 8087bc0401 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-03-22 01:17:17 -05:00
Aditya Atluri 726ffa5124 Update CUDA_Runtime_API_functions_supported_by_HIP.md
[ROCm/clr commit: a8a255b6bc]
2016-03-21 18:33:50 -05:00
Aditya Atluri a8a255b6bc Update CUDA_Runtime_API_functions_supported_by_HIP.md 2016-03-21 18:33:50 -05:00
Aditya Atluri a19d8a0eff Update CUDA_Runtime_API_functions_supported_by_HIP.md
[ROCm/hip commit: 59324930b5]
2016-03-21 18:33:50 -05:00
Aditya Atluri 59324930b5 Update CUDA_Runtime_API_functions_supported_by_HIP.md 2016-03-21 18:33:50 -05:00
foreman 40bbefd3aa P4 to Git Change 1249491 by gandryey@gera-w8 on 2016/03/21 17:37:48
SWDEV-90408 - OpenCL runtime crashes when querying CL_PROGRAM_NUM_KERNELS on a program built with clCompileProgram
	- The app attempts to get query before build/link call. Make sure symbols are available.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#39 edit


[ROCm/clr commit: c2b98ee500]
2016-03-21 17:51:06 -04:00
foreman c2b98ee500 P4 to Git Change 1249491 by gandryey@gera-w8 on 2016/03/21 17:37:48
SWDEV-90408 - OpenCL runtime crashes when querying CL_PROGRAM_NUM_KERNELS on a program built with clCompileProgram
	- The app attempts to get query before build/link call. Make sure symbols are available.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#39 edit
2016-03-21 17:51:06 -04:00
foreman 2630e256f8 P4 to Git Change 1249491 by gandryey@gera-w8 on 2016/03/21 17:37:48
SWDEV-90408 - OpenCL runtime crashes when querying CL_PROGRAM_NUM_KERNELS on a program built with clCompileProgram
	- The app attempts to get query before build/link call. Make sure symbols are available.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#39 edit


[ROCm/clr commit: 769ff6d3f8]
2016-03-21 17:51:06 -04:00
foreman 769ff6d3f8 P4 to Git Change 1249491 by gandryey@gera-w8 on 2016/03/21 17:37:48
SWDEV-90408 - OpenCL runtime crashes when querying CL_PROGRAM_NUM_KERNELS on a program built with clCompileProgram
	- The app attempts to get query before build/link call. Make sure symbols are available.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_program.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/platform/program.hpp#39 edit
2016-03-21 17:51:06 -04:00
foreman 1f4061ccbc P4 to Git Change 1249484 by kzhuravl@kzhuravl-kaveri-sc on 2016/03/21 17:26:34
SWDEV-76911 - Fix base/full profile loader issues on SoftCP path [integration of CL 1249449]

	1) Introduce internal API that provides kernel host address given kernel device address
	2) Remove base/full profile loader hacks we have today

	+ runtime changes:
	1) Remove asserts when querying host address of a host address in hsart's loader context

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/10054/
	Testing: precheckin (http://ocltc.amd.com:8111/viewModification.html?modId=68651&personal=true&tab=vcsModificationBuilds)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#22 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.hpp#11 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_kernel_code.h#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#10 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#65 edit


[ROCm/clr commit: 3f6cc5b851]
2016-03-21 17:40:05 -04:00
foreman 3f6cc5b851 P4 to Git Change 1249484 by kzhuravl@kzhuravl-kaveri-sc on 2016/03/21 17:26:34
SWDEV-76911 - Fix base/full profile loader issues on SoftCP path [integration of CL 1249449]

	1) Introduce internal API that provides kernel host address given kernel device address
	2) Remove base/full profile loader hacks we have today

	+ runtime changes:
	1) Remove asserts when querying host address of a host address in hsart's loader context

	ReviewBoardURL: http://ocltc.amd.com/reviews/r/10054/
	Testing: precheckin (http://ocltc.amd.com:8111/viewModification.html?modId=68651&personal=true&tab=vcsModificationBuilds)

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.cpp#22 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/ext/loader/executable.hpp#11 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_kernel_code.h#12 integrate
... //depot/stg/opencl/drivers/opencl/compiler/sc/HSAIL/include/amd_hsa_loader.hpp#10 integrate
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.hpp#65 edit
2016-03-21 17:40:05 -04:00
foreman 724861f4b7 P4 to Git Change 1249380 by asalmanp@asalmanp-opencl-stg on 2016/03/21 13:17:27
SWDEV-79278 - [OpenCL][GFX9 Bring up] renaming the Vega10 device name to GFX9_0_0
	ReviewBoardURL = http://ocltc.amd.com/reviews/r/10036/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings.h#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil.h#9 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_amdil64.h#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail.h#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/v0_8/target_mappings_hsail64.h#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#140 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings.h#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil.h#36 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_amdil64.h#32 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#31 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#26 edit
... //depot/stg/opencl/drivers/opencl/compiler/tools/driver/driver.cpp#61 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#135 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLDeviceQueries.cpp#35 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLPerfCounters.cpp#27 edit


[ROCm/clr commit: 43f22a686d]
2016-03-21 13:27:06 -04:00