Commit Graph

12735 Commits

Author SHA1 Message Date
Ben Sander 7cbe4a1651 Add USE_HCC_LOCK_API.
Default off, if set will compile assuming HCC lock APIs exist.


[ROCm/clr commit: 9329fb8c92]
2016-04-18 23:50:52 -05:00
Ben Sander 10d42fa7cc Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 1ac93489b9]
2016-04-18 21:51:13 -05:00
Ben Sander 57a4505e77 Fixes for P2P and hipDeviceReset
- devicereset would lose track of default stream and thus subsequent
  synchronization calls might not actually sychronize.
- Also deviceReset now correctly frees streams.
- fix waits in P2P staging copy - first phase (Device0-to-Staging) must
  wait for second phase (Staging to Device1) to finish draining the
  buffer.


[ROCm/clr commit: 6abfa13c34]
2016-04-18 20:49:33 -05:00
Aditya Atluri 13e3aaa949 Update hip_hcc.cpp
[ROCm/clr commit: 40377fe5b1]
2016-04-18 11:36:51 -05:00
Maneesh Gupta a47ae38146 Fix bug in hip_hcc uninstall script
[ROCm/clr commit: a6da98eecb]
2016-04-18 15:08:36 +05:30
Maneesh Gupta 06ef7f73ad Update RELEASE.md
[ROCm/clr commit: 0cbff48c5b]
2016-04-18 13:00:23 +05:30
Maneesh Gupta f5a92e14c1 Update README.md
Improved HIP installation instructions.

[ROCm/clr commit: a283728c44]
2016-04-18 12:49:35 +05:30
foreman 54155a56f4 P4 to Git Change 1258907 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/18 03:00:24
SWDEV-2 - Change OpenCL version number from 2097 to 2098.

Affected files ...

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


[ROCm/clr commit: 5a16db75f5]
2016-04-18 03:12:59 -04:00
Maneesh Gupta efc27a2fa2 Update README.md
Some cosmetic changes

[ROCm/clr commit: 2afa2cd684]
2016-04-18 12:34:36 +05:30
Maneesh Gupta 0445c95661 Fix makefiles in samples
[ROCm/clr commit: 273f4b4cbe]
2016-04-18 10:15:35 +05:30
Ben Sander 66a6cca54d test update
[ROCm/clr commit: 3301deb07c]
2016-04-17 07:54:39 -05:00
Ben Sander e92dbaeecd Move HIP_HCC define to CMake
[ROCm/clr commit: f9a31e28ad]
2016-04-17 07:40:04 -05:00
Ben Sander a77d6342a8 fix direction of peer enable/disable APIs
- Enable(peerId) makes memory physically located on peer visible to
current device.


[ROCm/clr commit: 4e0a1e1869]
2016-04-17 07:38:05 -05:00
Ben Sander dd323f5e31 Merge branch 'privatestaging' into p2p
Conflicts:
	include/hcc_detail/hip_hcc.h
	src/hip_hcc.cpp


[ROCm/clr commit: 8d26dfcde3]
2016-04-17 06:46:52 -05:00
foreman 354584a9f7 P4 to Git Change 1258822 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/17 03:00:13
SWDEV-2 - Change OpenCL version number from 2096 to 2097.

Affected files ...

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


[ROCm/clr commit: cd1c5dc06e]
2016-04-17 03:10:07 -04:00
Aditya Atluri e71db391ab added memcpy and p2p test
[ROCm/clr commit: e22a910ccc]
2016-04-16 17:38:06 -05:00
Aditya Atluri 73e14be84b Added copyright
[ROCm/clr commit: 1aac0cc9e5]
2016-04-16 17:21:53 -05:00
Aditya Atluri 2dc71a9713 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 95e9de0946]
2016-04-16 17:10:32 -05:00
Aditya Atluri f0a9d95d55 Corrected Memcpydefault
[ROCm/clr commit: dc61929a3d]
2016-04-16 17:10:13 -05:00
Ben Sander 942509d66e P2P Update.
- add P2P staging buffer copy.
- If copy device does not have sufficient access permissions, fall back
  to staging buffer.
- improve docs for which copy device is used.


[ROCm/clr commit: c3bd85595d]
2016-04-16 10:18:56 -05:00
streamhsa 419d46f901 Add __ldg
[ROCm/clr commit: 0426564a7b]
2016-04-16 21:12:09 +08:00
Maneesh Gupta a1a69b1857 Bump hcc version dependency for packaging
[ROCm/clr commit: 223a109ade]
2016-04-16 15:19:32 +05:30
Maneesh Gupta efb0f8a3a3 Update doxygen html
[ROCm/clr commit: a34e76886a]
2016-04-16 14:55:10 +05:30
Maneesh Gupta 97b91267b0 Bump min required hcc to workweek 16155
[ROCm/clr commit: 1cd52f5192]
2016-04-16 14:49:10 +05:30
Maneesh Gupta 5fcc692086 Remove some stale workweek references
[ROCm/clr commit: ca26f36ef2]
2016-04-16 14:48:05 +05:30
foreman ffb6be5e67 P4 to Git Change 1258794 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/16 03:00:10
SWDEV-2 - Change OpenCL version number from 2095 to 2096.

Affected files ...

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


