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

41017 Коммитов

Автор SHA1 Сообщение Дата
Felix Kuehling 006f3ee41b Fix address space leak in __fmm_release
Use the object size when freeing address space, instead of the
parameter passed in by the caller. The parameter may be incorrect
due to app or runtime bugs, or when the buffers is an AQL ring
buffer with double mapping workaround.


Change-Id: I00bb31d4520ef969a49d6d5ea723e8a33418acc3
2016-02-26 09:19:21 -05:00
Felix Kuehling d56931260a Fix address space leak in __fmm_release
Use the object size when freeing address space, instead of the
parameter passed in by the caller. The parameter may be incorrect
due to app or runtime bugs, or when the buffers is an AQL ring
buffer with double mapping workaround.


Change-Id: I00bb31d4520ef969a49d6d5ea723e8a33418acc3


[ROCm/ROCR-Runtime commit: 006f3ee41b]
2016-02-26 09:19:21 -05:00
Ben Sander 2fb97ae4d8 fixes for titan platform 2016-02-26 05:25:30 -06:00
Ben Sander adbd7bdab5 Merge branch 'memtracker' into privatestaging
Conflicts:
	include/nvcc_detail/hip_runtime_api.h
2016-02-26 06:17:05 -06:00
Ben Sander 2a15579db0 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-26 06:15:09 -06:00
Ben Sander 8105bd636f fixes for titan platform 2016-02-26 05:25:30 -06:00
Ben Sander 822c7292c9 Disable ROCR_V2 2016-02-26 23:34:45 -06:00
Ben Sander 7a1b4c3878 Merge branch 'memtracker' into privatestaging
Conflicts:
	include/nvcc_detail/hip_runtime_api.h
2016-02-26 06:17:05 -06:00
Ben Sander 4a6173fe58 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-26 06:15:09 -06:00
Ben Sander ff66ef0779 fixes for titan platform 2016-02-26 05:25:30 -06:00
Ben Sander 6e0ccdfb95 Disable ROCR_V2 2016-02-26 23:34:45 -06:00
Ben Sander 369e0d7b5b Merge branch 'memtracker' into privatestaging
Conflicts:
	include/nvcc_detail/hip_runtime_api.h
2016-02-26 06:17:05 -06:00
Ben Sander c300ffe458 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-26 06:15:09 -06:00
foreman dcf942f977 P4 to Git Change 1241072 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/26 03:00:11
SWDEV-2 - Change OpenCL version number from 2045 to 2046.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1792 edit
2016-02-26 03:14:36 -05:00
Ben Sander 69bb511b10 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
Conflicts:
	tests/src/hipMemcpy.cpp
2016-02-25 23:24:22 -06:00
Ben Sander 812f56c119 Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
Conflicts:
	tests/src/hipMemcpy.cpp
2016-02-25 23:24:22 -06:00
Ben Sander 8d985188dd Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
Conflicts:
	tests/src/hipMemcpy.cpp
2016-02-25 23:22:51 -06:00
Ben Sander d319299ddb Merge branch 'memtracker' of https://github.com/AMDComputeLibraries/HIP-privatestaging into memtracker
Conflicts:
	tests/src/hipMemcpy.cpp
2016-02-25 23:22:51 -06:00
Ben Sander 67e96e983f Add PATH and LD_LIBRARY_FLAGS 2016-02-25 23:07:18 -06:00
Ben Sander a30018e166 Add PATH and LD_LIBRARY_FLAGS 2016-02-25 23:07:18 -06:00
Ben Sander 7e25c52055 Merge branch 'memtracker' into privatestaging
Conflicts:
	src/hip_hcc.cpp
2016-02-25 19:38:46 -06:00
Ben Sander af97f5e317 Merge branch 'memtracker' into privatestaging
Conflicts:
	src/hip_hcc.cpp
2016-02-25 19:38:46 -06:00
Ben Sander 4adab7b7ef Merge branch 'memtracker' into privatestaging
Conflicts:
	src/hip_hcc.cpp
2016-02-25 19:38:46 -06:00
Ben Sander d3e1773704 Tweak version numbers 2016-02-25 19:30:42 -06:00
Ben Sander b1da7e4a70 Tweak version numbers 2016-02-25 19:30:42 -06:00
Ben Sander 91ed5c7d78 Improve memory copy and commands switching
- Add chicken bits to use host-side dependency management.
- Add optional PinInPlace path for unpinned copies
- Synchronize before pinned memcpy path.
- Add mutex to protect two threads launching to same stream.
2016-02-25 19:19:49 -06:00
Ben Sander 8b64c0dc62 Improve memory copy and commands switching
- Add chicken bits to use host-side dependency management.
- Add optional PinInPlace path for unpinned copies
- Synchronize before pinned memcpy path.
- Add mutex to protect two threads launching to same stream.
2016-02-25 19:19:49 -06:00
Felix Kuehling 8a0161d6bb Use aligned size for looking up userptr object after allocation
The alignment performed in vm_find_object_by_address isn't sufficient
because it doesn't take into account the offset from the start of the
page.

