Graphe des révisions

13197 Révisions

Auteur SHA1 Message Date
foreman e285312a80 P4 to Git Change 1372187 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/11 03:00:04
SWDEV-2 - Change OpenCL version number from 2362 to 2363.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2109 edit
2017-02-11 03:11:26 -05:00
foreman a0a0264526 P4 to Git Change 1372024 by jatang@jatang-opencl-hsa-stg2 on 2017/02/10 15:39:38
SWDEV-99150 - Update ORCA PerfCounter enum conversion to PAL.

	PAL changes its PerfCounter enum in palPerfExperiment.h since version 236.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#8 edit
2017-02-10 16:37:16 -05:00
Aditya Atluri 1cffe49775 v3: added free for ihipModuleSymbol_t structures inside tracker
Change-Id: Ib8041a05312c08cbdf2d4fee5e7cbae17df6efff
2017-02-10 13:42:10 -06:00
Aditya Atluri 554fe191e1 v2: Fixed hipModule memory management
1. Changed test to assert for same hipFunction values
2. Added better memory management for hipModule

Change-Id: I10d7aef13c215a2211e262f3c79017f26a17d9a7
2017-02-10 13:32:13 -06:00
Evgeny Mankov 25d4de9e95 [HIPIFY] 'CHANGED LOC', 'TOTAL LOC' and 'CODE CHANGED (in lines)' are added to statistics. 2017-02-10 22:02:41 +03:00
foreman bafae3a8bd P4 to Git Change 1371699 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/10 03:00:04
SWDEV-2 - Change OpenCL version number from 2361 to 2362.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2108 edit
2017-02-10 02:16:48 -06:00
Maneesh Gupta 3967ece8dd Build libhip_hcc.so as a fat binary
Change-Id: Ie4f334d8f9576edf5df0f917f72083d7842eb193
2017-02-10 10:32:04 +05:30
Aditya Atluri 307a21c946 fixed shared memory usage implementation for hipDynamicShared2.cpp test
Change-Id: I34c72cb905f78de0f37e94174382e8be5c532028
2017-02-09 18:17:42 -06:00
Aditya Atluri d6b5c02862 added new dynamic shared mem test
Change-Id: Ic2a12fc9bc5b67e85f1e6c6008f10c7c66388377
2017-02-09 18:07:48 -06:00
Aditya Atluri 6110fcdfb6 fixed hipFunction memory management
Change-Id: I7ebb323419bcd220ebd6466a8eb38e7bfdb1520a
2017-02-09 17:22:55 -06:00
foreman df5aae929a P4 to Git Change 1371318 by asalmanp@asalmanp-opencl-stg on 2017/02/09 12:22:12
SWDEV-107075 - [OCL][VG10] Conformance RQ Mipmaps tests are failing. Adding the below changes to fix the failures

	- For 1Darray images the Height should be 1 and we should use the correct value for "numSlices" in copyRegion
	- For 2Darray images the Depth should be 1 and we should use the correct value for "numSlices" in copyRegion
	- The right Height should be used when gpuMemoryDepthPitch is calculated

	Also, PAL was not obeying the "numSlices" parameter for SDMA-based memory <--> image or image <--> image copies and this issue is fixed in CL#1369626.

	The current changes in OCL runtime will be submitted into stg once the above CL from PAL gets promoted into OCL stg.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/12260/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#17 edit
2017-02-09 12:53:47 -05:00
Maneesh Gupta 7f62529b1f Update hip_hcc packaging script
Change-Id: I2dc96545c472942bcf2bc8a2e88735f3ba26d1e1
2017-02-09 20:28:28 +05:30
Maneesh Gupta 6659eb8d16 Disable failing directed tests
- hipTestDeviceSymbol
- hipTestConstant
- hipTestMallocKernel

Change-Id: Ibfe9fc0b8a59882f1de64b42e18777a7bd56ee97
2017-02-09 14:48:22 +05:30
Maneesh Gupta 71363810dd Fix arch specific hcc extra libs env var
Change-Id: I7429da2f1cb98750d6a9601e7e5bde844a098487
2017-02-09 14:38:39 +05:30
foreman 5dc87aa5f5 P4 to Git Change 1371152 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/09 03:00:05
SWDEV-2 - Change OpenCL version number from 2360 to 2361.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2107 edit
2017-02-09 03:14:31 -05:00
Aditya Atluri c6c90f6f5a added architecture specific macros
1. Added __HIP_ARCH_GFXNUM__
2. Usage, -D__HIP_ARCH_GFX803__=1