[ROCm/clr commit: ab6f8803b0]
2016-04-16 03:12:02 -04:00
foreman fc1d457ca2 P4 to Git Change 1258779 by gandryey@gera-ocl on 2016/04/15 19:16:15
SWDEV-92245 - [CQE OCL][QR][G] Multiple 32/64 bit Bolt sample crashes on all CPUs. FaultyCL#1257532
	- Bolt calls map/unmap with the same region twice. Add a counter for the same region to track that case

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#195 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/device.hpp#272 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#401 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#6 edit


[ROCm/clr commit: 6569fba06d]
2016-04-15 19:22:30 -04:00
foreman d54b09efcd P4 to Git Change 1258631 by gandryey@gera-w8 on 2016/04/15 15:02:11
SWDEV-86035 - Add PAL backend to OpenCL
	- Switch #pragma once

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palappprofile.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbinary.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palconstbuf.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugger.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldebugmanager.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprintf.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsched.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palthreadtrace.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paltimestamp.hpp#2 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#2 edit


[ROCm/clr commit: 9b99d758cd]
2016-04-15 15:48:36 -04:00
Aditya Atluri 1b9d8c46e1 changed to guard from hc.hpp
[ROCm/clr commit: 85c04d8a7d]
2016-04-15 11:21:45 -05:00
Aditya Atluri d1a9dcb214 Update README.md
[ROCm/clr commit: f7089dbe4b]
2016-04-15 11:08:48 -05:00
Aditya Atluri a9401cba2e improved error returns for hipHostRegister/UnRegister functions
[ROCm/clr commit: e8902a6e20]
2016-04-15 10:42:31 -05:00
Aditya Atluri 7143de0890 added more features to hipHostRegister
[ROCm/clr commit: 26ee986774]
2016-04-15 10:32:01 -05:00
Aditya Atluri 6ee096fbfc added hipHostRegister/UnRegister api
[ROCm/clr commit: 109154f03f]
2016-04-15 10:08:10 -05:00
Maneesh Gupta 165e7187c8 Handle non-versioned so files being present only in rocm/lib
[ROCm/clr commit: 69f50d0ced]
2016-04-15 16:20:35 +05:30
Maneesh Gupta f5bb01ebdc Fixed location of html documentation in hip_doc package
[ROCm/clr commit: 993830cec8]
2016-04-15 16:18:48 +05:30
Maneesh Gupta 1293709fc0 Replace /opt/hcc -> /opt/rocm/hcc and /opt/hsa -> /opt/rocm/hsa
[ROCm/clr commit: cf4c3b0913]
2016-04-15 12:56:31 +05:30
foreman 7a2a4e1c1d P4 to Git Change 1258321 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/15 03:00:47
SWDEV-2 - Change OpenCL version number from 2094 to 2095.

Affected files ...

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


[ROCm/clr commit: be9ae70459]
2016-04-15 03:11:58 -04:00
Maneesh Gupta ee94c7137e Split hip packages into smaller components
[ROCm/clr commit: 84956b6e99]
2016-04-15 12:13:04 +05:30
foreman 177a1cda97 P4 to Git Change 1258240 by gandryey@gera-ocl on 2016/04/14 19:21:55
SWDEV-79445 - OCL generic changes and code clean-up
	- Fix TC failures. Clean unmap info after runtime gets the mip

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#400 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#5 edit


[ROCm/clr commit: 511fd5a36a]
2016-04-14 19:33:16 -04:00
pensun 394ded007d Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 1ab9b0ac71]
2016-04-14 09:02:16 -05:00
Aditya Atluri 0eab4527d7 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: c3b854fba4]
2016-04-14 09:17:30 -05:00
Aditya Atluri 8fdf04a64b Enabling make_* device code
[ROCm/clr commit: 12e24f4816]
2016-04-14 09:17:13 -05:00
pensun 84dbc09fe6 Add missing cudaMemsetAsync transformation
[ROCm/clr commit: 596e8e4e4e]
2016-04-14 09:02:02 -05:00
Ben Sander 2a311f25ef Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into privatestaging
[ROCm/clr commit: 0cdac15fa4]
2016-04-14 07:19:20 -05:00
Ben Sander 9ff4294869 update README for new make/installation steps, new FAQ
[ROCm/clr commit: 489e76e584]
2016-04-14 07:19:07 -05:00
Maneesh Gupta 8ccfb15f73 Add hip soft-link to include for migrating to new include format
[ROCm/clr commit: 0dfb9cddad]
2016-04-14 16:37:27 +05:30
Maneesh Gupta e98b0db05c Change default HIP installation to /opt/rocm/hip
[ROCm/clr commit: efe468bbab]
2016-04-14 16:36:55 +05:30
alex-t 51540789c7 Fixed incorrect kernel paramlist replacement length & hipGetDeviceProperties mapping
[ROCm/clr commit: fb19b58840]
2016-04-14 13:48:58 +03:00
foreman e678831914 P4 to Git Change 1257871 by johtaylo@johtaylo-JTBUILDER03-increment on 2016/04/14 03:00:37
SWDEV-2 - Change OpenCL version number from 2093 to 2094.

Affected files ...

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


[ROCm/clr commit: 650384ad2c]
2016-04-14 03:09:54 -04:00
Ben Sander 70c75c0eed Fix HIP_PATH, CHECK macro in samples.
[ROCm/clr commit: 830527bfdc]
2016-04-13 17:37:39 -05:00