Commit Graph

12234 Commits

Author SHA1 Message Date
Maneesh Gupta 6ef0c494d1 [build] Add clangformat target to cmake
- Added a new target "clangformat" which formats the code using the
  clang-format tool found in HCC package.
- Renamed target "static_check" to "cppcheck".
- Use find_program() macro to make the build system more robust.

Change-Id: Ifefbf36f23ff7ef27a870120d5b9170d0cc8aa52
2018-02-12 10:21:27 +05:30
Maneesh Gupta 7cd7a10e33 Merge pull request #350 from gargrahul/fix_module_host_global_symbol
Fixed host allocated globals address lookup for host usage
2018-02-12 10:13:49 +05:30
Maneesh Gupta d38f84b213 Merge pull request #355 from gargrahul/update_hip_programming_guide
Update the programming guide with environment variables names and def…
2018-02-12 10:13:18 +05:30
foreman 94025b9c3b P4 to Git Change 1514800 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/10 03:00:04
SWDEV-2 - Change OpenCL version number from 2588 to 2589.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2336 edit
2018-02-10 03:18:46 -05:00
Jenkins 994baf094e Merge 'master' into 'amd-master'
Change-Id: I1ff5e75252891feb8a2657a5913ed7cfaf544d98
2018-02-09 04:10:05 -06:00
foreman 6aec0a3b37 P4 to Git Change 1514319 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/09 03:00:05
SWDEV-2 - Change OpenCL version number from 2587 to 2588.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2335 edit
2018-02-09 03:08:55 -05:00
foreman d2d88e9da0 P4 to Git Change 1513893 by emankov@em-hsa on 2018/02/08 10:45:50
SWDEV-143465 - HSAIL - Add checks for OpenCL extension and device family

	FAMILY_SI devices and OpenCL extensions clc++ and spir are not supported by HSAIL.
	Affected only offline compilation via ACL API.

	[Reviewed] by Stas, http://ocltc.amd.com/reviews/r/14240
	[Testing] aoc2, rga

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#96 edit
2018-02-08 10:57:08 -05:00
foreman 1c58eed229 P4 to Git Change 1513807 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/08 03:00:44
SWDEV-2 - Change OpenCL version number from 2586 to 2587.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2334 edit
2018-02-08 03:11:33 -05:00
Evgeny Mankov 5c6ce59840 Merge pull request #357 from emankov/master
[HIPIFY][fix] Build against llvm 3.8.0 fixed - missing include
2018-02-08 00:11:15 +03:00
Evgeny Mankov 8ba4acb3cd [HIPIFY][fix] Build against llvm 3.8.0 fixed - missing include
/srv/HIP/hipify-clang/src/main.cpp:134:19: error: no member named 'dbgs' in namespace 'llvm'
      DEBUG(llvm::dbgs() << "Skipped some replacements.\n");
            ~~~~~~^