Change-Id: I68b3a85d62cfab3a45d2b7a70cb3518ab2565236
2017-02-08 19:45:32 -06:00
pensun f2bfc8a405 Add pseudo code example for hip_bugs.md
Change-Id: Ia2af8e6165faeb3fbb81428e20d4dc5b19b2fa9e
2017-02-08 16:20:01 -06:00
Aditya Atluri 400d0d4f78 fixed hipcc for new compiler flags
Change-Id: I49ec059be20ff26b7482c84d91ab7a43826c6a8d
2017-02-08 14:06:01 -06:00
Aditya Atluri 26b5e57cfd include arch specific ir on fallback path
Change-Id: Ib04996aae2c21eb73ef2a9f6305915e0caccd704
2017-02-08 12:19:06 -06:00
Aditya Atluri 60ec83c683 Fixed Hawaii link issues
1. Split hip_ir.ll to hip_hc.ll and hip_hc_gfx803.ll
 a. hip_hc.ll contains arch generic ir implementations
 b. hip_hc_gfx803.ll contains gfx803 (fiji, polaris) specific ir
2. HIPCC can now parse --amdgpu-target=*.
 a. Usage: hipcc --amdgpu-target=gfx803 --amdgpu-target=gfx701
 b. TODO: Convert to --amdgpu-target=gfx803,gfx701
3. With LLC in HCC able to generate native f16 isa, removed inline half asm math ops
4. Fixed threadfence and threadfence_block to use functions in rocdl

