Commit Graph

41017 Commits

Author SHA1 Message Date
foreman 7ca4c75217 P4 to Git Change 1055020 by asalmanp@asalmanp-opencl-stg1 on 2014/07/14 18:08:09
EPR #394069 - [CQE OCL][ISV][QR][G] Debugger CAL path no longer works due to OCL CL # 1003498. Fix ACL path to support debugger
	ReviewBoardURL=http://ocltc.amd.com/reviews/r/5245/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpubinary.cpp#57 edit
2014-07-14 18:25:38 -04:00
foreman 770224c321 P4 to Git Change 1054730 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/07/14 03:00:12
EPR #010002 - Change OpenCL version number from 1586 to 1587.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1333 edit
2014-07-14 03:11:00 -04:00
foreman 17c7b66e4e P4 to Git Change 1054633 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/07/12 03:00:11
EPR #010002 - Change OpenCL version number from 1585 to 1586.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1332 edit
2014-07-12 03:09:45 -04:00
foreman a901b12dd1 P4 to Git Change 1054614 by marsenau@marsenau_home on 2014/07/11 19:01:37
ECR #304775 - Fix valgrind use of uninitialized errors, modernize by using unique_ptr, and use existing function to extract filename from path.

	Should probably also fix the static constructors this is called from.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/os/os_posix.cpp#37 edit
2014-07-11 19:10:15 -04:00
foreman 00cd00cbee P4 to Git Change 1054428 by yaxunl@yaxunl_stg_win50 on 2014/07/11 11:42:03
ECR #377625 - Allow function call for function with internal linkage.

	Internal linkage correponds to static function in C. The function could be large and should be allowed to be not inlined.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/linker.cpp#106 edit
2014-07-11 11:51:37 -04:00
foreman 1729d48d6c P4 to Git Change 1054290 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/07/11 03:00:11
EPR #010002 - Change OpenCL version number from 1584 to 1585.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1331 edit
2014-07-11 03:08:31 -04:00
foreman 8aa5ad7859 P4 to Git Change 1053889 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/07/10 03:00:11
EPR #010002 - Change OpenCL version number from 1583 to 1584.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1330 edit
2014-07-10 03:13:57 -04:00
foreman 28988ccc3f P4 to Git Change 1053803 by xcui@merged_opencl_jxcwin on 2014/07/09 21:05:21
EPR #397491 - enabled the svm fine grain buffer for stg, disabled for mainline

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#446 edit
2014-07-09 21:17:13 -04:00
foreman caa8f05683 P4 to Git Change 1053470 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/07/09 03:00:15
EPR #010002 - Change OpenCL version number from 1582 to 1583.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1329 edit
2014-07-09 03:10:50 -04:00
foreman 18d6efdf2c P4 to Git Change 1053388 by xcui@merged_opencl_jxcwin on 2014/07/08 20:17:30
EPR #304775 - temporarily disable the SVM fine_grained_buffer support for OpenCL 2.0 on discrete GPUs, because the feature is supposed to release in 14.50. After the 14.40 is branched, we will enable it again on stg.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#445 edit
2014-07-08 20:23:20 -04:00
foreman bf32cddc03 P4 to Git Change 1053379 by xcui@merged_opencl_jxcwin on 2014/07/08 19:38:01
EPR #304775 - fixed the bug 9838. The svm pointer in the arugment list needs to be tracked to make sure all operation of resource has been finished before we dispatch kernel.

	code review:
	http://ocltc.amd.com/reviews/r/5200/
	precheckin:
	http://ocltc.amd.com:8111/viewModification.html?modId=35125&personal=true&buildTypeId=&tab=vcsModificationTests

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpukernel.cpp#257 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#322 edit
2014-07-08 19:45:31 -04:00
foreman 977f314094 P4 to Git Change 1053268 by gandryey@gera-dev-w7 on 2014/07/08 15:08:51
ECR #304775 - Device enqueuing
	- Add printing of the waiting events
	- Add early exit in the scheduler if nothing to launch

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#19 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#321 edit
2014-07-08 15:30:04 -04:00
foreman 19cae20ac8 P4 to Git Change 1052966 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/07/08 03:00:11
EPR #010002 - Change OpenCL version number from 1581 to 1582.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1328 edit
2014-07-08 03:29:09 -04:00
foreman 2677e086a7 P4 to Git Change 1052889 by weizhang@msdnweizhang-opencl on 2014/07/07 22:09:14
EPR #397491 - Disable platform atomics temporarily until AFE which will be done on July 8.

	Modify the flag of GPU_ENABLE_HIGH_PERFORMANCE_STATE to use it for platform atomics because GPU_ENABLE_HIGH_PERFORMANCE_STATE is not necessary for high clock anymore.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#271 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#206 edit
