Commit Graph

6428 Commits

Author SHA1 Message Date
Ben Sander ba9ad6be80 Copy dependency bug fixes and test modes.
Add dependency for host-to-host copy.

Add debug mode for HIP_DISABLE_HW_COPY_DEP and
HIP_DISABLE_HW_KERNEL_DEP - setting these to -1 now ignores
all dependencies.
2016-02-28 21:19:49 -06:00
Ben Sander 352c056ea6 add check for hip platform configuration 2016-02-28 21:08:53 -06:00
Ben Sander af22d056e0 touchup 2016-02-28 21:08:53 -06:00
Ben Sander 28b28ba9b9 Describe using HIP with native-gcn compiler 2016-02-28 21:08:53 -06:00
pensun 1a5c78062f Merge branch 'doc_update' into privatestaging 2016-02-27 15:13:14 -06:00
pensun 11ca71bd76 resolve conflicts of doc_update 2016-02-27 15:08:45 -06:00
pensun 06dce734ee minor typo fix 2016-02-27 15:04:49 -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 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 1f606261c1 improve the HIP_VISIBLE_DEVICES implementation 2016-02-27 14:14:08 -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 43315ad62b add test case and its driver for HIP_VISIBLE_DEVICES/CUDA_VISIBLE_DEVICES 2016-02-27 09:43:38 -06:00
Aditya Atluri 14ec56acab [v2]: Added test to check single stream dispatches 2016-02-27 05:55:56 -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 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 07e56d4666 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging 2016-02-27 04:25:28 -06:00
Ben Sander ea09557e1b disable rocrv2, properly 2016-02-27 03:31:30 -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 875403fec8 Update README.md 2016-02-26 19:39:14 -06:00
Aditya Avinash Atluri 0fda8711d5 Update README.md 2016-02-26 19:38:22 -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 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 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 6d66bd63de Added CUDA support for hipPointerGetAttributes 2016-02-26 12:33:55 -06:00
pensun 57f60b34fb relsove conflicts 2016-02-26 09:57:40 -06:00
pensun ee7ac16396 fix compiling error 2016-02-26 09:50:00 -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
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 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 a30018e166 Add PATH and LD_LIBRARY_FLAGS 2016-02-25 23:07:18 -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 b1da7e4a70 Tweak version numbers 2016-02-25 19:30:42 -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
Aditya Avinash Atluri 29c385ed72 Update hip.vim
Added d2d and h2h highlights
2016-02-25 14:49:58 -06: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 fea2399fc2 Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify 2016-02-25 22:55:49 +03:00
atimofee e2379adae3 Fixed tool crash on kernels with empty parameter list 2016-02-25 22:54:58 +03:00
dfukalov 7b79c7c4fd fixed lit script discovery in standalone build case 2016-02-25 15:18:14 +03:00
Ben Sander 7e45addbee Add test for thread-safety on streams 2016-02-25 04:22:34 -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
atimofee 0438f7959e String literal bug fixed + string literal processing refactoring 2016-02-24 21:22:32 +03:00
atimofee e7c12f45db Merge branch 'master' of https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP-hipify 2016-02-24 19:27:52 +03:00
atimofee 3fbdeafee4 TAB deleted 2016-02-24 19:27:02 +03:00
atimofee 012afc743f CUDA names in string literals replacment added 2016-02-24 19:23:23 +03:00
dfukalov 051f008ade -o=<output_filename> option added 2016-02-24 19:10:00 +03:00
atimofee 203152cb28 CUDA names in string literals replacment added 2016-02-24 17:42:02 +03:00