Change-Id: Ic9a9e3e04139b0d75d2c2a263c030ca77adc1019
2017-02-08 12:04:05 -06:00
Evgeny Mankov cc8a7f3d3e [HIPIFY] Readme.md update. 2017-02-08 19:50:05 +03:00
Evgeny Mankov b3098091fd [HIPIFY] Readme.md update.
+ Launching example.
+ Delimiter "--" is strongly recommended.
+ "-x cuda" option is mentioned as well.
2017-02-08 19:43:32 +03:00
foreman a7f69bff2b P4 to Git Change 1370604 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/08 03:00:09
SWDEV-2 - Change OpenCL version number from 2359 to 2360.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2106 edit
2017-02-08 03:11:12 -05:00
foreman dadd21fced P4 to Git Change 1370387 by wchau@wchau_OCL_boltzmann on 2017/02/07 17:00:35
SWDEV-103424 - [ROCm CQE][OCL] OCLRuntime - OCLCreateBuffer tests are failing.  The failure is due to AQL cannot support global size > 32bit range.  Adding dispatch split support for ROCm, similar to that of GSL (CL#1159349), to resolve the issue.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.hpp#13 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#31 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/runtime/OCLCreateBuffer.cpp#6 edit
2017-02-07 17:13:15 -05:00
Aditya Atluri be6d01ebc3 Fixed HIP for C runtime
1. fixed constant memory test
2. added runtime gcc/g++ test
3. added fix for runtime with gcc/g++

Change-Id: Ie14dad6633411b188bdeea044e140b6d5beabe16
2017-02-07 13:15:36 -06:00
Aditya Atluri 6d8007e28c fixed vector types for c
Change-Id: I2330e976060f9a038929cd51be07ae2ee98e81ce
2017-02-07 11:09:54 -06:00
Rahul Garg 73b56e690f Command scripts for latency measurements
Change-Id: I8c28765a09fb0358447367939de524b12699a317
2017-02-07 15:03:46 +05:30
foreman ef61b25945 P4 to Git Change 1369977 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/07 03:00:07
SWDEV-2 - Change OpenCL version number from 2358 to 2359.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2105 edit
2017-02-07 03:10:20 -05:00
foreman c9cbcbf0f5 P4 to Git Change 1369850 by gandryey@gera-w8 on 2017/02/06 18:15:17
SWDEV-112661 - [ROCm CQE][OCLonLC][QR][G] 80 failures observed with Images(Samplerless and Samplerless pitch) tests
	- Make sure the pitch for image buffer is properly aligned to the reported device info

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#10 edit
2017-02-06 18:22:59 -05:00
foreman 064f21aa74 P4 to Git Change 1369662 by gandryey@gera-w8 on 2017/02/06 13:52:13
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- reenable HSA copy in ROCr, since OCL copy doesn't really fix the hang issue in integer_ops, but just delays it.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#30 edit
2017-02-06 14:08:48 -05:00
foreman df6f6de805 P4 to Git Change 1369504 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/06 03:00:04
SWDEV-2 - Change OpenCL version number from 2357 to 2358.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2104 edit
2017-02-06 03:14:54 -05:00
Maneesh Gupta 0bef861f1a Disable broken test: hipC
Change-Id: I061aa125bbdc9f14bc870266ab0735593c861903
2017-02-06 13:00:50 +05:30
foreman 3d78cc9365 P4 to Git Change 1369347 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/05 03:00:10
SWDEV-2 - Change OpenCL version number from 2356 to 2357.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2103 edit
2017-02-05 03:10:19 -05:00
foreman 6a684f91a6 P4 to Git Change 1369315 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/04 03:00:04
SWDEV-2 - Change OpenCL version number from 2355 to 2356.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2102 edit
2017-02-04 03:15:20 -05:00
foreman c2ca879dec P4 to Git Change 1369302 by todli@todli-win-opencl-kv1 on 2017/02/04 00:49:06
SWDEV-107271 - Fix crash that happens when Resource::create() fails and "owner" gets cleared. This is only triggered by Conformance test Basic progvar_prog_scope_misc on Raven with 16GB memory (8GB is fine), but should be a general bug.
	http://ocltc.amd.com/reviews/r/12253

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#11 edit
2017-02-04 00:59:54 -05:00
foreman 28f7b5b678 P4 to Git Change 1369163 by todli@todli-win-opencl-kv1 on 2017/02/03 17:19:46
SWDEV-96241 - fix OpenCL/LC build failure

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#43 edit
2017-02-03 17:29:15 -05:00
Aditya Atluri f009f3533d changed __global__ attribute
1. Moved around tests and added them to HIT

Change-Id: I5d75280c42a5af852670ebabc7305ee56721ec7b
2017-02-03 10:53:36 -06:00
foreman 5615f44274 P4 to Git Change 1368828 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/03 03:00:04
SWDEV-2 - Change OpenCL version number from 2354 to 2355.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2101 edit
2017-02-03 03:10:56 -05:00
foreman 1eda218988 P4 to Git Change 1368703 by todli@todli-win-opencl-kv1 on 2017/02/02 18:12:31
SWDEV-96241 - Support SDI on PAL (runtime changes)

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#16 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#42 edit
2017-02-02 18:23:12 -05:00
foreman 917f2935ed P4 to Git Change 1368336 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/02 03:00:03
SWDEV-2 - Change OpenCL version number from 2353 to 2354.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2100 edit
2017-02-02 03:15:42 -05:00
Aditya Atluri 0d4e6ae60a fixed symbol memcpy issue
Change-Id: I89d7401be51d194bcbf771020ba66e3d3b6a18f8
2017-02-01 17:54:59 -06:00
foreman a10c33ad77 P4 to Git Change 1368253 by gandryey@gera-w8 on 2017/02/01 18:29:08
SWDEV-112352 - [ROCm CQE][OCLonLC][QR][G] Aborted/Segmentation fault is observed with "sub_buffers_read_write_dual_devices" of Buffers, due to CL#1364923
	- Keep system memory for multiple devices in case of possible initialization on the second device

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#9 edit
2017-02-01 18:39:14 -05:00
foreman c0d4edda9d P4 to Git Change 1367969 by gandryey@gera-lnx-rcf-lc on 2017/02/01 11:53:10
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- Disable ROCr copy buffer and use runtime kernel to avoid  HW hangs in integer_ops.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/blit.hpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#12 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#29 edit
2017-02-01 12:03:40 -05:00
foreman c36d89754a P4 to Git Change 1367952 by gandryey@gera-w8 on 2017/02/01 11:11:26
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- Back out changelist 1367810. A hang was delayed, but still occured much later in the test.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#11 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#40 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#16 edit
2017-02-01 11:21:13 -05:00
foreman 3ee45f2c08 P4 to Git Change 1367882 by johtaylo@johtaylo-jtincrementor-increment on 2017/02/01 03:00:05
SWDEV-2 - Change OpenCL version number from 2352 to 2353.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2099 edit
2017-02-01 03:07:06 -05:00
foreman df22dc2a47 P4 to Git Change 1367875 by smekhano@stas-mwamba-rocm on 2017/02/01 01:33:12
SWDEV-105835 - ROCm OpenCL: add -amdgpu-internalize-symbols to BE

	The option -amdgpu-internalize-symbols allows to drop unused symbols from program,
	functions and global variables. This saves compile time and object size, a lot in
	case of a big program.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#33 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocprogram.cpp#55 edit
2017-02-01 01:41:59 -05:00
foreman a7a4a6dbad P4 to Git Change 1367810 by gandryey@gera-w8 on 2017/01/31 19:02:27
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- Make HSA copy call lock protected, due to a possible race condition and HW hangs in integer_ops long_math test

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#39 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.hpp#15 edit
2017-01-31 19:09:43 -05:00
foreman b0862beab2 P4 to Git Change 1367466 by johtaylo@johtaylo-jtincrementor-increment on 2017/01/31 03:00:05
SWDEV-2 - Change OpenCL version number from 2351 to 2352.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2098 edit
2017-01-31 03:06:32 -05:00
foreman d301d438f8 P4 to Git Change 1367307 by gandryey@gera-w8 on 2017/01/30 16:30:52
SWDEV-112171 - [ROCm CQE][OCLonLC][QR][G] System hangs/Failures observed with few WF conf tests, due to CL#1364923
	- Add missing row and slice pitches to fix "clReadWriteImage Pitch"  and "clFillImage pitch" tests

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocblit.cpp#9 edit
2017-01-30 16:41:55 -05:00
foreman cfac74adbf P4 to Git Change 1367270 by gandryey@gera-w8 on 2017/01/30 15:31:49
SWDEV-112273 - [ROCm CQE][OCLonLC][QR][G] 2 of 9 tests failed with mem_host_flags due to CL#1366459
	- Keep system memory for images with UHP allocations

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#38 edit
2017-01-30 15:38:27 -05:00