Oded Gabbay
8aa0791ddb
Don't report local mem aperture if local mem size is 0
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
2015-05-05 10:51:50 +03:00
Oded Gabbay
a70a98b30b
Increase limit of signal events to 4096
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
Reviewed-by: Ben Goz<ben.goz@amd.com >
2015-05-03 13:58:10 +03:00
Oded Gabbay
eb2d3cfcdf
Add missing DoorbellType field to HSA_CAPABILITY
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
2015-05-02 12:10:04 +03:00
Besar Wicaksono (xN/A) TX [TEXT]
39a6a81461
ECR #333755 - Part 1. update hsa_Ext_amd.h according to HSART 1.0F spec.
...
Details:
- Refactor names of the type and interface in hsa_ext_amd.h according to the format specified by 1.0F spec.
- Update the core, ext, and tools implementation with the new name.
- Update oclhsa layer with the new interface.
Test: TC precheckin http://ocltc.amd.com:8111/viewLog.html?buildId=12461559&tab=buildResultsDiv&buildTypeId=PrecheckinTestsOpenCLSanity_PrecheckinSanitygfx700Linux64bitDebugHsaFoundation
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1145877]
2015-04-29 12:29:56 -05:00
Oded Gabbay
4c4df38035
Revert "Add execution property in register memory for gfx801."
...
This reverts commit 5ed05c99b3 .
2015-04-28 17:50:00 +03:00
Xihan Zhang
112f7e751a
Enable creating SDMA queue.
...
Signed-off-by: Xihan Zhang <xihan.zhang@amd.com >
Reviewed-by: Ben Goz<ben.goz@amd.comt >
2015-04-28 23:42:49 +08:00
Ding, Wei (xN/A) TX
0f6deb9cf9
ECR #333755 - Restructure code to make timing function as close as possible to the one of OpenCL SDK samples.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1142515]
2015-04-20 16:58:41 -05:00
Ding, Wei (xN/A) TX
13fbcac8d0
ECR #333755 - Add code for timing setup, kernel execution, and total time.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1141931]
2015-04-17 12:12:16 -05:00
Xihan Zhang
5ed05c99b3
Add execution property in register memory for gfx801.
...
Signed-off-by: Xihan Zhang <xihan.zhang@amd.com >
2015-04-10 22:26:44 +08:00
Ding, Wei (xN/A) TX
73a921b926
ECR #333755 - Merging HSA samples from prm to stg to conform the 1.0F
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1138673]
2015-04-08 14:46:33 -05:00
Xihan Zhang
30eb386026
Add Performance Counter Support on gfx801.
...
Signed-off-by: Xihan Zhang <xihan.zhang@amd.com >
Acked-by: Oded Gabbay <oded.gabbay@amd.com >
2015-04-09 00:00:42 +08:00
Ding, Wei (xN/A) TX
8863254f76
ECR #333755 - Code clean up for releasing.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1138207]
2015-04-07 16:16:06 -05:00
Ding, Wei (xN/A) TX
3b6932dc39
ECR #333755 - Rename base class file name.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1137731]
2015-04-06 16:59:46 -05:00
Ding, Wei (xN/A) TX
fc9f4cff44
ECR #333755 - Rename base class file name.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1137730]
2015-04-06 16:59:17 -05:00
Ding, Wei (xN/A) TX
31250a5f80
ECR #333755 - Rename hsa samples base class.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1137729]
2015-04-06 16:57:54 -05:00
Ramesh Errabolu (xN/A) TX
13d77a9c6b
ECR #333755 - Updates to build Hsa Samples on Windows for Non-Prm branch
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1134033]
2015-03-24 19:17:26 -05:00
Ding, Wei (xN/A) TX
533bad8360
ECR #333755 - Fixed linux compilation of undefined functions.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133906]
2015-03-24 14:28:03 -05:00
Ding, Wei (xN/A) TX
5ff70ef265
ECR #333755 - Fixed function undefined complaints for Windows.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133894]
2015-03-24 14:02:29 -05:00
Ding, Wei (xN/A) TX
7a543f916c
ECR #333755 - Fixed struct data alignment compatability issue for Windows.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133890]
2015-03-24 13:55:22 -05:00
Ding, Wei (xN/A) TX
da577f2525
ECR #333755 - Fixed redefinition error complaint under Windows.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133888]
2015-03-24 13:50:25 -05:00
Ding, Wei (xN/A) TX
b58ee3f9b7
ECR #333755 - Fixed error for not finding intrin.h under linux.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133886]
2015-03-24 13:48:22 -05:00
Ding, Wei (xN/A) TX
cecb0cc14a
ECR #333755 - Revert to Linux version.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133874]
2015-03-24 13:10:42 -05:00
Ding, Wei (xN/A) TX
04f5ef2fd8
ECR #333755 - Fixed a linux compilation issue.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133846]
2015-03-24 12:05:32 -05:00
Ding, Wei (xN/A) TX
0774fe35b0
ECR #333755 - Fixed a compilation problem under windows.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133835]
2015-03-24 11:19:53 -05:00
Ben Goz
b27de08442
Adding support for mmap events page from Thunk
...
Signed-off-by: Ben Goz <ben.goz@amd.com >
2015-03-24 17:55:54 +02:00
Ding, Wei (xN/A) TX
2206607f27
ECR #333755 - Fixed a possible memory leak problem which causes program crash.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133822]
2015-03-24 10:49:11 -05:00
Ramesh Errabolu (xN/A) TX
2a7c5363e8
ECR #333755 - Add Bitonicsort to the build list and fix makefile error to copy build artifacts to dist folder
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1133120]
2015-03-20 16:31:51 -05:00
Oded Gabbay
ac56c6baff
Fix return value when local memory alloc fails
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
Reviewed-by: Ben Goz <ben.goz@amd.com >
2015-03-19 10:49:27 +02:00
Ding, Wei (xN/A) TX
3a8bc1b01a
ECR #333755 - Fixed a typo.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1132109]
2015-03-18 17:32:10 -05:00
Ramesh Errabolu (xN/A) TX
85acd18466
ECR #333755 - Copy Hsa Sample to distribution folder - Non-Prm branch
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1132097]
2015-03-18 17:18:00 -05:00
Ramesh Errabolu (xN/A) TX
2eab8a72d4
ECR #333755 - Changes to Utils to build on Windows
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1131149]
2015-03-16 16:43:47 -05:00
Ramesh Errabolu (xN/A) TX
b122d56d1e
ECR #333755 - Enable the building of DwtHaar1D sample
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1130607]
2015-03-13 13:08:47 -05:00
Ramesh Errabolu (xN/A) TX
d501deaef7
ECR #333755 - Enable the build of all samples Nbody, - - -, MatrixTranspose
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1130605]
2015-03-13 13:03:10 -05:00
Ding, Wei (xN/A) TX
e54c4ce05c
ECR #333755 - Add the mising DwtHarr1D kernel file.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1130601]
2015-03-13 12:54:43 -05:00
Ramesh Errabolu (xN/A) TX
b90e8884a1
ECR #333755 - Enable the build of all samples BlackScholes, - - - , SimpleConvolution
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1130585]
2015-03-13 11:57:46 -05:00
Ramesh Errabolu (xN/A) TX
f92e289a01
ECR #333755 - Update code to use 1.0F Api's of Finalizer. Presently disabling the build of all samples except BinarySearch
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1130579]
2015-03-13 11:46:58 -05:00
Ramesh Errabolu (xN/A) TX
24d7d5e875
ECR #333755 - Verfiy Hsa Samples BlackScholes, MonteCarloAsian and SimpleConvolution.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1127620]
2015-03-04 18:57:41 -05:00
Ramesh Errabolu (xN/A) TX
4b2b25e232
ECR #333755 - Completely eliminate references to Brig Structures
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1127110]
2015-03-03 19:42:07 -05:00
Ramesh Errabolu (xN/A) TX
21449d717f
ECR #333755 - Add helper files to load Hsail Text files and assembled them into Brig files.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1127109]
2015-03-03 19:41:56 -05:00
Ding, Wei (xN/A) TX
ee474cfcbf
ECR #333755 - Added missing header file.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1127058]
2015-03-03 17:37:41 -05:00
Ding, Wei (xN/A) TX
8c6347a57d
ECR #333755 - Reformat the base class.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126978]
2015-03-03 15:16:59 -05:00
Oded Gabbay
aba396bc52
Call __fmm_release with gpu id and not index
...
__fmm_release expects gpu_id as parameter. fmm_release passed it instead the
index of the GPU in the gpu_mem array.
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
2015-03-03 15:23:57 +02:00
Ding, Wei (xN/A) TX
6979c0ae65
ECR #333755 - Move Finailzer V1 to Finalizer V3 for MatrixMultiplcation, MatriTranspose, NBody, BitonicSort, DwtHarr1D.
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126410]
2015-03-02 13:48:54 -05:00
Ramesh Errabolu (xN/A) TX
42c4f2ad9f
ECR #333755 - Move MonteCarloAsian Sample to use 1.0F Finalizer Apis
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126145]
2015-03-01 14:46:16 -05:00
Ramesh Errabolu (xN/A) TX
ac0f32d1f9
ECR #333755 - Move FloydWarshall Sample to use 1.0F Finalizer Apis
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126142]
2015-03-01 13:58:01 -05:00
Ramesh Errabolu (xN/A) TX
75f94bb91b
ECR #333755 - Move FastWalshTransform Sample to use 1.0F Finalizer Apis
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126141]
2015-03-01 13:44:07 -05:00
Ramesh Errabolu (xN/A) TX
852dd93f28
ECR #333755 - Update Blackscholes to use 1.0F Finalizer Apis
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126133]
2015-03-01 12:32:58 -05:00
Ramesh Errabolu (xN/A) TX
ce2ff7844f
ECR #333755 - Move BinarySearch Sample to use 1.0F Finalizer Apis
...
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1126132]
2015-03-01 12:22:53 -05:00
Oded Gabbay
13e0d87733
Disable SDMA queue creation
...
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com >
2015-03-01 14:40:16 +02:00
Oded Gabbay
417e6f7501
Revert "Disable SDMA queue creation"
...
This reverts commit f3ac33230e .
2015-03-01 14:36:45 +02:00