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

41017 Коммитов

Автор SHA1 Сообщение Дата
Jay Cornwall 3a662ac712 Fix race in dGPU event page setup
events_page is unprotected from multiple allocation. The first event
creation ioctl is unprotected from a race with args.event_page_offset
being set (for page setup) and null (all subsequent invocations).

Change-Id: I40ba712a17e9eff257785f90c553a74ad09c661d
Signed-off-by: Yair Shachar <Yair.Shachar@amd.com>
2016-02-28 07:14:23 -05:00
Jay Cornwall 537f217f11 Fix race in dGPU event page setup
events_page is unprotected from multiple allocation. The first event
creation ioctl is unprotected from a race with args.event_page_offset
being set (for page setup) and null (all subsequent invocations).

Change-Id: I40ba712a17e9eff257785f90c553a74ad09c661d
Signed-off-by: Yair Shachar <Yair.Shachar@amd.com>


[ROCm/ROCR-Runtime commit: 3a662ac712]
2016-02-28 07:14:23 -05:00
foreman dcefdaca6c P4 to Git Change 1241530 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/28 03:00:13
SWDEV-2 - Change OpenCL version number from 2047 to 2048.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1794 edit
2016-02-28 03:10:25 -05:00
pensun d185ed5f3d Merge branch 'doc_update' into privatestaging 2016-02-27 15:13:14 -06:00
pensun 1a5c78062f Merge branch 'doc_update' into privatestaging 2016-02-27 15:13:14 -06:00
pensun cb352a17c3 resolve conflicts of doc_update 2016-02-27 15:08:45 -06:00
pensun 11ca71bd76 resolve conflicts of doc_update 2016-02-27 15:08:45 -06:00
pensun dec63c6647 minor typo fix 2016-02-27 15:04:49 -06:00
pensun 06dce734ee minor typo fix 2016-02-27 15:04:49 -06:00
pensun dacae05c98 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-27 14:51:52 -06:00
pensun 2d0394eaae Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-27 14:51:52 -06:00
pensun ee53ef507f Test cases for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES.
hipEnvVar is the base test case, to be called by hipEnvVarDriver
at the run time.
Test case includes tests for normal use case of the environment
variable, invalid value/sequence and use CUDA_VISIBLE_DEVICES as a
alternative.
2016-02-27 14:48:00 -06:00
pensun 39b44cb484 Test cases for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES.
hipEnvVar is the base test case, to be called by hipEnvVarDriver
at the run time.
Test case includes tests for normal use case of the environment
variable, invalid value/sequence and use CUDA_VISIBLE_DEVICES as a
alternative.
2016-02-27 14:48:00 -06:00
pensun 17987b42c5 improve the HIP_VISIBLE_DEVICES implementation 2016-02-27 14:14:08 -06:00
pensun 1f606261c1 improve the HIP_VISIBLE_DEVICES implementation 2016-02-27 14:14:08 -06:00
Aditya Avinash Atluri 5f99484d3f Update hipStreamL5.cpp
- Added Copyright
- Removed unnecessary headers
- Added naming scheme
- Added comments for failing cases
- Reformatted source
2016-02-27 13:20:55 -06:00
Aditya Avinash Atluri cdccdb9faa Update hipStreamL5.cpp
- Added Copyright
- Removed unnecessary headers
- Added naming scheme
- Added comments for failing cases
- Reformatted source
2016-02-27 13:20:55 -06:00
pensun 43e156c002 add test case and its driver for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES 2016-02-27 09:43:38 -06:00
pensun 43315ad62b add test case and its driver for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES 2016-02-27 09:43:38 -06:00
Aditya Atluri bb97cd9332 [v2]: Added test to check single stream dispatches 2016-02-27 05:55:56 -06:00
Aditya Atluri 14ec56acab [v2]: Added test to check single stream dispatches 2016-02-27 05:55:56 -06:00
Aditya Atluri 61c63c155c Revert "Added test to check dispatches on single stream"
This reverts commit 90edf9c06f.
2016-02-27 05:48:41 -06:00
Aditya Atluri 3733599cb4 Revert "Added test to check dispatches on single stream"
This reverts commit f134c6ccb6.
2016-02-27 05:48:41 -06:00
Aditya Atluri 90edf9c06f Added test to check dispatches on single stream 2016-02-27 05:44:57 -06:00
Aditya Avinash Atluri 9c4819bc29 Merge pull request #4 from AMDComputeLibraries/memtracker
hipGetPointerAttrib behavioral changes
2016-02-27 10:51:23 -06:00
Aditya Atluri f134c6ccb6 Added test to check dispatches on single stream 2016-02-27 05:44:57 -06:00
Aditya Avinash Atluri ecadb1623c Merge pull request #4 from AMDComputeLibraries/memtracker
hipGetPointerAttrib behavioral changes
2016-02-27 10:51:23 -06:00
pensun bcbc76470d Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-27 04:25:28 -06:00
pensun 07e56d4666 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-27 04:25:28 -06:00
Ben Sander 3eb281aeff disable rocrv2, properly 2016-02-27 03:31:30 -06:00
Ben Sander ea09557e1b disable rocrv2, properly 2016-02-27 03:31:30 -06:00
foreman 208f92951f P4 to Git Change 1241505 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/02/27 03:01:23
SWDEV-2 - Change OpenCL version number from 2046 to 2047.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1793 edit
2016-02-27 03:10:47 -05:00
Aditya Avinash Atluri e9a9c760fc Updated hipPointerAttrib.cpp to pass HC backend
The changes are according to the new API function change in HC backend for HIP. Especially hipPointerGetAttribute(...)
2016-02-26 19:42:07 -06:00
Aditya Avinash Atluri 4c354c9888 Updated hipPointerAttrib.cpp to pass HC backend
The changes are according to the new API function change in HC backend for HIP. Especially hipPointerGetAttribute(...)
2016-02-26 19:42:07 -06:00
Aditya Avinash Atluri db8bedc4d3 Update README.md 2016-02-26 19:39:14 -06:00
Aditya Avinash Atluri 875403fec8 Update README.md 2016-02-26 19:39:14 -06:00
Aditya Avinash Atluri 08a82b405a Update README.md 2016-02-26 19:38:22 -06:00
Aditya Avinash Atluri 0fda8711d5 Update README.md 2016-02-26 19:38:22 -06:00
Aditya Avinash Atluri 2ca6162593 Corrected hipPointerGetAttribute
Made hipPointerGetAttribute work same as cudaPointerGetAttribute for HCC
2016-02-26 18:50:40 -06:00
Aditya Avinash Atluri 66aa7f2f8a Corrected hipPointerGetAttribute
Made hipPointerGetAttribute work same as cudaPointerGetAttribute for HCC
2016-02-26 18:50:40 -06:00
atimofee 351e7c74ea 1.CUDA structure types (and pointers to the types) in function parameter declaration conversion – DONE.
2.Wrong source locations in qualified types declaration:  – FIXED
3.cudaRuntimeGetVersion added to the names map
4.sizeof expression matcher added, expression handler is not yet ready - upcoming soon
2016-02-26 23:35:27 +03:00
atimofee 5e3ab927ad 1.CUDA structure types (and pointers to the types) in function parameter declaration conversion – DONE.
2.Wrong source locations in qualified types declaration:  – FIXED
3.cudaRuntimeGetVersion added to the names map
4.sizeof expression matcher added, expression handler is not yet ready - upcoming soon
2016-02-26 23:35:27 +03:00
Aditya Avinash Atluri aeb86755c3 Null argument handling HIPCC
This change makes hipcc handle no-arguments passed to it. It solves https://github.com/AMDComputeLibraries/HIP-privatestaging/issues/1
2016-02-26 13:47:58 -06:00
Aditya Avinash Atluri 3238185276 Null argument handling HIPCC
This change makes hipcc handle no-arguments passed to it. It solves https://github.com/AMDComputeLibraries/HIP-privatestaging/issues/1
2016-02-26 13:47:58 -06:00
Aditya Avinash Atluri a31f878218 Added CUDA support for hipPointerGetAttributes 2016-02-26 12:33:55 -06:00
Aditya Avinash Atluri 6d66bd63de Added CUDA support for hipPointerGetAttributes 2016-02-26 12:33:55 -06:00
pensun e21841c152 relsove conflicts 2016-02-26 09:57:40 -06:00
pensun 57f60b34fb relsove conflicts 2016-02-26 09:57:40 -06:00
pensun 980ec93f46 fix compiling error 2016-02-26 09:50:00 -06:00
pensun ee7ac16396 fix compiling error 2016-02-26 09:50:00 -06:00