Commit Graph

22 Commits

Author SHA1 Message Date
Ben Sander 82116d905d Enhance HIP trace debug functions.
- Control with HIP_DB=mask (env var).  See src/hip_hcc.cpp for mask
  values:
    #define DB_API    0 /* 0x01 - shortcut to enable HIP_TRACE_API on single switch */
    #define DB_SYNC   1 /* 0x02 - trace synchronization pieces */
    #define DB_MEM    2 /* 0x04 - trace memory allocation / deallocation */
    #define DB_COPY1  3 /* 0x08 - trace memory copy commands. . */
    #define DB_SIGNAL 4 /* 0x10 - trace signal pool commands */
- Combine with HIP_TRACE to see debug with API trace.
- Use colors to distinguish different flows of debug.
- Add define COMPILE_DB_TRACE to allow removing all debug at compile-time


[ROCm/hip commit: aa03e1264c]
2016-03-06 23:50:52 -06:00
pensun cb19da0aa7 resolve conflicts of doc_update
[ROCm/hip commit: 11ca71bd76]
2016-02-27 15:08:45 -06:00
Ben Sander 5ca4914e0e Merge branch 'memtracker' into privatestaging
Conflicts:
	src/hip_hcc.cpp


[ROCm/hip commit: 4adab7b7ef]
2016-02-25 19:38:46 -06:00
gargrahul ccd1ed0a97 Update for shared atomics support
[ROCm/hip commit: a2fbf06129]
2016-02-22 16:21:52 +05:30
Ben Sander ebf2700936 Track last command to a stream.
Passing simple tests.


[ROCm/hip commit: d33d806a5b]
2016-02-20 11:02:07 -06:00
Ben Sander d58eab1706 Move warpSize to header, have shuffles use default warpsize.
[ROCm/hip commit: db3a63360b]
2016-02-15 05:41:09 -06:00
gargrahul 1ab2294657 Removed atomicInc and atomicDec support from HIP
[ROCm/hip commit: 8c40a4ace4]
2016-02-10 04:29:55 +05:30
Peng Sun 691aa5cda6 Merge branch 'privatestaging' of https://github.com/AMDComputeLibraries/HIP-privatestaging into doc_update
[ROCm/hip commit: 1fb48b0714]
2016-02-09 15:08:39 -06:00
Maneesh Gupta 77f61d1a46 Move HIP_DEVICE_COMPILE defines to hip_common.h
[ROCm/hip commit: 3291e0ec96]
2016-02-09 10:57:20 +05:30
Ben Sander a2dac9e12c minor doc touchup
[ROCm/hip commit: 9e2c3c8df3]
2016-02-08 22:11:11 -06:00
Peng Sun f28e3eedc5 fix merging conflicts
[ROCm/hip commit: fb3b11774b]
2016-02-08 15:35:49 -06:00
Peng Sun 8347c2163d Additional typo and extra space fix
[ROCm/hip commit: 3d5608ea84]
2016-02-03 09:42:16 -06:00
scchan 39fb16bc5f add inline attribute to shfl functions
[ROCm/hip commit: 265c42500f]
2016-02-02 12:53:17 -06:00
streamhsa af8cc35552 Adjusted the value of __any as per CUDA -sandeep
[ROCm/hip commit: 974d491902]
2016-02-02 15:25:42 +05:30
streamhsa e4635c36a0 ADDED Support for __ffs() and __ffsll() having signed input -sandeep
[ROCm/hip commit: 23904df99b]
2016-02-02 15:05:46 +05:30
scchan ca142c6d9c adding shfl, shfl_up, shfl_down, shfl_xor intrinsics
[ROCm/hip commit: 04f3e3e598]
2016-02-01 23:55:31 -06:00
Maneesh Gupta 9ed3ef50fe Add double and integer intrinsics to test
[ROCm/hip commit: 861cba6f75]
2016-02-01 16:00:45 +05:30
Maneesh Gupta 1b4ad3eedf Add few more single precision intrinsics to hcc_detail/hip_runtime.h
[ROCm/hip commit: d2c6125a7c]
2016-02-01 14:29:50 +05:30
Maneesh Gupta 01c51ce734 Restrict using namespace hc::precise_math to device only
[ROCm/hip commit: 3b19fd578d]
2016-02-01 14:26:50 +05:30
Maneesh Gupta 3e13c7dae7 Remove redundant #define __HCC__ in hcc_detail/hip_runtime.h
[ROCm/hip commit: e55f3778e0]
2016-02-01 14:24:41 +05:30
sunway513 1b93c2f456 Fix some typos and incorrect namings in comments
[ROCm/hip commit: 02fa107967]
2016-01-28 13:17:44 -06:00
Ben Sander 97cf8b8ac9 Initial commit for GPUOpen Launch
[ROCm/hip commit: f38e63ff18]
2016-01-26 20:14:33 -06:00