This fixes a bug where certain unaligned userpointers and sizes fail
to register correctly.

Change-Id: I17872e264467a619f5e1bedb7e1ed3d994a856bf
2016-02-25 19:47:05 -05:00
Felix Kuehling 8ae4e547bc Use aligned size for looking up userptr object after allocation
The alignment performed in vm_find_object_by_address isn't sufficient
because it doesn't take into account the offset from the start of the
page.

This fixes a bug where certain unaligned userpointers and sizes fail
to register correctly.

Change-Id: I17872e264467a619f5e1bedb7e1ed3d994a856bf


[ROCm/ROCR-Runtime commit: 8a0161d6bb]
2016-02-25 19:47:05 -05:00
Aditya Avinash Atluri 6ec52348ea Update hip.vim
Added d2d and h2h highlights
2016-02-25 14:49:58 -06:00
Aditya Avinash Atluri 29c385ed72 Update hip.vim
Added d2d and h2h highlights
2016-02-25 14:49:58 -06:00
Evgeny Mankov 11b75c38de Attribute hipDeviceAttributeIsMultiGpuBoard for obtaining Device property isMultiGpuBoard is added.
On HIP path property obtaining done through hsa_iterate_agents and counting the devices of HSA_DEVICE_TYPE_GPU type.

P.S.
On multi-boards systems it might be problems with detection what board a GPU plugged into (not tested).
2016-02-25 23:44:39 +03:00
Evgeny Mankov 7bb0f17656 Attribute hipDeviceAttributeIsMultiGpuBoard for obtaining Device property isMultiGpuBoard is added.
On HIP path property obtaining done through hsa_iterate_agents and counting the devices of HSA_DEVICE_TYPE_GPU type.

P.S.
On multi-boards systems it might be problems with detection what board a GPU plugged into (not tested).
2016-02-25 23:44:39 +03:00
Evgeny Mankov 57e212606d Attribute hipDeviceAttributeIsMultiGpuBoard for obtaining Device property isMultiGpuBoard is added.
On HIP path property obtaining done through hsa_iterate_agents and counting the devices of HSA_DEVICE_TYPE_GPU type.

P.S.
On multi-boards systems it might be problems with detection what board a GPU plugged into (not tested).
2016-02-25 23:44:39 +03:00
atimofee 27921652a6 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify 2016-02-25 22:55:49 +03:00
atimofee fea2399fc2 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify 2016-02-25 22:55:49 +03:00
atimofee 63df6f915f Fixed tool crash on kernels with empty parameter list 2016-02-25 22:54:58 +03:00
atimofee e2379adae3 Fixed tool crash on kernels with empty parameter list 2016-02-25 22:54:58 +03:00
foreman abb2291941 P4 to Git Change 1240661 by smekhano@stas-nova-hsa on 2016/02/25 13:30:49
SWDEV-85940 - Complib: fix memory leak in aclCompileInternal() CodeGenInit
	Testing: smoke, precheckin, test_compiler
	Reviewed by Evgeny Mankov

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#91 edit
2016-02-25 13:45:17 -05:00
dfukalov 3d5de5305d fixed lit script discovery in standalone build case 2016-02-25 15:18:14 +03:00
dfukalov 7b79c7c4fd fixed lit script discovery in standalone build case 2016-02-25 15:18:14 +03:00
Ben Sander 2228bbd119 Add test for thread-safety on streams 2016-02-25 04:22:34 -06:00
Ben Sander 7e45addbee Add test for thread-safety on streams 2016-02-25 04:22:34 -06:00
Ben Sander 382638df1e Add abstraction for pinned/unpinned, and sync/async mem copies selection in tests 2016-02-25 04:21:24 -06:00
Ben Sander ecec7e36d9 Add abstraction for pinned/unpinned, and sync/async mem copies selection in tests 2016-02-25 04:21:24 -06:00
foreman 7a5a8b264c P4 to Git Change 1240452 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/25 03:00:15
SWDEV-2 - Change OpenCL version number from 2044 to 2045.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1791 edit
2016-02-25 03:12:42 -05:00
Ramesh Errabolu (xN/A) TX f7693cf777 Configure AQL packet header with System Scope for flush
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1240170]
2016-02-24 14:08:35 -05:00
Ramesh Errabolu (xN/A) TX 4fb3765f77 Configure AQL packet header with System Scope for flush
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1240170]


[ROCm/ROCR-Runtime commit: f7693cf777]
2016-02-24 14:08:35 -05:00
atimofee 36833c78f3 String literal bug fixed + string literal processing refactoring 2016-02-24 21:22:32 +03:00
atimofee 0438f7959e String literal bug fixed + string literal processing refactoring 2016-02-24 21:22:32 +03:00