2018-02-08 00:08:47 +03:00
foreman 42a53ca7c2 P4 to Git Change 1513246 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/07 03:00:04
SWDEV-2 - Change OpenCL version number from 2585 to 2586.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2333 edit
2018-02-07 03:27:34 -05:00
Jenkins f86c79875f Merge 'master' into 'amd-master'
Change-Id: Iaafb5a8bf49c8e65f718a759da5f16637a8116ce
2018-02-06 04:10:08 -06:00
Rahul Garg c47ae45d0a Update the programming guide with environemnt variables names and default threshold values used. 2018-02-06 14:29:04 +05:30
foreman e07fd7fc7a P4 to Git Change 1511846 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/04 03:00:05
SWDEV-2 - Change OpenCL version number from 2584 to 2585.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2332 edit
2018-02-05 10:48:23 -05:00
Maneesh Gupta 8359c2eb5a Merge pull request #299 from mangupta/hipStreamAddCallback
Implement hipStreamAddCallback
2018-02-02 08:32:41 +05:30
Evgeny Mankov f961272ef4 Merge pull request #354 from emankov/testing
[HIPIFY][tests] Add coalescing.cu test
2018-02-01 19:42:30 +03:00
Evgeny Mankov e98ee1d627 [HIPIFY][tests] Add coalescing.cu test 2018-02-01 19:41:36 +03:00
Evgeny Mankov 2c4bafebee Merge pull request #353 from emankov/testing
[HIPIFY][tests] Add vec_add.cu test
2018-02-01 18:35:22 +03:00
Evgeny Mankov f7fb6e2199 [HIPIFY][tests] Add vec_add.cu test 2018-02-01 18:34:16 +03:00
Evgeny Mankov 5001755794 Merge pull request #352 from emankov/testing
Testing
2018-02-01 17:38:09 +03:00
Evgeny Mankov 91ef7b50e5 [HIPIFY][tests] add new line at the end of file 2018-02-01 17:36:45 +03:00
Evgeny Mankov 7d71dfd1f7 [HIPIFY][tests] Add intro.cu test 2018-02-01 17:07:48 +03:00
foreman 8b14ef24c5 P4 to Git Change 1510826 by johtaylo@johtaylo-jtincrementor2-increment on 2018/02/01 03:00:05
SWDEV-2 - Change OpenCL version number from 2583 to 2584.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2331 edit
2018-02-01 03:09:02 -05:00
foreman 9bc6d88733 P4 to Git Change 1510302 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/31 03:00:05
SWDEV-2 - Change OpenCL version number from 2582 to 2583.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2330 edit
2018-01-31 03:09:02 -05:00
Maneesh Gupta 3aab52d7cc hipStreamAddCallback.cpp: Replace unistd sleep with sleep_for
Change-Id: I7a5d40a1acd8be76a0f175bcfa731ad89fb88d81
2018-01-31 10:48:17 +05:30
foreman 2e6d7d965a P4 to Git Change 1510104 by gandryey@gera-w8 on 2018/01/30 16:21:25
SWDEV-144231 - [CQE OCL][DTB][Perf][DTB-BLOCKER] 10% Performance drop observed while running Subtests of IndigoBench due to faulty CL#1507569
	-Wavelimiter has more negative impact than improvements in a few benchmarks.
	- Reduce the number of adaptive samples during the search to 4 per each wave count.
	- Add worstWave_ to skip sampling with low performance settings.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.hpp#7 edit
2018-01-30 16:49:46 -05:00
Evgeny Mankov b755d4e732 Merge pull request #351 from emankov/cuRAND
[HIPIFY][tests] add poisson-api-example test
2018-01-30 19:51:31 +03:00
Evgeny Mankov eef94a74bc [HIPIFY][tests] add poisson-api-example test
+ add missing types
+ doc update
2018-01-30 19:50:18 +03:00
Evgeny Mankov 04522869a3 Merge pull request #349 from emankov/cuRAND
[HIPIFY] InclusionDirective refactoring
2018-01-30 19:32:05 +03:00
Evgeny Mankov 2ae2693c8a [HIPIFY][tests] fix typo 2018-01-30 18:55:09 +03:00
Rahul Garg b8c23f979b Fixed host allocated globals address lookup for host usage
Fixed texture driver APIs failure
2018-01-30 18:06:31 +05:30
foreman a7ca88a40e P4 to Git Change 1509763 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/30 03:00:06
SWDEV-2 - Change OpenCL version number from 2581 to 2582.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2329 edit
2018-01-30 03:10:39 -05:00
Maneesh Gupta 6a37c60eaa Fix hipStreamAddCallback testcase for nvcc
Change-Id: Ieec4b8d7933d8d68394d21d27132da206111efc8
2018-01-30 12:32:46 +05:30
foreman a1433357fb P4 to Git Change 1509534 by gandryey@gera-w8 on 2018/01/29 17:42:48
SWDEV-143822 - [CQE OCL][Vega10][OCLtst][DTB-Blocker][QR] 8 out of 50 failures are observed with OCLPerf 32bit test; due to Faulty CL# 1502648
	- Limit the cache size to 1GB with 32 bit

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#41 edit
2018-01-29 17:47:45 -05:00
Evgeny Mankov 58f2d3c93f [HIPIFY] InclusionDirective refactoring
Due to support of cuRAND headers.

