Commit Graph

41017 Commits

Author SHA1 Message Date
scchan 0eead76d4e add compiler version guard to the grid launch fix 2016-03-23 11:24:37 -05:00
scchan 56a1863c74 fix builtins mapping for IDs and Dims 2016-03-23 11:08:28 -05:00
Aditya Atluri e9e84d2db6 fixed hipHostGetFlags test 2016-03-23 02:45:21 -05:00
Aditya Atluri b1b6d5e648 Remove redundant hpiHostGetDevicePointer 2016-03-23 09:21:02 -05:00
Ben Sander 6fb2367b66 Add USE_AV_COPY (replaces calls to am_copy with new acc_view::copy 2016-03-23 10:30:53 -05:00
Ben Sander f3ac666a7a use the CPU_Agent for memory copies to indicate direction. 2016-03-23 10:29:44 -05:00
Aditya Atluri 362867d325 fixed hipHostGetFlags test 2016-03-23 02:45:21 -05:00
Aditya Atluri 36d0da99c1 Remove redundant hpiHostGetDevicePointer 2016-03-23 09:21:02 -05:00
Ben Sander 6ab48d7b90 Add USE_AV_COPY (replaces calls to am_copy with new acc_view::copy 2016-03-23 10:30:53 -05:00
Ben Sander 0f81c5bcf2 use the CPU_Agent for memory copies to indicate direction. 2016-03-23 10:29:44 -05:00
foreman 68da626227 P4 to Git Change 1250251 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/03/23 03:00:11
SWDEV-2 - Change OpenCL version number from 2071 to 2072.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1818 edit
2016-03-23 03:06:52 -04:00
James Edwards (xN/A) TX 7d2bc9d113 Separate open source core runtime code from DK makefiles.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1250152]
2016-03-22 18:10:13 -05:00
James Edwards (xN/A) TX 8504fcb6ca Separate open source core runtime code from DK makefiles.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1250152]


[ROCm/ROCR-Runtime commit: 7d2bc9d113]
2016-03-22 18:10:13 -05:00
foreman 76a96b7f06 P4 to Git Change 1249992 by weizhang@weizhang-lnx-opencl on 2016/03/22 15:10:37
SWDEV-84070 - Extend the workaround submitted in CL#1242741 to GFX7 generation.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#163 edit
2016-03-22 15:19:12 -04:00
James Edwards (xN/A) TX 7d1e6c3a57 Remove opensrc test files.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1249961]
2016-03-22 13:39:51 -05:00
James Edwards (xN/A) TX 6da3325470 Remove opensrc test files.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1249961]


[ROCm/ROCR-Runtime commit: 7d1e6c3a57]
2016-03-22 13:39:51 -05:00
dfukalov 16d2a901b6 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify 2016-03-22 19:51:21 +03:00
dfukalov 29f1c76140 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify 2016-03-22 19:51:21 +03:00
dfukalov 0cdb0dc5ac migrating from std::string to StringRef 2016-03-22 19:48:29 +03:00
dfukalov 0ca2467c6b migrating from std::string to StringRef 2016-03-22 19:48:29 +03:00
Daniil Fukalov 1ec21c1ac5 Update README.md 2016-03-22 17:59:11 +03:00
Daniil Fukalov 8c92745999 Update README.md 2016-03-22 17:59:11 +03:00
Ben Sander c1dd930c92 Only include activity logger if CodeXL installed.
Fix hipHostMalloc in hipBusBandwidth.
2016-03-22 09:27:10 -05:00
Ben Sander 004b4ada93 Only include activity logger if CodeXL installed.
Fix hipHostMalloc in hipBusBandwidth.
2016-03-22 09:27:10 -05:00
Ben Sander 2a54c58cac remove unneeded files 2016-03-23 03:41:01 -05:00
Ben Sander 8954e4fb26 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 dc86743b35 Add unique stream_id to devices to improve debug 2016-03-23 03:17:19 -05:00
Ben Sander fa8deac1ad 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 aed1a82ccb HIP_TRACE_API prints function args, and in color 2016-03-23 02:19:49 -05:00
Ben Sander 54704b59dd 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 723327cd0f Describe how to file an issue 2016-03-23 01:15:05 -05:00
Aditya Atluri 55291cc654 Update CUDA_Runtime_API_functions_supported_by_HIP.md 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 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 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 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 279d5fedc4 added Notes about installing dependent CUDA headers 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 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 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 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 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