2014-07-07 22:23:03 -04:00
foreman aee9538136 P4 to Git Change 1052857 by jsjodin@alit_worker_lnx2_stg_ws on 2014/07/07 20:21:20
EPR #401760 - Fix EPR and bug 9997, increase stack size for work items.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_kernel.h#21 edit
2014-07-07 20:25:46 -04:00
foreman cd3fefb00d P4 to Git Change 1052832 by gandryey@gera-dev-w7 on 2014/07/07 18:44:29
ECR #304775 - Device enqueuing
	- Update the scheduler to handle event mask

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuschedcl.cpp#18 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#320 edit
2014-07-07 18:58:52 -04:00
foreman 3e434ca289 P4 to Git Change 1052695 by jatang@jatang-opencl-hsa-stg1 on 2014/07/07 11:41:00
EPR #375978 - Print 3-component vectors correctly.

	Simplify the change.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#35 edit
2014-07-07 11:50:43 -04:00
foreman e31bdac945 P4 to Git Change 1052481 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/07/06 03:00:12
EPR #010002 - Change OpenCL version number from 1580 to 1581.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1327 edit
2014-07-06 03:07:30 -04:00
foreman 8793a3e22c P4 to Git Change 1052462 by johtaylo@johtaylo-JTBUILDER03-increment on 2014/07/05 03:00:11
EPR #010002 - Change OpenCL version number from 1579 to 1580.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/utils/versions.hpp#1326 edit
2014-07-05 03:07:47 -04:00
foreman 0d42b943fe P4 to Git Change 1052441 by gandryey@gera-dev-w7 on 2014/07/04 18:58:11
ECR #304775 - Device enqueuing
	- Match the printed value width with the argument size

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#319 edit
2014-07-04 19:03:58 -04:00
foreman e4b73f0896 P4 to Git Change 1052436 by gandryey@gera-dev-w7 on 2014/07/04 17:46:53
ECR #304775 - Device enqueuing
	- Added debug print for the generated child kernels. GPU_PRINT_CHILD_KERNEL=N, where N is the number of child kernels for dump.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#318 edit
... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#205 edit
2014-07-04 17:54:13 -04:00
foreman 77bb1c5616 initial commit 2014-07-04 16:17:05 -04:00
foreman 3694ab2ce8 initial commit 2014-07-04 16:17:05 -04:00
foreman 5259eca984 Initializing repo 2014-07-04 09:40:57 -04:00
foreman dc4af184c7 Initializing repo 2014-07-04 09:40:57 -04:00
Ben Goz 8afe1ef4e8 Add SDMA queues support
Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-01 16:51:57 +03:00
Oded Gabbay 0a8bc868b5 set thunk-kfd version to match stg
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-08 10:04:31 +02:00
Oded Gabbay 94c0329fc4 Move from direct call to kfd_ioctl to wrapping kmtIoctl
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-29 15:37:42 +02:00
Oded Gabbay 9f647b07ff Change names of IOCTLS
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-29 13:34:32 +02:00
Alexey Skidanov 0ecaa96523 Add exclusive trace access
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
2014-12-29 10:13:32 +02:00
Alexey Skidanov 4a16f41259 Add chip revision and fw version to topology
Reviewed-by: Oded Gabbay <oded.gabbay@amd.com>
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
2014-12-10 14:47:40 +02:00
Oded Gabbay c12b26c9d5 Don't build 32-bit library by default
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-08 15:52:51 +02:00
Oded Gabbay f081249d17 Implement hsaKmtGetVersion
Reviewed-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-10-28 16:49:56 +02:00
Oded Gabbay f8757c0e06 Fix makefile to include dependency on header files
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-12-04 11:42:52 +02:00
Evgeny Pinchuk 2c865d510f Add pmc module
Signed-off-by: Evgeny Pinchuk <evgeny.pinchuk@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 13:59:07 +03:00
Evgeny Pinchuk a4f446e8cd Add pmc table module
Signed-off-by: Evgeny Pinchuk <evgeny.pinchuk@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 13:58:01 +03:00
Evgeny Pinchuk 5f106cf3e4 Add clock counters module
Signed-off-by: Evgeny Pinchuk <evgeny.pinchuk@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 13:57:10 +03:00
Ben Goz 678287d98b Add queues module
Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 13:56:50 +03:00
Andrew Lewycky 6a8a380ba3 Add memory module
Signed-off-by: Andrew Lewycky <Andrew.Lewycky@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 13:56:31 +03:00
Evgeny Pinchuk 8f560d5b83 Add topology module
Signed-off-by: Evgeny Pinchuk <evgeny.pinchuk@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 13:52:02 +03:00
Alexey Skidanov 1905152a33 Add flat memory manager module
Signed-off-by: Alexey Skidanov <Alexey.Skidanov@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 11:21:10 +03:00
Oded Gabbay 85ba9efa18 Add skeleton driver which supports open and close
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 11:16:00 +03:00
Oded Gabbay 813af2b89a Add definitions of HSA functions and types
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 10:55:52 +03:00
Oded Gabbay b0b875964f Add IOCTL set definitions of amdkfd
- KFD_IOC_GET_VERSION:
	Retrieves the interface version of amdkfd

- KFD_IOC_CREATE_QUEUE:
	Creates a usermode queue that runs on a specific GPU device

- KFD_IOC_DESTROY_QUEUE:
	Destroys an existing usermode queue

- KFD_IOC_SET_MEMORY_POLICY:
	Sets the memory policy of the default and alternate aperture of the
	calling process

- KFD_IOC_GET_CLOCK_COUNTERS:
	Retrieves counters (timestamps) of CPU and GPU

- KFD_IOC_GET_PROCESS_APERTURES:
	Retrieves information about process apertures that were initialized
	during the open() call of the amdkfd device

- KFD_IOC_UPDATE_QUEUE:
	Updates configuration of an existing usermode queue

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-07-29 10:52:32 +03:00
Oded Gabbay 75ca002be8 add outgoing/ to .gitignore
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
2014-10-28 17:50:33 +02:00
Oded Gabbay 14326d0657 initial commit 2014-07-29 10:49:52 +03:00
Ben Goz 4676447863 Add SDMA queues support
Signed-off-by: Ben Goz <ben.goz@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: 8afe1ef4e8]
2014-07-01 16:51:57 +03:00
Oded Gabbay edd2d65809 set thunk-kfd version to match stg
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: 0a8bc868b5]
2014-12-08 10:04:31 +02:00
Oded Gabbay 22136281cb Move from direct call to kfd_ioctl to wrapping kmtIoctl
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: 94c0329fc4]
2014-12-29 15:37:42 +02:00
Oded Gabbay f231b71743 Change names of IOCTLS
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>


[ROCm/ROCR-Runtime commit: 9f647b07ff]
2014-12-29 13:34:32 +02:00