+ compound test on all headers is added;
+ missing entities are added with updating the doc;
+ a couple cuRAND tests are added (https://github.com/ROCmSoftwarePlatform/rocRAND/tree/master/benchmark):
  - the following CUDA entities are still unsupported by hipRAND:
      curandMakeMTGP32Constants
      curandMakeMTGP32KernelState
      curandGetDirectionVectors32
      curandDirectionVectorSet_t
      CURAND_DIRECTION_VECTORS_32_JOEKUO6
      curandStateSobol64_t
      curandStateScrambledSobol64_t
      curandGenerateLongLong
  - and the following - by HIP:
      cudaRuntimeGetVersion
  - those entities are handled by CHECK-NOT directive for now.
2018-01-29 18:33:47 +03:00
Maneesh Gupta 5eea5ea227 Merge branch 'master' into feature_purge_genco 2018-01-29 16:02:03 +05:30
foreman c5b4ea25c5 P4 to Git Change 1508957 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/27 03:00:06
SWDEV-2 - Change OpenCL version number from 2580 to 2581.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2328 edit
2018-01-27 03:14:25 -05:00
Jenkins 64ee3ef181 Merge 'master' into 'amd-master'
Change-Id: I17bb06eeadb65ee699aaf92df6d18d0677f30708
2018-01-26 04:09:50 -06:00
foreman 0d9cdd5b8f P4 to Git Change 1508389 by johtaylo@johtaylo-jtincrementor2-increment on 2018/01/26 03:00:05
SWDEV-2 - Change OpenCL version number from 2579 to 2580.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#2327 edit
2018-01-26 03:07:26 -05:00
Maneesh Gupta 755c5a2046 Merge pull request #347 from ROCm-Developer-Tools/mangupta-patch-1
Disable md2html conversion in hip doc package
2018-01-26 07:24:14 +05:30
Maneesh Gupta 4995146eaf Disable md2html conversion in hip doc package 2018-01-26 07:02:49 +05:30
Maneesh Gupta 51ade281bd Merge pull request #317 from ROCm-Developer-Tools/fix_hip_debugging_doc
Update hip_debugging.md on typo of chicken bits
2018-01-26 07:00:35 +05:30
Maneesh Gupta 8a98b2d665 Merge pull request #346 from scchan/fix_rhel_build
use assign rather than insert
2018-01-26 06:59:25 +05:30
Maneesh Gupta a81c0313cc Merge pull request #345 from kknox/fix-rocblas-build-failure
Fixing rocblas build failure
2018-01-26 06:58:55 +05:30
foreman 9ed39f6107 P4 to Git Change 1508214 by gandryey@gera-lnx-rcf on 2018/01/25 18:10:13
SWDEV-142271 - Performance drop is observed in Ocean Surface Simulation of Compubenchcl in 17.50 when compared to 17.Q4.1
	- Fix link error in Linux.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#72 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#40 edit
2018-01-25 18:41:08 -05:00
foreman 142e5908ee P4 to Git Change 1508149 by gandryey@gera-w8 on 2018/01/25 17:02:46
SWDEV-143822 - [CQE OCL][Vega10][OCLtst][DTB-Blocker][QR] 8 out of 50 failures are observed with OCLPerf 32bit test; due to Faulty CL# 1502648
	- Free resource cache if PAL failed memory allocation

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palresource.cpp#47 edit
2018-01-25 17:55:06 -05:00
Kent Knox 2c89a70d3f Remove archiving of RPM
We should archive RPM's from proper centos/fedora machines so that we
get the proper dependencies right
2018-01-25 11:39:17 -06:00
Siu Chi Chan 6f90e4213f use assign rather than insert 2018-01-25 16:51:29 +00:00
foreman d71a4dbb04 P4 to Git Change 1507894 by gandryey@gera-lnx-rcf on 2018/01/25 11:38:47
SWDEV-142271 - Performance drop is observed in Ocean Surface Simulation of Compubenchcl in 17.50 when compared to 17.Q4.1
	- Fix compilation errors in Linux.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palwavelimiter.cpp#6 edit
2018-01-25 11:45:30 -05:00
Kent Knox 85284dd48f Fixing rocblas build failure
with ::Bundled_code_header constructor

Disabling hipPrintfKernel test from CI
2018-01-25 10:29:40 -06:00