triton-windows 3.2.0.post11__cp313-cp313-win_amd64.whl → 3.3.0a0.post11__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of triton-windows might be problematic. Click here for more details.
- triton/_C/libtriton.pyd +0 -0
- triton/__init__.py +3 -3
- triton/_internal_testing.py +59 -4
- triton/_utils.py +35 -0
- triton/backends/amd/compiler.py +121 -74
- triton/backends/amd/driver.py +77 -43
- triton/backends/amd/include/hip/amd_detail/amd_device_functions.h +28 -49
- triton/backends/amd/include/hip/amd_detail/amd_hip_atomic.h +35 -9
- triton/backends/amd/include/hip/amd_detail/amd_hip_bf16.h +761 -284
- triton/backends/amd/include/hip/amd_detail/amd_hip_cooperative_groups.h +9 -3
- triton/backends/amd/include/hip/amd_detail/amd_hip_fp8.h +1391 -0
- triton/backends/amd/include/hip/amd_detail/amd_hip_gl_interop.h +3 -3
- triton/backends/amd/include/hip/amd_detail/amd_warp_functions.h +44 -0
- triton/backends/amd/include/hip/amd_detail/amd_warp_sync_functions.h +288 -0
- triton/backends/amd/include/hip/amd_detail/hip_api_trace.hpp +110 -14
- triton/backends/amd/include/hip/amd_detail/hip_prof_str.h +504 -103
- triton/backends/amd/include/hip/amd_detail/hip_runtime_prof.h +2 -1
- triton/backends/amd/include/hip/amd_detail/host_defines.h +4 -0
- triton/backends/amd/include/hip/hip_ext.h +4 -2
- triton/backends/amd/include/hip/hip_fp8.h +33 -0
- triton/backends/amd/include/hip/hip_runtime_api.h +375 -33
- triton/backends/amd/include/hip/hip_version.h +3 -3
- triton/backends/amd/include/hip/hiprtc.h +25 -25
- triton/backends/amd/include/hsa/amd_hsa_elf.h +40 -14
- triton/backends/amd/include/hsa/hsa.h +11 -2
- triton/backends/amd/include/hsa/hsa_api_trace.h +30 -17
- triton/backends/amd/include/hsa/hsa_api_trace_version.h +68 -0
- triton/backends/amd/include/hsa/hsa_ext_amd.h +83 -27
- triton/backends/amd/include/hsa/hsa_ven_amd_aqlprofile.h +46 -46
- triton/backends/amd/include/hsa/hsa_ven_amd_pc_sampling.h +416 -0
- triton/backends/amd/include/roctracer/hip_ostream_ops.h +84 -4
- triton/backends/amd/include/roctracer/hsa_ostream_ops.h +260 -0
- triton/backends/amd/include/roctracer/hsa_prof_str.h +51 -19
- triton/backends/amd/lib/asanrtl.bc +0 -0
- triton/backends/compiler.py +25 -225
- triton/backends/driver.py +7 -2
- triton/backends/nvidia/bin/ptxas.exe +0 -0
- triton/backends/nvidia/compiler.py +135 -90
- triton/backends/nvidia/driver.c +0 -1
- triton/backends/nvidia/driver.py +135 -49
- triton/backends/nvidia/include/cuda.h +2162 -241
- triton/backends/nvidia/lib/x64/cuda.lib +0 -0
- triton/compiler/__init__.py +2 -2
- triton/compiler/code_generator.py +334 -231
- triton/compiler/compiler.py +77 -66
- triton/language/__init__.py +22 -5
- triton/language/core.py +448 -74
- triton/language/extra/cuda/_experimental_tma.py +3 -5
- triton/language/math.py +1 -1
- triton/language/random.py +2 -1
- triton/language/semantic.py +206 -52
- triton/language/standard.py +35 -18
- triton/runtime/_allocation.py +32 -0
- triton/runtime/autotuner.py +27 -32
- triton/runtime/build.py +1 -48
- triton/runtime/cache.py +6 -6
- triton/runtime/errors.py +10 -0
- triton/runtime/interpreter.py +179 -45
- triton/runtime/jit.py +149 -190
- triton/testing.py +39 -11
- triton/tools/compile.py +27 -20
- triton/tools/{compile.c → extra/cuda/compile.c} +1 -0
- triton/tools/mxfp.py +301 -0
- {triton_windows-3.2.0.post11.dist-info → triton_windows-3.3.0a0.post11.dist-info}/METADATA +5 -2
- {triton_windows-3.2.0.post11.dist-info → triton_windows-3.3.0a0.post11.dist-info}/RECORD +68 -59
- {triton_windows-3.2.0.post11.dist-info → triton_windows-3.3.0a0.post11.dist-info}/top_level.txt +2 -0
- /triton/tools/{compile.h → extra/cuda/compile.h} +0 -0
- {triton_windows-3.2.0.post11.dist-info → triton_windows-3.3.0a0.post11.dist-info}/WHEEL +0 -0
|
@@ -385,8 +385,8 @@ enum hip_api_id_t {
|
|
|
385
385
|
HIP_API_ID_hipChooseDeviceR0600 = 365,
|
|
386
386
|
HIP_API_ID_hipDrvGraphAddMemcpyNode = 366,
|
|
387
387
|
HIP_API_ID_hipDrvGraphAddMemsetNode = 367,
|
|
388
|
-
|
|
389
|
-
|
|
388
|
+
HIP_API_ID_RESERVED_368 = 368,
|
|
389
|
+
HIP_API_ID_RESERVED_369 = 369,
|
|
390
390
|
HIP_API_ID_hipGetDevicePropertiesR0600 = 370,
|
|
391
391
|
HIP_API_ID_hipGraphAddExternalSemaphoresSignalNode = 371,
|
|
392
392
|
HIP_API_ID_hipGraphAddExternalSemaphoresWaitNode = 372,
|
|
@@ -397,7 +397,27 @@ enum hip_api_id_t {
|
|
|
397
397
|
HIP_API_ID_hipGraphExternalSemaphoresWaitNodeGetParams = 377,
|
|
398
398
|
HIP_API_ID_hipGraphExternalSemaphoresWaitNodeSetParams = 378,
|
|
399
399
|
HIP_API_ID_hipExtGetLastError = 379,
|
|
400
|
-
|
|
400
|
+
HIP_API_ID_hipGraphAddNode = 380,
|
|
401
|
+
HIP_API_ID_hipGetProcAddress = 381,
|
|
402
|
+
HIP_API_ID_RESERVED_382 = 382,
|
|
403
|
+
HIP_API_ID_RESERVED_383 = 383,
|
|
404
|
+
HIP_API_ID_hipGraphInstantiateWithParams = 384,
|
|
405
|
+
HIP_API_ID_RESERVED_385 = 385,
|
|
406
|
+
HIP_API_ID_RESERVED_386 = 386,
|
|
407
|
+
HIP_API_ID_RESERVED_387 = 387,
|
|
408
|
+
HIP_API_ID_RESERVED_388 = 388,
|
|
409
|
+
HIP_API_ID_hipTexRefGetArray = 389,
|
|
410
|
+
HIP_API_ID_hipTexRefGetBorderColor = 390,
|
|
411
|
+
HIP_API_ID_hipStreamBeginCaptureToGraph = 391,
|
|
412
|
+
HIP_API_ID_hipGetFuncBySymbol = 392,
|
|
413
|
+
HIP_API_ID_hipMemcpy2DArrayToArray = 393,
|
|
414
|
+
HIP_API_ID_hipMemcpyAtoA = 394,
|
|
415
|
+
HIP_API_ID_hipMemcpyAtoD = 395,
|
|
416
|
+
HIP_API_ID_hipMemcpyAtoHAsync = 396,
|
|
417
|
+
HIP_API_ID_hipMemcpyDtoA = 397,
|
|
418
|
+
HIP_API_ID_hipMemcpyHtoAAsync = 398,
|
|
419
|
+
HIP_API_ID_hipSetValidDevices = 399,
|
|
420
|
+
HIP_API_ID_LAST = 399,
|
|
401
421
|
|
|
402
422
|
HIP_API_ID_hipChooseDevice = HIP_API_ID_CONCAT(HIP_API_ID_,hipChooseDevice),
|
|
403
423
|
HIP_API_ID_hipGetDeviceProperties = HIP_API_ID_CONCAT(HIP_API_ID_,hipGetDeviceProperties),
|
|
@@ -414,24 +434,14 @@ enum hip_api_id_t {
|
|
|
414
434
|
HIP_API_ID_hipGetTextureObjectResourceViewDesc = HIP_API_ID_NONE,
|
|
415
435
|
HIP_API_ID_hipGetTextureObjectTextureDesc = HIP_API_ID_NONE,
|
|
416
436
|
HIP_API_ID_hipGetTextureReference = HIP_API_ID_NONE,
|
|
417
|
-
HIP_API_ID_hipMemcpy2DArrayToArray = HIP_API_ID_NONE,
|
|
418
|
-
HIP_API_ID_hipMemcpyAtoA = HIP_API_ID_NONE,
|
|
419
|
-
HIP_API_ID_hipMemcpyAtoD = HIP_API_ID_NONE,
|
|
420
|
-
HIP_API_ID_hipMemcpyAtoHAsync = HIP_API_ID_NONE,
|
|
421
|
-
HIP_API_ID_hipMemcpyDtoA = HIP_API_ID_NONE,
|
|
422
|
-
HIP_API_ID_hipMemcpyHtoAAsync = HIP_API_ID_NONE,
|
|
423
|
-
HIP_API_ID_hipSetValidDevices = HIP_API_ID_NONE,
|
|
424
437
|
HIP_API_ID_hipTexObjectCreate = HIP_API_ID_NONE,
|
|
425
438
|
HIP_API_ID_hipTexObjectDestroy = HIP_API_ID_NONE,
|
|
426
439
|
HIP_API_ID_hipTexObjectGetResourceDesc = HIP_API_ID_NONE,
|
|
427
440
|
HIP_API_ID_hipTexObjectGetResourceViewDesc = HIP_API_ID_NONE,
|
|
428
441
|
HIP_API_ID_hipTexObjectGetTextureDesc = HIP_API_ID_NONE,
|
|
429
442
|
HIP_API_ID_hipTexRefGetAddressMode = HIP_API_ID_NONE,
|
|
430
|
-
HIP_API_ID_hipTexRefGetArray = HIP_API_ID_NONE,
|
|
431
|
-
HIP_API_ID_hipTexRefGetBorderColor = HIP_API_ID_NONE,
|
|
432
443
|
HIP_API_ID_hipTexRefGetFilterMode = HIP_API_ID_NONE,
|
|
433
444
|
HIP_API_ID_hipTexRefGetMipmapFilterMode = HIP_API_ID_NONE,
|
|
434
|
-
HIP_API_ID_hipTexRefGetMipmappedArray = HIP_API_ID_NONE,
|
|
435
445
|
HIP_API_ID_hipTexRefSetAddressMode = HIP_API_ID_NONE,
|
|
436
446
|
HIP_API_ID_hipTexRefSetFilterMode = HIP_API_ID_NONE,
|
|
437
447
|
HIP_API_ID_hipTexRefSetMipmapFilterMode = HIP_API_ID_NONE,
|
|
@@ -510,8 +520,6 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
510
520
|
case HIP_API_ID_hipDriverGetVersion: return "hipDriverGetVersion";
|
|
511
521
|
case HIP_API_ID_hipDrvGraphAddMemcpyNode: return "hipDrvGraphAddMemcpyNode";
|
|
512
522
|
case HIP_API_ID_hipDrvGraphAddMemsetNode: return "hipDrvGraphAddMemsetNode";
|
|
513
|
-
case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams: return "hipDrvGraphMemcpyNodeGetParams";
|
|
514
|
-
case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams: return "hipDrvGraphMemcpyNodeSetParams";
|
|
515
523
|
case HIP_API_ID_hipDrvMemcpy2DUnaligned: return "hipDrvMemcpy2DUnaligned";
|
|
516
524
|
case HIP_API_ID_hipDrvMemcpy3D: return "hipDrvMemcpy3D";
|
|
517
525
|
case HIP_API_ID_hipDrvMemcpy3DAsync: return "hipDrvMemcpy3DAsync";
|
|
@@ -523,6 +531,7 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
523
531
|
case HIP_API_ID_hipEventQuery: return "hipEventQuery";
|
|
524
532
|
case HIP_API_ID_hipEventRecord: return "hipEventRecord";
|
|
525
533
|
case HIP_API_ID_hipEventSynchronize: return "hipEventSynchronize";
|
|
534
|
+
case HIP_API_ID_hipExtGetLastError: return "hipExtGetLastError";
|
|
526
535
|
case HIP_API_ID_hipExtGetLinkTypeAndHopCount: return "hipExtGetLinkTypeAndHopCount";
|
|
527
536
|
case HIP_API_ID_hipExtLaunchKernel: return "hipExtLaunchKernel";
|
|
528
537
|
case HIP_API_ID_hipExtLaunchMultiKernelMultiDevice: return "hipExtLaunchMultiKernelMultiDevice";
|
|
@@ -550,8 +559,10 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
550
559
|
case HIP_API_ID_hipGetDevicePropertiesR0000: return "hipGetDevicePropertiesR0000";
|
|
551
560
|
case HIP_API_ID_hipGetDevicePropertiesR0600: return "hipGetDevicePropertiesR0600";
|
|
552
561
|
case HIP_API_ID_hipGetErrorString: return "hipGetErrorString";
|
|
562
|
+
case HIP_API_ID_hipGetFuncBySymbol: return "hipGetFuncBySymbol";
|
|
553
563
|
case HIP_API_ID_hipGetLastError: return "hipGetLastError";
|
|
554
564
|
case HIP_API_ID_hipGetMipmappedArrayLevel: return "hipGetMipmappedArrayLevel";
|
|
565
|
+
case HIP_API_ID_hipGetProcAddress: return "hipGetProcAddress";
|
|
555
566
|
case HIP_API_ID_hipGetSymbolAddress: return "hipGetSymbolAddress";
|
|
556
567
|
case HIP_API_ID_hipGetSymbolSize: return "hipGetSymbolSize";
|
|
557
568
|
case HIP_API_ID_hipGraphAddChildGraphNode: return "hipGraphAddChildGraphNode";
|
|
@@ -570,6 +581,7 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
570
581
|
case HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol: return "hipGraphAddMemcpyNodeFromSymbol";
|
|
571
582
|
case HIP_API_ID_hipGraphAddMemcpyNodeToSymbol: return "hipGraphAddMemcpyNodeToSymbol";
|
|
572
583
|
case HIP_API_ID_hipGraphAddMemsetNode: return "hipGraphAddMemsetNode";
|
|
584
|
+
case HIP_API_ID_hipGraphAddNode: return "hipGraphAddNode";
|
|
573
585
|
case HIP_API_ID_hipGraphChildGraphNodeGetGraph: return "hipGraphChildGraphNodeGetGraph";
|
|
574
586
|
case HIP_API_ID_hipGraphClone: return "hipGraphClone";
|
|
575
587
|
case HIP_API_ID_hipGraphCreate: return "hipGraphCreate";
|
|
@@ -605,6 +617,7 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
605
617
|
case HIP_API_ID_hipGraphHostNodeSetParams: return "hipGraphHostNodeSetParams";
|
|
606
618
|
case HIP_API_ID_hipGraphInstantiate: return "hipGraphInstantiate";
|
|
607
619
|
case HIP_API_ID_hipGraphInstantiateWithFlags: return "hipGraphInstantiateWithFlags";
|
|
620
|
+
case HIP_API_ID_hipGraphInstantiateWithParams: return "hipGraphInstantiateWithParams";
|
|
608
621
|
case HIP_API_ID_hipGraphKernelNodeCopyAttributes: return "hipGraphKernelNodeCopyAttributes";
|
|
609
622
|
case HIP_API_ID_hipGraphKernelNodeGetAttribute: return "hipGraphKernelNodeGetAttribute";
|
|
610
623
|
case HIP_API_ID_hipGraphKernelNodeGetParams: return "hipGraphKernelNodeGetParams";
|
|
@@ -704,6 +717,7 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
704
717
|
case HIP_API_ID_hipMemUnmap: return "hipMemUnmap";
|
|
705
718
|
case HIP_API_ID_hipMemcpy: return "hipMemcpy";
|
|
706
719
|
case HIP_API_ID_hipMemcpy2D: return "hipMemcpy2D";
|
|
720
|
+
case HIP_API_ID_hipMemcpy2DArrayToArray: return "hipMemcpy2DArrayToArray";
|
|
707
721
|
case HIP_API_ID_hipMemcpy2DAsync: return "hipMemcpy2DAsync";
|
|
708
722
|
case HIP_API_ID_hipMemcpy2DFromArray: return "hipMemcpy2DFromArray";
|
|
709
723
|
case HIP_API_ID_hipMemcpy2DFromArrayAsync: return "hipMemcpy2DFromArrayAsync";
|
|
@@ -712,7 +726,11 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
712
726
|
case HIP_API_ID_hipMemcpy3D: return "hipMemcpy3D";
|
|
713
727
|
case HIP_API_ID_hipMemcpy3DAsync: return "hipMemcpy3DAsync";
|
|
714
728
|
case HIP_API_ID_hipMemcpyAsync: return "hipMemcpyAsync";
|
|
729
|
+
case HIP_API_ID_hipMemcpyAtoA: return "hipMemcpyAtoA";
|
|
730
|
+
case HIP_API_ID_hipMemcpyAtoD: return "hipMemcpyAtoD";
|
|
715
731
|
case HIP_API_ID_hipMemcpyAtoH: return "hipMemcpyAtoH";
|
|
732
|
+
case HIP_API_ID_hipMemcpyAtoHAsync: return "hipMemcpyAtoHAsync";
|
|
733
|
+
case HIP_API_ID_hipMemcpyDtoA: return "hipMemcpyDtoA";
|
|
716
734
|
case HIP_API_ID_hipMemcpyDtoD: return "hipMemcpyDtoD";
|
|
717
735
|
case HIP_API_ID_hipMemcpyDtoDAsync: return "hipMemcpyDtoDAsync";
|
|
718
736
|
case HIP_API_ID_hipMemcpyDtoH: return "hipMemcpyDtoH";
|
|
@@ -721,6 +739,7 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
721
739
|
case HIP_API_ID_hipMemcpyFromSymbol: return "hipMemcpyFromSymbol";
|
|
722
740
|
case HIP_API_ID_hipMemcpyFromSymbolAsync: return "hipMemcpyFromSymbolAsync";
|
|
723
741
|
case HIP_API_ID_hipMemcpyHtoA: return "hipMemcpyHtoA";
|
|
742
|
+
case HIP_API_ID_hipMemcpyHtoAAsync: return "hipMemcpyHtoAAsync";
|
|
724
743
|
case HIP_API_ID_hipMemcpyHtoD: return "hipMemcpyHtoD";
|
|
725
744
|
case HIP_API_ID_hipMemcpyHtoDAsync: return "hipMemcpyHtoDAsync";
|
|
726
745
|
case HIP_API_ID_hipMemcpyParam2D: return "hipMemcpyParam2D";
|
|
@@ -772,11 +791,13 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
772
791
|
case HIP_API_ID_hipRuntimeGetVersion: return "hipRuntimeGetVersion";
|
|
773
792
|
case HIP_API_ID_hipSetDevice: return "hipSetDevice";
|
|
774
793
|
case HIP_API_ID_hipSetDeviceFlags: return "hipSetDeviceFlags";
|
|
794
|
+
case HIP_API_ID_hipSetValidDevices: return "hipSetValidDevices";
|
|
775
795
|
case HIP_API_ID_hipSetupArgument: return "hipSetupArgument";
|
|
776
796
|
case HIP_API_ID_hipSignalExternalSemaphoresAsync: return "hipSignalExternalSemaphoresAsync";
|
|
777
797
|
case HIP_API_ID_hipStreamAddCallback: return "hipStreamAddCallback";
|
|
778
798
|
case HIP_API_ID_hipStreamAttachMemAsync: return "hipStreamAttachMemAsync";
|
|
779
799
|
case HIP_API_ID_hipStreamBeginCapture: return "hipStreamBeginCapture";
|
|
800
|
+
case HIP_API_ID_hipStreamBeginCaptureToGraph: return "hipStreamBeginCaptureToGraph";
|
|
780
801
|
case HIP_API_ID_hipStreamCreate: return "hipStreamCreate";
|
|
781
802
|
case HIP_API_ID_hipStreamCreateWithFlags: return "hipStreamCreateWithFlags";
|
|
782
803
|
case HIP_API_ID_hipStreamCreateWithPriority: return "hipStreamCreateWithPriority";
|
|
@@ -797,6 +818,8 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
797
818
|
case HIP_API_ID_hipStreamWriteValue32: return "hipStreamWriteValue32";
|
|
798
819
|
case HIP_API_ID_hipStreamWriteValue64: return "hipStreamWriteValue64";
|
|
799
820
|
case HIP_API_ID_hipTexRefGetAddress: return "hipTexRefGetAddress";
|
|
821
|
+
case HIP_API_ID_hipTexRefGetArray: return "hipTexRefGetArray";
|
|
822
|
+
case HIP_API_ID_hipTexRefGetBorderColor: return "hipTexRefGetBorderColor";
|
|
800
823
|
case HIP_API_ID_hipTexRefGetFlags: return "hipTexRefGetFlags";
|
|
801
824
|
case HIP_API_ID_hipTexRefGetFormat: return "hipTexRefGetFormat";
|
|
802
825
|
case HIP_API_ID_hipTexRefGetMaxAnisotropy: return "hipTexRefGetMaxAnisotropy";
|
|
@@ -818,7 +841,6 @@ static inline const char* hip_api_name(const uint32_t id) {
|
|
|
818
841
|
case HIP_API_ID_hipUserObjectRelease: return "hipUserObjectRelease";
|
|
819
842
|
case HIP_API_ID_hipUserObjectRetain: return "hipUserObjectRetain";
|
|
820
843
|
case HIP_API_ID_hipWaitExternalSemaphoresAsync: return "hipWaitExternalSemaphoresAsync";
|
|
821
|
-
case HIP_API_ID_hipExtGetLastError: return "hipExtGetLastError";
|
|
822
844
|
};
|
|
823
845
|
return "unknown";
|
|
824
846
|
};
|
|
@@ -892,8 +914,6 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
892
914
|
if (strcmp("hipDriverGetVersion", name) == 0) return HIP_API_ID_hipDriverGetVersion;
|
|
893
915
|
if (strcmp("hipDrvGraphAddMemcpyNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemcpyNode;
|
|
894
916
|
if (strcmp("hipDrvGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipDrvGraphAddMemsetNode;
|
|
895
|
-
if (strcmp("hipDrvGraphMemcpyNodeGetParams", name) == 0) return HIP_API_ID_hipDrvGraphMemcpyNodeGetParams;
|
|
896
|
-
if (strcmp("hipDrvGraphMemcpyNodeSetParams", name) == 0) return HIP_API_ID_hipDrvGraphMemcpyNodeSetParams;
|
|
897
917
|
if (strcmp("hipDrvMemcpy2DUnaligned", name) == 0) return HIP_API_ID_hipDrvMemcpy2DUnaligned;
|
|
898
918
|
if (strcmp("hipDrvMemcpy3D", name) == 0) return HIP_API_ID_hipDrvMemcpy3D;
|
|
899
919
|
if (strcmp("hipDrvMemcpy3DAsync", name) == 0) return HIP_API_ID_hipDrvMemcpy3DAsync;
|
|
@@ -905,6 +925,7 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
905
925
|
if (strcmp("hipEventQuery", name) == 0) return HIP_API_ID_hipEventQuery;
|
|
906
926
|
if (strcmp("hipEventRecord", name) == 0) return HIP_API_ID_hipEventRecord;
|
|
907
927
|
if (strcmp("hipEventSynchronize", name) == 0) return HIP_API_ID_hipEventSynchronize;
|
|
928
|
+
if (strcmp("hipExtGetLastError", name) == 0) return HIP_API_ID_hipExtGetLastError;
|
|
908
929
|
if (strcmp("hipExtGetLinkTypeAndHopCount", name) == 0) return HIP_API_ID_hipExtGetLinkTypeAndHopCount;
|
|
909
930
|
if (strcmp("hipExtLaunchKernel", name) == 0) return HIP_API_ID_hipExtLaunchKernel;
|
|
910
931
|
if (strcmp("hipExtLaunchMultiKernelMultiDevice", name) == 0) return HIP_API_ID_hipExtLaunchMultiKernelMultiDevice;
|
|
@@ -932,8 +953,10 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
932
953
|
if (strcmp("hipGetDevicePropertiesR0000", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0000;
|
|
933
954
|
if (strcmp("hipGetDevicePropertiesR0600", name) == 0) return HIP_API_ID_hipGetDevicePropertiesR0600;
|
|
934
955
|
if (strcmp("hipGetErrorString", name) == 0) return HIP_API_ID_hipGetErrorString;
|
|
956
|
+
if (strcmp("hipGetFuncBySymbol", name) == 0) return HIP_API_ID_hipGetFuncBySymbol;
|
|
935
957
|
if (strcmp("hipGetLastError", name) == 0) return HIP_API_ID_hipGetLastError;
|
|
936
958
|
if (strcmp("hipGetMipmappedArrayLevel", name) == 0) return HIP_API_ID_hipGetMipmappedArrayLevel;
|
|
959
|
+
if (strcmp("hipGetProcAddress", name) == 0) return HIP_API_ID_hipGetProcAddress;
|
|
937
960
|
if (strcmp("hipGetSymbolAddress", name) == 0) return HIP_API_ID_hipGetSymbolAddress;
|
|
938
961
|
if (strcmp("hipGetSymbolSize", name) == 0) return HIP_API_ID_hipGetSymbolSize;
|
|
939
962
|
if (strcmp("hipGraphAddChildGraphNode", name) == 0) return HIP_API_ID_hipGraphAddChildGraphNode;
|
|
@@ -952,6 +975,7 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
952
975
|
if (strcmp("hipGraphAddMemcpyNodeFromSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeFromSymbol;
|
|
953
976
|
if (strcmp("hipGraphAddMemcpyNodeToSymbol", name) == 0) return HIP_API_ID_hipGraphAddMemcpyNodeToSymbol;
|
|
954
977
|
if (strcmp("hipGraphAddMemsetNode", name) == 0) return HIP_API_ID_hipGraphAddMemsetNode;
|
|
978
|
+
if (strcmp("hipGraphAddNode", name) == 0) return HIP_API_ID_hipGraphAddNode;
|
|
955
979
|
if (strcmp("hipGraphChildGraphNodeGetGraph", name) == 0) return HIP_API_ID_hipGraphChildGraphNodeGetGraph;
|
|
956
980
|
if (strcmp("hipGraphClone", name) == 0) return HIP_API_ID_hipGraphClone;
|
|
957
981
|
if (strcmp("hipGraphCreate", name) == 0) return HIP_API_ID_hipGraphCreate;
|
|
@@ -987,6 +1011,7 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
987
1011
|
if (strcmp("hipGraphHostNodeSetParams", name) == 0) return HIP_API_ID_hipGraphHostNodeSetParams;
|
|
988
1012
|
if (strcmp("hipGraphInstantiate", name) == 0) return HIP_API_ID_hipGraphInstantiate;
|
|
989
1013
|
if (strcmp("hipGraphInstantiateWithFlags", name) == 0) return HIP_API_ID_hipGraphInstantiateWithFlags;
|
|
1014
|
+
if (strcmp("hipGraphInstantiateWithParams", name) == 0) return HIP_API_ID_hipGraphInstantiateWithParams;
|
|
990
1015
|
if (strcmp("hipGraphKernelNodeCopyAttributes", name) == 0) return HIP_API_ID_hipGraphKernelNodeCopyAttributes;
|
|
991
1016
|
if (strcmp("hipGraphKernelNodeGetAttribute", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetAttribute;
|
|
992
1017
|
if (strcmp("hipGraphKernelNodeGetParams", name) == 0) return HIP_API_ID_hipGraphKernelNodeGetParams;
|
|
@@ -1086,6 +1111,7 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
1086
1111
|
if (strcmp("hipMemUnmap", name) == 0) return HIP_API_ID_hipMemUnmap;
|
|
1087
1112
|
if (strcmp("hipMemcpy", name) == 0) return HIP_API_ID_hipMemcpy;
|
|
1088
1113
|
if (strcmp("hipMemcpy2D", name) == 0) return HIP_API_ID_hipMemcpy2D;
|
|
1114
|
+
if (strcmp("hipMemcpy2DArrayToArray", name) == 0) return HIP_API_ID_hipMemcpy2DArrayToArray;
|
|
1089
1115
|
if (strcmp("hipMemcpy2DAsync", name) == 0) return HIP_API_ID_hipMemcpy2DAsync;
|
|
1090
1116
|
if (strcmp("hipMemcpy2DFromArray", name) == 0) return HIP_API_ID_hipMemcpy2DFromArray;
|
|
1091
1117
|
if (strcmp("hipMemcpy2DFromArrayAsync", name) == 0) return HIP_API_ID_hipMemcpy2DFromArrayAsync;
|
|
@@ -1094,7 +1120,11 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
1094
1120
|
if (strcmp("hipMemcpy3D", name) == 0) return HIP_API_ID_hipMemcpy3D;
|
|
1095
1121
|
if (strcmp("hipMemcpy3DAsync", name) == 0) return HIP_API_ID_hipMemcpy3DAsync;
|
|
1096
1122
|
if (strcmp("hipMemcpyAsync", name) == 0) return HIP_API_ID_hipMemcpyAsync;
|
|
1123
|
+
if (strcmp("hipMemcpyAtoA", name) == 0) return HIP_API_ID_hipMemcpyAtoA;
|
|
1124
|
+
if (strcmp("hipMemcpyAtoD", name) == 0) return HIP_API_ID_hipMemcpyAtoD;
|
|
1097
1125
|
if (strcmp("hipMemcpyAtoH", name) == 0) return HIP_API_ID_hipMemcpyAtoH;
|
|
1126
|
+
if (strcmp("hipMemcpyAtoHAsync", name) == 0) return HIP_API_ID_hipMemcpyAtoHAsync;
|
|
1127
|
+
if (strcmp("hipMemcpyDtoA", name) == 0) return HIP_API_ID_hipMemcpyDtoA;
|
|
1098
1128
|
if (strcmp("hipMemcpyDtoD", name) == 0) return HIP_API_ID_hipMemcpyDtoD;
|
|
1099
1129
|
if (strcmp("hipMemcpyDtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyDtoDAsync;
|
|
1100
1130
|
if (strcmp("hipMemcpyDtoH", name) == 0) return HIP_API_ID_hipMemcpyDtoH;
|
|
@@ -1103,6 +1133,7 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
1103
1133
|
if (strcmp("hipMemcpyFromSymbol", name) == 0) return HIP_API_ID_hipMemcpyFromSymbol;
|
|
1104
1134
|
if (strcmp("hipMemcpyFromSymbolAsync", name) == 0) return HIP_API_ID_hipMemcpyFromSymbolAsync;
|
|
1105
1135
|
if (strcmp("hipMemcpyHtoA", name) == 0) return HIP_API_ID_hipMemcpyHtoA;
|
|
1136
|
+
if (strcmp("hipMemcpyHtoAAsync", name) == 0) return HIP_API_ID_hipMemcpyHtoAAsync;
|
|
1106
1137
|
if (strcmp("hipMemcpyHtoD", name) == 0) return HIP_API_ID_hipMemcpyHtoD;
|
|
1107
1138
|
if (strcmp("hipMemcpyHtoDAsync", name) == 0) return HIP_API_ID_hipMemcpyHtoDAsync;
|
|
1108
1139
|
if (strcmp("hipMemcpyParam2D", name) == 0) return HIP_API_ID_hipMemcpyParam2D;
|
|
@@ -1154,11 +1185,13 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
1154
1185
|
if (strcmp("hipRuntimeGetVersion", name) == 0) return HIP_API_ID_hipRuntimeGetVersion;
|
|
1155
1186
|
if (strcmp("hipSetDevice", name) == 0) return HIP_API_ID_hipSetDevice;
|
|
1156
1187
|
if (strcmp("hipSetDeviceFlags", name) == 0) return HIP_API_ID_hipSetDeviceFlags;
|
|
1188
|
+
if (strcmp("hipSetValidDevices", name) == 0) return HIP_API_ID_hipSetValidDevices;
|
|
1157
1189
|
if (strcmp("hipSetupArgument", name) == 0) return HIP_API_ID_hipSetupArgument;
|
|
1158
1190
|
if (strcmp("hipSignalExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipSignalExternalSemaphoresAsync;
|
|
1159
1191
|
if (strcmp("hipStreamAddCallback", name) == 0) return HIP_API_ID_hipStreamAddCallback;
|
|
1160
1192
|
if (strcmp("hipStreamAttachMemAsync", name) == 0) return HIP_API_ID_hipStreamAttachMemAsync;
|
|
1161
1193
|
if (strcmp("hipStreamBeginCapture", name) == 0) return HIP_API_ID_hipStreamBeginCapture;
|
|
1194
|
+
if (strcmp("hipStreamBeginCaptureToGraph", name) == 0) return HIP_API_ID_hipStreamBeginCaptureToGraph;
|
|
1162
1195
|
if (strcmp("hipStreamCreate", name) == 0) return HIP_API_ID_hipStreamCreate;
|
|
1163
1196
|
if (strcmp("hipStreamCreateWithFlags", name) == 0) return HIP_API_ID_hipStreamCreateWithFlags;
|
|
1164
1197
|
if (strcmp("hipStreamCreateWithPriority", name) == 0) return HIP_API_ID_hipStreamCreateWithPriority;
|
|
@@ -1179,6 +1212,8 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
1179
1212
|
if (strcmp("hipStreamWriteValue32", name) == 0) return HIP_API_ID_hipStreamWriteValue32;
|
|
1180
1213
|
if (strcmp("hipStreamWriteValue64", name) == 0) return HIP_API_ID_hipStreamWriteValue64;
|
|
1181
1214
|
if (strcmp("hipTexRefGetAddress", name) == 0) return HIP_API_ID_hipTexRefGetAddress;
|
|
1215
|
+
if (strcmp("hipTexRefGetArray", name) == 0) return HIP_API_ID_hipTexRefGetArray;
|
|
1216
|
+
if (strcmp("hipTexRefGetBorderColor", name) == 0) return HIP_API_ID_hipTexRefGetBorderColor;
|
|
1182
1217
|
if (strcmp("hipTexRefGetFlags", name) == 0) return HIP_API_ID_hipTexRefGetFlags;
|
|
1183
1218
|
if (strcmp("hipTexRefGetFormat", name) == 0) return HIP_API_ID_hipTexRefGetFormat;
|
|
1184
1219
|
if (strcmp("hipTexRefGetMaxAnisotropy", name) == 0) return HIP_API_ID_hipTexRefGetMaxAnisotropy;
|
|
@@ -1200,7 +1235,6 @@ static inline uint32_t hipApiIdByName(const char* name) {
|
|
|
1200
1235
|
if (strcmp("hipUserObjectRelease", name) == 0) return HIP_API_ID_hipUserObjectRelease;
|
|
1201
1236
|
if (strcmp("hipUserObjectRetain", name) == 0) return HIP_API_ID_hipUserObjectRetain;
|
|
1202
1237
|
if (strcmp("hipWaitExternalSemaphoresAsync", name) == 0) return HIP_API_ID_hipWaitExternalSemaphoresAsync;
|
|
1203
|
-
if (strcmp("hipExtGetLastError", name) == 0) return HIP_API_ID_hipExtGetLastError;
|
|
1204
1238
|
return HIP_API_ID_NONE;
|
|
1205
1239
|
}
|
|
1206
1240
|
|
|
@@ -1519,16 +1553,6 @@ typedef struct hip_api_data_s {
|
|
|
1519
1553
|
HIP_MEMSET_NODE_PARAMS memsetParams__val;
|
|
1520
1554
|
hipCtx_t ctx;
|
|
1521
1555
|
} hipDrvGraphAddMemsetNode;
|
|
1522
|
-
struct {
|
|
1523
|
-
hipGraphNode_t hNode;
|
|
1524
|
-
HIP_MEMCPY3D* nodeParams;
|
|
1525
|
-
HIP_MEMCPY3D nodeParams__val;
|
|
1526
|
-
} hipDrvGraphMemcpyNodeGetParams;
|
|
1527
|
-
struct {
|
|
1528
|
-
hipGraphNode_t hNode;
|
|
1529
|
-
const HIP_MEMCPY3D* nodeParams;
|
|
1530
|
-
HIP_MEMCPY3D nodeParams__val;
|
|
1531
|
-
} hipDrvGraphMemcpyNodeSetParams;
|
|
1532
1556
|
struct {
|
|
1533
1557
|
const hip_Memcpy2D* pCopy;
|
|
1534
1558
|
hip_Memcpy2D pCopy__val;
|
|
@@ -1730,12 +1754,27 @@ typedef struct hip_api_data_s {
|
|
|
1730
1754
|
hipDeviceProp_tR0600 prop__val;
|
|
1731
1755
|
int deviceId;
|
|
1732
1756
|
} hipGetDevicePropertiesR0600;
|
|
1757
|
+
struct {
|
|
1758
|
+
hipFunction_t* functionPtr;
|
|
1759
|
+
hipFunction_t functionPtr__val;
|
|
1760
|
+
const void* symbolPtr;
|
|
1761
|
+
} hipGetFuncBySymbol;
|
|
1733
1762
|
struct {
|
|
1734
1763
|
hipArray_t* levelArray;
|
|
1735
1764
|
hipArray_t levelArray__val;
|
|
1736
1765
|
hipMipmappedArray_const_t mipmappedArray;
|
|
1737
1766
|
unsigned int level;
|
|
1738
1767
|
} hipGetMipmappedArrayLevel;
|
|
1768
|
+
struct {
|
|
1769
|
+
const char* symbol;
|
|
1770
|
+
char symbol__val;
|
|
1771
|
+
void** pfn;
|
|
1772
|
+
void* pfn__val;
|
|
1773
|
+
int hipVersion;
|
|
1774
|
+
uint64_t flags;
|
|
1775
|
+
hipDriverProcAddressQueryResult* symbolStatus;
|
|
1776
|
+
hipDriverProcAddressQueryResult symbolStatus__val;
|
|
1777
|
+
} hipGetProcAddress;
|
|
1739
1778
|
struct {
|
|
1740
1779
|
void** devPtr;
|
|
1741
1780
|
void* devPtr__val;
|
|
@@ -1906,6 +1945,16 @@ typedef struct hip_api_data_s {
|
|
|
1906
1945
|
const hipMemsetParams* pMemsetParams;
|
|
1907
1946
|
hipMemsetParams pMemsetParams__val;
|
|
1908
1947
|
} hipGraphAddMemsetNode;
|
|
1948
|
+
struct {
|
|
1949
|
+
hipGraphNode_t* pGraphNode;
|
|
1950
|
+
hipGraphNode_t pGraphNode__val;
|
|
1951
|
+
hipGraph_t graph;
|
|
1952
|
+
const hipGraphNode_t* pDependencies;
|
|
1953
|
+
hipGraphNode_t pDependencies__val;
|
|
1954
|
+
size_t numDependencies;
|
|
1955
|
+
hipGraphNodeParams* nodeParams;
|
|
1956
|
+
hipGraphNodeParams nodeParams__val;
|
|
1957
|
+
} hipGraphAddNode;
|
|
1909
1958
|
struct {
|
|
1910
1959
|
hipGraphNode_t node;
|
|
1911
1960
|
hipGraph_t* pGraph;
|
|
@@ -2108,15 +2157,22 @@ typedef struct hip_api_data_s {
|
|
|
2108
2157
|
hipGraph_t graph;
|
|
2109
2158
|
unsigned long long flags;
|
|
2110
2159
|
} hipGraphInstantiateWithFlags;
|
|
2160
|
+
struct {
|
|
2161
|
+
hipGraphExec_t* pGraphExec;
|
|
2162
|
+
hipGraphExec_t pGraphExec__val;
|
|
2163
|
+
hipGraph_t graph;
|
|
2164
|
+
hipGraphInstantiateParams* instantiateParams;
|
|
2165
|
+
hipGraphInstantiateParams instantiateParams__val;
|
|
2166
|
+
} hipGraphInstantiateWithParams;
|
|
2111
2167
|
struct {
|
|
2112
2168
|
hipGraphNode_t hSrc;
|
|
2113
2169
|
hipGraphNode_t hDst;
|
|
2114
2170
|
} hipGraphKernelNodeCopyAttributes;
|
|
2115
2171
|
struct {
|
|
2116
2172
|
hipGraphNode_t hNode;
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2173
|
+
hipLaunchAttributeID attr;
|
|
2174
|
+
hipLaunchAttributeValue* value;
|
|
2175
|
+
hipLaunchAttributeValue value__val;
|
|
2120
2176
|
} hipGraphKernelNodeGetAttribute;
|
|
2121
2177
|
struct {
|
|
2122
2178
|
hipGraphNode_t node;
|
|
@@ -2125,9 +2181,9 @@ typedef struct hip_api_data_s {
|
|
|
2125
2181
|
} hipGraphKernelNodeGetParams;
|
|
2126
2182
|
struct {
|
|
2127
2183
|
hipGraphNode_t hNode;
|
|
2128
|
-
|
|
2129
|
-
const
|
|
2130
|
-
|
|
2184
|
+
hipLaunchAttributeID attr;
|
|
2185
|
+
const hipLaunchAttributeValue* value;
|
|
2186
|
+
hipLaunchAttributeValue value__val;
|
|
2131
2187
|
} hipGraphKernelNodeSetAttribute;
|
|
2132
2188
|
struct {
|
|
2133
2189
|
hipGraphNode_t node;
|
|
@@ -2702,6 +2758,17 @@ typedef struct hip_api_data_s {
|
|
|
2702
2758
|
size_t height;
|
|
2703
2759
|
hipMemcpyKind kind;
|
|
2704
2760
|
} hipMemcpy2D;
|
|
2761
|
+
struct {
|
|
2762
|
+
hipArray_t dst;
|
|
2763
|
+
size_t wOffsetDst;
|
|
2764
|
+
size_t hOffsetDst;
|
|
2765
|
+
hipArray_const_t src;
|
|
2766
|
+
size_t wOffsetSrc;
|
|
2767
|
+
size_t hOffsetSrc;
|
|
2768
|
+
size_t width;
|
|
2769
|
+
size_t height;
|
|
2770
|
+
hipMemcpyKind kind;
|
|
2771
|
+
} hipMemcpy2DArrayToArray;
|
|
2705
2772
|
struct {
|
|
2706
2773
|
void* dst;
|
|
2707
2774
|
size_t dpitch;
|
|
@@ -2770,12 +2837,38 @@ typedef struct hip_api_data_s {
|
|
|
2770
2837
|
hipMemcpyKind kind;
|
|
2771
2838
|
hipStream_t stream;
|
|
2772
2839
|
} hipMemcpyAsync;
|
|
2840
|
+
struct {
|
|
2841
|
+
hipArray_t dstArray;
|
|
2842
|
+
size_t dstOffset;
|
|
2843
|
+
hipArray_t srcArray;
|
|
2844
|
+
size_t srcOffset;
|
|
2845
|
+
size_t ByteCount;
|
|
2846
|
+
} hipMemcpyAtoA;
|
|
2847
|
+
struct {
|
|
2848
|
+
hipDeviceptr_t dstDevice;
|
|
2849
|
+
hipArray_t srcArray;
|
|
2850
|
+
size_t srcOffset;
|
|
2851
|
+
size_t ByteCount;
|
|
2852
|
+
} hipMemcpyAtoD;
|
|
2773
2853
|
struct {
|
|
2774
2854
|
void* dst;
|
|
2775
2855
|
hipArray_t srcArray;
|
|
2776
2856
|
size_t srcOffset;
|
|
2777
2857
|
size_t count;
|
|
2778
2858
|
} hipMemcpyAtoH;
|
|
2859
|
+
struct {
|
|
2860
|
+
void* dstHost;
|
|
2861
|
+
hipArray_t srcArray;
|
|
2862
|
+
size_t srcOffset;
|
|
2863
|
+
size_t ByteCount;
|
|
2864
|
+
hipStream_t stream;
|
|
2865
|
+
} hipMemcpyAtoHAsync;
|
|
2866
|
+
struct {
|
|
2867
|
+
hipArray_t dstArray;
|
|
2868
|
+
size_t dstOffset;
|
|
2869
|
+
hipDeviceptr_t srcDevice;
|
|
2870
|
+
size_t ByteCount;
|
|
2871
|
+
} hipMemcpyDtoA;
|
|
2779
2872
|
struct {
|
|
2780
2873
|
hipDeviceptr_t dst;
|
|
2781
2874
|
hipDeviceptr_t src;
|
|
@@ -2827,6 +2920,13 @@ typedef struct hip_api_data_s {
|
|
|
2827
2920
|
const void* srcHost;
|
|
2828
2921
|
size_t count;
|
|
2829
2922
|
} hipMemcpyHtoA;
|
|
2923
|
+
struct {
|
|
2924
|
+
hipArray_t dstArray;
|
|
2925
|
+
size_t dstOffset;
|
|
2926
|
+
const void* srcHost;
|
|
2927
|
+
size_t ByteCount;
|
|
2928
|
+
hipStream_t stream;
|
|
2929
|
+
} hipMemcpyHtoAAsync;
|
|
2830
2930
|
struct {
|
|
2831
2931
|
hipDeviceptr_t dst;
|
|
2832
2932
|
void* src;
|
|
@@ -3142,6 +3242,11 @@ typedef struct hip_api_data_s {
|
|
|
3142
3242
|
struct {
|
|
3143
3243
|
unsigned int flags;
|
|
3144
3244
|
} hipSetDeviceFlags;
|
|
3245
|
+
struct {
|
|
3246
|
+
int* device_arr;
|
|
3247
|
+
int device_arr__val;
|
|
3248
|
+
int len;
|
|
3249
|
+
} hipSetValidDevices;
|
|
3145
3250
|
struct {
|
|
3146
3251
|
const void* arg;
|
|
3147
3252
|
size_t size;
|
|
@@ -3171,6 +3276,16 @@ typedef struct hip_api_data_s {
|
|
|
3171
3276
|
hipStream_t stream;
|
|
3172
3277
|
hipStreamCaptureMode mode;
|
|
3173
3278
|
} hipStreamBeginCapture;
|
|
3279
|
+
struct {
|
|
3280
|
+
hipStream_t stream;
|
|
3281
|
+
hipGraph_t graph;
|
|
3282
|
+
const hipGraphNode_t* dependencies;
|
|
3283
|
+
hipGraphNode_t dependencies__val;
|
|
3284
|
+
const hipGraphEdgeData* dependencyData;
|
|
3285
|
+
hipGraphEdgeData dependencyData__val;
|
|
3286
|
+
size_t numDependencies;
|
|
3287
|
+
hipStreamCaptureMode mode;
|
|
3288
|
+
} hipStreamBeginCaptureToGraph;
|
|
3174
3289
|
struct {
|
|
3175
3290
|
hipStream_t* stream;
|
|
3176
3291
|
hipStream_t stream__val;
|
|
@@ -3284,6 +3399,18 @@ typedef struct hip_api_data_s {
|
|
|
3284
3399
|
const textureReference* texRef;
|
|
3285
3400
|
textureReference texRef__val;
|
|
3286
3401
|
} hipTexRefGetAddress;
|
|
3402
|
+
struct {
|
|
3403
|
+
hipArray_t* pArray;
|
|
3404
|
+
hipArray_t pArray__val;
|
|
3405
|
+
const textureReference* texRef;
|
|
3406
|
+
textureReference texRef__val;
|
|
3407
|
+
} hipTexRefGetArray;
|
|
3408
|
+
struct {
|
|
3409
|
+
float* pBorderColor;
|
|
3410
|
+
float pBorderColor__val;
|
|
3411
|
+
const textureReference* texRef;
|
|
3412
|
+
textureReference texRef__val;
|
|
3413
|
+
} hipTexRefGetBorderColor;
|
|
3287
3414
|
struct {
|
|
3288
3415
|
unsigned int* pFlags;
|
|
3289
3416
|
unsigned int pFlags__val;
|
|
@@ -3729,15 +3856,21 @@ typedef struct hip_api_data_s {
|
|
|
3729
3856
|
};
|
|
3730
3857
|
// hipDrvGraphAddMemcpyNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMCPY3D*', 'copyParams'), ('hipCtx_t', 'ctx')]
|
|
3731
3858
|
#define INIT_hipDrvGraphAddMemcpyNode_CB_ARGS_DATA(cb_data) { \
|
|
3859
|
+
cb_data.args.hipDrvGraphAddMemcpyNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
|
|
3860
|
+
cb_data.args.hipDrvGraphAddMemcpyNode.hGraph = (hipGraph_t)hGraph; \
|
|
3861
|
+
cb_data.args.hipDrvGraphAddMemcpyNode.dependencies = (const hipGraphNode_t*)dependencies; \
|
|
3862
|
+
cb_data.args.hipDrvGraphAddMemcpyNode.numDependencies = (size_t)numDependencies; \
|
|
3863
|
+
cb_data.args.hipDrvGraphAddMemcpyNode.copyParams = (const HIP_MEMCPY3D*)copyParams; \
|
|
3864
|
+
cb_data.args.hipDrvGraphAddMemcpyNode.ctx = (hipCtx_t)ctx; \
|
|
3732
3865
|
};
|
|
3733
3866
|
// hipDrvGraphAddMemsetNode[('hipGraphNode_t*', 'phGraphNode'), ('hipGraph_t', 'hGraph'), ('const hipGraphNode_t*', 'dependencies'), ('size_t', 'numDependencies'), ('const HIP_MEMSET_NODE_PARAMS*', 'memsetParams'), ('hipCtx_t', 'ctx')]
|
|
3734
3867
|
#define INIT_hipDrvGraphAddMemsetNode_CB_ARGS_DATA(cb_data) { \
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3868
|
+
cb_data.args.hipDrvGraphAddMemsetNode.phGraphNode = (hipGraphNode_t*)phGraphNode; \
|
|
3869
|
+
cb_data.args.hipDrvGraphAddMemsetNode.hGraph = (hipGraph_t)hGraph; \
|
|
3870
|
+
cb_data.args.hipDrvGraphAddMemsetNode.dependencies = (const hipGraphNode_t*)dependencies; \
|
|
3871
|
+
cb_data.args.hipDrvGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
|
|
3872
|
+
cb_data.args.hipDrvGraphAddMemsetNode.memsetParams = (const HIP_MEMSET_NODE_PARAMS*)memsetParams; \
|
|
3873
|
+
cb_data.args.hipDrvGraphAddMemsetNode.ctx = (hipCtx_t)ctx; \
|
|
3741
3874
|
};
|
|
3742
3875
|
// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
|
|
3743
3876
|
#define INIT_hipDrvMemcpy2DUnaligned_CB_ARGS_DATA(cb_data) { \
|
|
@@ -3791,6 +3924,9 @@ typedef struct hip_api_data_s {
|
|
|
3791
3924
|
#define INIT_hipEventSynchronize_CB_ARGS_DATA(cb_data) { \
|
|
3792
3925
|
cb_data.args.hipEventSynchronize.event = (hipEvent_t)event; \
|
|
3793
3926
|
};
|
|
3927
|
+
// hipExtGetLastError[]
|
|
3928
|
+
#define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
|
|
3929
|
+
};
|
|
3794
3930
|
// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
|
|
3795
3931
|
#define INIT_hipExtGetLinkTypeAndHopCount_CB_ARGS_DATA(cb_data) { \
|
|
3796
3932
|
cb_data.args.hipExtGetLinkTypeAndHopCount.device1 = (int)device1; \
|
|
@@ -3948,6 +4084,11 @@ typedef struct hip_api_data_s {
|
|
|
3948
4084
|
// hipGetErrorString[]
|
|
3949
4085
|
#define INIT_hipGetErrorString_CB_ARGS_DATA(cb_data) { \
|
|
3950
4086
|
};
|
|
4087
|
+
// hipGetFuncBySymbol[('hipFunction_t*', 'functionPtr'), ('const void*', 'symbolPtr')]
|
|
4088
|
+
#define INIT_hipGetFuncBySymbol_CB_ARGS_DATA(cb_data) { \
|
|
4089
|
+
cb_data.args.hipGetFuncBySymbol.functionPtr = (hipFunction_t*)functionPtr; \
|
|
4090
|
+
cb_data.args.hipGetFuncBySymbol.symbolPtr = (const void*)symbolPtr; \
|
|
4091
|
+
};
|
|
3951
4092
|
// hipGetLastError[]
|
|
3952
4093
|
#define INIT_hipGetLastError_CB_ARGS_DATA(cb_data) { \
|
|
3953
4094
|
};
|
|
@@ -3957,6 +4098,14 @@ typedef struct hip_api_data_s {
|
|
|
3957
4098
|
cb_data.args.hipGetMipmappedArrayLevel.mipmappedArray = (hipMipmappedArray_const_t)mipmappedArray; \
|
|
3958
4099
|
cb_data.args.hipGetMipmappedArrayLevel.level = (unsigned int)level; \
|
|
3959
4100
|
};
|
|
4101
|
+
// hipGetProcAddress[('const char*', 'symbol'), ('void**', 'pfn'), ('int', 'hipVersion'), ('uint64_t', 'flags'), ('hipDriverProcAddressQueryResult*', 'symbolStatus')]
|
|
4102
|
+
#define INIT_hipGetProcAddress_CB_ARGS_DATA(cb_data) { \
|
|
4103
|
+
cb_data.args.hipGetProcAddress.symbol = (symbol) ? strdup(symbol) : NULL; \
|
|
4104
|
+
cb_data.args.hipGetProcAddress.pfn = (void**)pfn; \
|
|
4105
|
+
cb_data.args.hipGetProcAddress.hipVersion = (int)hipVersion; \
|
|
4106
|
+
cb_data.args.hipGetProcAddress.flags = (uint64_t)flags; \
|
|
4107
|
+
cb_data.args.hipGetProcAddress.symbolStatus = (hipDriverProcAddressQueryResult*)symbolStatus; \
|
|
4108
|
+
};
|
|
3960
4109
|
// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
|
|
3961
4110
|
#define INIT_hipGetSymbolAddress_CB_ARGS_DATA(cb_data) { \
|
|
3962
4111
|
cb_data.args.hipGetSymbolAddress.devPtr = (void**)devPtr; \
|
|
@@ -4007,9 +4156,19 @@ typedef struct hip_api_data_s {
|
|
|
4007
4156
|
};
|
|
4008
4157
|
// hipGraphAddExternalSemaphoresSignalNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
|
|
4009
4158
|
#define INIT_hipGraphAddExternalSemaphoresSignalNode_CB_ARGS_DATA(cb_data) { \
|
|
4159
|
+
cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
|
|
4160
|
+
cb_data.args.hipGraphAddExternalSemaphoresSignalNode.graph = (hipGraph_t)graph; \
|
|
4161
|
+
cb_data.args.hipGraphAddExternalSemaphoresSignalNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
|
|
4162
|
+
cb_data.args.hipGraphAddExternalSemaphoresSignalNode.numDependencies = (size_t)numDependencies; \
|
|
4163
|
+
cb_data.args.hipGraphAddExternalSemaphoresSignalNode.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
|
|
4010
4164
|
};
|
|
4011
4165
|
// hipGraphAddExternalSemaphoresWaitNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
|
|
4012
4166
|
#define INIT_hipGraphAddExternalSemaphoresWaitNode_CB_ARGS_DATA(cb_data) { \
|
|
4167
|
+
cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
|
|
4168
|
+
cb_data.args.hipGraphAddExternalSemaphoresWaitNode.graph = (hipGraph_t)graph; \
|
|
4169
|
+
cb_data.args.hipGraphAddExternalSemaphoresWaitNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
|
|
4170
|
+
cb_data.args.hipGraphAddExternalSemaphoresWaitNode.numDependencies = (size_t)numDependencies; \
|
|
4171
|
+
cb_data.args.hipGraphAddExternalSemaphoresWaitNode.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
|
|
4013
4172
|
};
|
|
4014
4173
|
// hipGraphAddHostNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('const hipHostNodeParams*', 'pNodeParams')]
|
|
4015
4174
|
#define INIT_hipGraphAddHostNode_CB_ARGS_DATA(cb_data) { \
|
|
@@ -4094,6 +4253,14 @@ typedef struct hip_api_data_s {
|
|
|
4094
4253
|
cb_data.args.hipGraphAddMemsetNode.numDependencies = (size_t)numDependencies; \
|
|
4095
4254
|
cb_data.args.hipGraphAddMemsetNode.pMemsetParams = (const hipMemsetParams*)pMemsetParams; \
|
|
4096
4255
|
};
|
|
4256
|
+
// hipGraphAddNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraphNodeParams*', 'nodeParams')]
|
|
4257
|
+
#define INIT_hipGraphAddNode_CB_ARGS_DATA(cb_data) { \
|
|
4258
|
+
cb_data.args.hipGraphAddNode.pGraphNode = (hipGraphNode_t*)pGraphNode; \
|
|
4259
|
+
cb_data.args.hipGraphAddNode.graph = (hipGraph_t)graph; \
|
|
4260
|
+
cb_data.args.hipGraphAddNode.pDependencies = (const hipGraphNode_t*)pDependencies; \
|
|
4261
|
+
cb_data.args.hipGraphAddNode.numDependencies = (size_t)numDependencies; \
|
|
4262
|
+
cb_data.args.hipGraphAddNode.nodeParams = (hipGraphNodeParams*)nodeParams; \
|
|
4263
|
+
};
|
|
4097
4264
|
// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
|
|
4098
4265
|
#define INIT_hipGraphChildGraphNodeGetGraph_CB_ARGS_DATA(cb_data) { \
|
|
4099
4266
|
cb_data.args.hipGraphChildGraphNodeGetGraph.node = (hipGraphNode_t)node; \
|
|
@@ -4167,9 +4334,15 @@ typedef struct hip_api_data_s {
|
|
|
4167
4334
|
};
|
|
4168
4335
|
// hipGraphExecExternalSemaphoresSignalNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
|
|
4169
4336
|
#define INIT_hipGraphExecExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
|
|
4337
|
+
cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
|
|
4338
|
+
cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
|
|
4339
|
+
cb_data.args.hipGraphExecExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
|
|
4170
4340
|
};
|
|
4171
4341
|
// hipGraphExecExternalSemaphoresWaitNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
|
|
4172
4342
|
#define INIT_hipGraphExecExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
|
|
4343
|
+
cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hGraphExec = (hipGraphExec_t)hGraphExec; \
|
|
4344
|
+
cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
|
|
4345
|
+
cb_data.args.hipGraphExecExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
|
|
4173
4346
|
};
|
|
4174
4347
|
// hipGraphExecHostNodeSetParams[('hipGraphExec_t', 'hGraphExec'), ('hipGraphNode_t', 'node'), ('const hipHostNodeParams*', 'pNodeParams')]
|
|
4175
4348
|
#define INIT_hipGraphExecHostNodeSetParams_CB_ARGS_DATA(cb_data) { \
|
|
@@ -4233,15 +4406,23 @@ typedef struct hip_api_data_s {
|
|
|
4233
4406
|
};
|
|
4234
4407
|
// hipGraphExternalSemaphoresSignalNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreSignalNodeParams*', 'params_out')]
|
|
4235
4408
|
#define INIT_hipGraphExternalSemaphoresSignalNodeGetParams_CB_ARGS_DATA(cb_data) { \
|
|
4409
|
+
cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.hNode = (hipGraphNode_t)hNode; \
|
|
4410
|
+
cb_data.args.hipGraphExternalSemaphoresSignalNodeGetParams.params_out = (hipExternalSemaphoreSignalNodeParams*)params_out; \
|
|
4236
4411
|
};
|
|
4237
4412
|
// hipGraphExternalSemaphoresSignalNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreSignalNodeParams*', 'nodeParams')]
|
|
4238
4413
|
#define INIT_hipGraphExternalSemaphoresSignalNodeSetParams_CB_ARGS_DATA(cb_data) { \
|
|
4414
|
+
cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.hNode = (hipGraphNode_t)hNode; \
|
|
4415
|
+
cb_data.args.hipGraphExternalSemaphoresSignalNodeSetParams.nodeParams = (const hipExternalSemaphoreSignalNodeParams*)nodeParams; \
|
|
4239
4416
|
};
|
|
4240
4417
|
// hipGraphExternalSemaphoresWaitNodeGetParams[('hipGraphNode_t', 'hNode'), ('hipExternalSemaphoreWaitNodeParams*', 'params_out')]
|
|
4241
4418
|
#define INIT_hipGraphExternalSemaphoresWaitNodeGetParams_CB_ARGS_DATA(cb_data) { \
|
|
4419
|
+
cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.hNode = (hipGraphNode_t)hNode; \
|
|
4420
|
+
cb_data.args.hipGraphExternalSemaphoresWaitNodeGetParams.params_out = (hipExternalSemaphoreWaitNodeParams*)params_out; \
|
|
4242
4421
|
};
|
|
4243
4422
|
// hipGraphExternalSemaphoresWaitNodeSetParams[('hipGraphNode_t', 'hNode'), ('const hipExternalSemaphoreWaitNodeParams*', 'nodeParams')]
|
|
4244
4423
|
#define INIT_hipGraphExternalSemaphoresWaitNodeSetParams_CB_ARGS_DATA(cb_data) { \
|
|
4424
|
+
cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.hNode = (hipGraphNode_t)hNode; \
|
|
4425
|
+
cb_data.args.hipGraphExternalSemaphoresWaitNodeSetParams.nodeParams = (const hipExternalSemaphoreWaitNodeParams*)nodeParams; \
|
|
4245
4426
|
};
|
|
4246
4427
|
// hipGraphGetEdges[('hipGraph_t', 'graph'), ('hipGraphNode_t*', 'from'), ('hipGraphNode_t*', 'to'), ('size_t*', 'numEdges')]
|
|
4247
4428
|
#define INIT_hipGraphGetEdges_CB_ARGS_DATA(cb_data) { \
|
|
@@ -4286,27 +4467,27 @@ typedef struct hip_api_data_s {
|
|
|
4286
4467
|
cb_data.args.hipGraphInstantiateWithFlags.graph = (hipGraph_t)graph; \
|
|
4287
4468
|
cb_data.args.hipGraphInstantiateWithFlags.flags = (unsigned long long)flags; \
|
|
4288
4469
|
};
|
|
4470
|
+
// hipGraphInstantiateWithParams[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphInstantiateParams*', 'instantiateParams')]
|
|
4471
|
+
#define INIT_hipGraphInstantiateWithParams_CB_ARGS_DATA(cb_data) { \
|
|
4472
|
+
cb_data.args.hipGraphInstantiateWithParams.pGraphExec = (hipGraphExec_t*)pGraphExec; \
|
|
4473
|
+
cb_data.args.hipGraphInstantiateWithParams.graph = (hipGraph_t)graph; \
|
|
4474
|
+
cb_data.args.hipGraphInstantiateWithParams.instantiateParams = (hipGraphInstantiateParams*)instantiateParams; \
|
|
4475
|
+
};
|
|
4289
4476
|
// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
|
|
4290
4477
|
#define INIT_hipGraphKernelNodeCopyAttributes_CB_ARGS_DATA(cb_data) { \
|
|
4291
4478
|
cb_data.args.hipGraphKernelNodeCopyAttributes.hSrc = (hipGraphNode_t)hSrc; \
|
|
4292
4479
|
cb_data.args.hipGraphKernelNodeCopyAttributes.hDst = (hipGraphNode_t)hDst; \
|
|
4293
4480
|
};
|
|
4294
|
-
// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('
|
|
4481
|
+
// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('hipLaunchAttributeValue*', 'value')]
|
|
4295
4482
|
#define INIT_hipGraphKernelNodeGetAttribute_CB_ARGS_DATA(cb_data) { \
|
|
4296
|
-
cb_data.args.hipGraphKernelNodeGetAttribute.hNode = (hipGraphNode_t)hNode; \
|
|
4297
|
-
cb_data.args.hipGraphKernelNodeGetAttribute.attr = (hipKernelNodeAttrID)attr; \
|
|
4298
|
-
cb_data.args.hipGraphKernelNodeGetAttribute.value = (hipKernelNodeAttrValue*)value; \
|
|
4299
4483
|
};
|
|
4300
4484
|
// hipGraphKernelNodeGetParams[('hipGraphNode_t', 'node'), ('hipKernelNodeParams*', 'pNodeParams')]
|
|
4301
4485
|
#define INIT_hipGraphKernelNodeGetParams_CB_ARGS_DATA(cb_data) { \
|
|
4302
4486
|
cb_data.args.hipGraphKernelNodeGetParams.node = (hipGraphNode_t)node; \
|
|
4303
4487
|
cb_data.args.hipGraphKernelNodeGetParams.pNodeParams = (hipKernelNodeParams*)pNodeParams; \
|
|
4304
4488
|
};
|
|
4305
|
-
// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('
|
|
4489
|
+
// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('const hipLaunchAttributeValue*', 'value')]
|
|
4306
4490
|
#define INIT_hipGraphKernelNodeSetAttribute_CB_ARGS_DATA(cb_data) { \
|
|
4307
|
-
cb_data.args.hipGraphKernelNodeSetAttribute.hNode = (hipGraphNode_t)hNode; \
|
|
4308
|
-
cb_data.args.hipGraphKernelNodeSetAttribute.attr = (hipKernelNodeAttrID)attr; \
|
|
4309
|
-
cb_data.args.hipGraphKernelNodeSetAttribute.value = (const hipKernelNodeAttrValue*)value; \
|
|
4310
4491
|
};
|
|
4311
4492
|
// hipGraphKernelNodeSetParams[('hipGraphNode_t', 'node'), ('const hipKernelNodeParams*', 'pNodeParams')]
|
|
4312
4493
|
#define INIT_hipGraphKernelNodeSetParams_CB_ARGS_DATA(cb_data) { \
|
|
@@ -4891,6 +5072,18 @@ typedef struct hip_api_data_s {
|
|
|
4891
5072
|
cb_data.args.hipMemcpy2D.height = (size_t)height; \
|
|
4892
5073
|
cb_data.args.hipMemcpy2D.kind = (hipMemcpyKind)kind; \
|
|
4893
5074
|
};
|
|
5075
|
+
// hipMemcpy2DArrayToArray[('hipArray_t', 'dst'), ('size_t', 'wOffsetDst'), ('size_t', 'hOffsetDst'), ('hipArray_const_t', 'src'), ('size_t', 'wOffsetSrc'), ('size_t', 'hOffsetSrc'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
|
|
5076
|
+
#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) { \
|
|
5077
|
+
cb_data.args.hipMemcpy2DArrayToArray.dst = (hipArray_t)dst; \
|
|
5078
|
+
cb_data.args.hipMemcpy2DArrayToArray.wOffsetDst = (size_t)wOffsetDst; \
|
|
5079
|
+
cb_data.args.hipMemcpy2DArrayToArray.hOffsetDst = (size_t)hOffsetDst; \
|
|
5080
|
+
cb_data.args.hipMemcpy2DArrayToArray.src = (hipArray_const_t)src; \
|
|
5081
|
+
cb_data.args.hipMemcpy2DArrayToArray.wOffsetSrc = (size_t)wOffsetSrc; \
|
|
5082
|
+
cb_data.args.hipMemcpy2DArrayToArray.hOffsetSrc = (size_t)hOffsetSrc; \
|
|
5083
|
+
cb_data.args.hipMemcpy2DArrayToArray.width = (size_t)width; \
|
|
5084
|
+
cb_data.args.hipMemcpy2DArrayToArray.height = (size_t)height; \
|
|
5085
|
+
cb_data.args.hipMemcpy2DArrayToArray.kind = (hipMemcpyKind)kind; \
|
|
5086
|
+
};
|
|
4894
5087
|
// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
|
|
4895
5088
|
#define INIT_hipMemcpy2DAsync_CB_ARGS_DATA(cb_data) { \
|
|
4896
5089
|
cb_data.args.hipMemcpy2DAsync.dst = (void*)dst; \
|
|
@@ -4965,6 +5158,21 @@ typedef struct hip_api_data_s {
|
|
|
4965
5158
|
cb_data.args.hipMemcpyAsync.kind = (hipMemcpyKind)kind; \
|
|
4966
5159
|
cb_data.args.hipMemcpyAsync.stream = (hipStream_t)stream; \
|
|
4967
5160
|
};
|
|
5161
|
+
// hipMemcpyAtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
|
|
5162
|
+
#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) { \
|
|
5163
|
+
cb_data.args.hipMemcpyAtoA.dstArray = (hipArray_t)dstArray; \
|
|
5164
|
+
cb_data.args.hipMemcpyAtoA.dstOffset = (size_t)dstOffset; \
|
|
5165
|
+
cb_data.args.hipMemcpyAtoA.srcArray = (hipArray_t)srcArray; \
|
|
5166
|
+
cb_data.args.hipMemcpyAtoA.srcOffset = (size_t)srcOffset; \
|
|
5167
|
+
cb_data.args.hipMemcpyAtoA.ByteCount = (size_t)ByteCount; \
|
|
5168
|
+
};
|
|
5169
|
+
// hipMemcpyAtoD[('hipDeviceptr_t', 'dstDevice'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
|
|
5170
|
+
#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) { \
|
|
5171
|
+
cb_data.args.hipMemcpyAtoD.dstDevice = (hipDeviceptr_t)dstDevice; \
|
|
5172
|
+
cb_data.args.hipMemcpyAtoD.srcArray = (hipArray_t)srcArray; \
|
|
5173
|
+
cb_data.args.hipMemcpyAtoD.srcOffset = (size_t)srcOffset; \
|
|
5174
|
+
cb_data.args.hipMemcpyAtoD.ByteCount = (size_t)ByteCount; \
|
|
5175
|
+
};
|
|
4968
5176
|
// hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
|
|
4969
5177
|
#define INIT_hipMemcpyAtoH_CB_ARGS_DATA(cb_data) { \
|
|
4970
5178
|
cb_data.args.hipMemcpyAtoH.dst = (void*)dstHost; \
|
|
@@ -4972,6 +5180,21 @@ typedef struct hip_api_data_s {
|
|
|
4972
5180
|
cb_data.args.hipMemcpyAtoH.srcOffset = (size_t)srcOffset; \
|
|
4973
5181
|
cb_data.args.hipMemcpyAtoH.count = (size_t)ByteCount; \
|
|
4974
5182
|
};
|
|
5183
|
+
// hipMemcpyAtoHAsync[('void*', 'dstHost'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
|
|
5184
|
+
#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) { \
|
|
5185
|
+
cb_data.args.hipMemcpyAtoHAsync.dstHost = (void*)dstHost; \
|
|
5186
|
+
cb_data.args.hipMemcpyAtoHAsync.srcArray = (hipArray_t)srcArray; \
|
|
5187
|
+
cb_data.args.hipMemcpyAtoHAsync.srcOffset = (size_t)srcOffset; \
|
|
5188
|
+
cb_data.args.hipMemcpyAtoHAsync.ByteCount = (size_t)ByteCount; \
|
|
5189
|
+
cb_data.args.hipMemcpyAtoHAsync.stream = (hipStream_t)stream; \
|
|
5190
|
+
};
|
|
5191
|
+
// hipMemcpyDtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipDeviceptr_t', 'srcDevice'), ('size_t', 'ByteCount')]
|
|
5192
|
+
#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) { \
|
|
5193
|
+
cb_data.args.hipMemcpyDtoA.dstArray = (hipArray_t)dstArray; \
|
|
5194
|
+
cb_data.args.hipMemcpyDtoA.dstOffset = (size_t)dstOffset; \
|
|
5195
|
+
cb_data.args.hipMemcpyDtoA.srcDevice = (hipDeviceptr_t)srcDevice; \
|
|
5196
|
+
cb_data.args.hipMemcpyDtoA.ByteCount = (size_t)ByteCount; \
|
|
5197
|
+
};
|
|
4975
5198
|
// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
|
|
4976
5199
|
#define INIT_hipMemcpyDtoD_CB_ARGS_DATA(cb_data) { \
|
|
4977
5200
|
cb_data.args.hipMemcpyDtoD.dst = (hipDeviceptr_t)dstDevice; \
|
|
@@ -5031,6 +5254,14 @@ typedef struct hip_api_data_s {
|
|
|
5031
5254
|
cb_data.args.hipMemcpyHtoA.srcHost = (const void*)srcHost; \
|
|
5032
5255
|
cb_data.args.hipMemcpyHtoA.count = (size_t)ByteCount; \
|
|
5033
5256
|
};
|
|
5257
|
+
// hipMemcpyHtoAAsync[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
|
|
5258
|
+
#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) { \
|
|
5259
|
+
cb_data.args.hipMemcpyHtoAAsync.dstArray = (hipArray_t)dstArray; \
|
|
5260
|
+
cb_data.args.hipMemcpyHtoAAsync.dstOffset = (size_t)dstOffset; \
|
|
5261
|
+
cb_data.args.hipMemcpyHtoAAsync.srcHost = (const void*)srcHost; \
|
|
5262
|
+
cb_data.args.hipMemcpyHtoAAsync.ByteCount = (size_t)ByteCount; \
|
|
5263
|
+
cb_data.args.hipMemcpyHtoAAsync.stream = (hipStream_t)stream; \
|
|
5264
|
+
};
|
|
5034
5265
|
// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
|
|
5035
5266
|
#define INIT_hipMemcpyHtoD_CB_ARGS_DATA(cb_data) { \
|
|
5036
5267
|
cb_data.args.hipMemcpyHtoD.dst = (hipDeviceptr_t)dstDevice; \
|
|
@@ -5369,6 +5600,11 @@ typedef struct hip_api_data_s {
|
|
|
5369
5600
|
#define INIT_hipSetDeviceFlags_CB_ARGS_DATA(cb_data) { \
|
|
5370
5601
|
cb_data.args.hipSetDeviceFlags.flags = (unsigned int)flags; \
|
|
5371
5602
|
};
|
|
5603
|
+
// hipSetValidDevices[('int*', 'device_arr'), ('int', 'len')]
|
|
5604
|
+
#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) { \
|
|
5605
|
+
cb_data.args.hipSetValidDevices.device_arr = (int*)device_arr; \
|
|
5606
|
+
cb_data.args.hipSetValidDevices.len = (int)len; \
|
|
5607
|
+
};
|
|
5372
5608
|
// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
|
|
5373
5609
|
#define INIT_hipSetupArgument_CB_ARGS_DATA(cb_data) { \
|
|
5374
5610
|
cb_data.args.hipSetupArgument.arg = (const void*)arg; \
|
|
@@ -5401,6 +5637,15 @@ typedef struct hip_api_data_s {
|
|
|
5401
5637
|
cb_data.args.hipStreamBeginCapture.stream = (hipStream_t)stream; \
|
|
5402
5638
|
cb_data.args.hipStreamBeginCapture.mode = (hipStreamCaptureMode)mode; \
|
|
5403
5639
|
};
|
|
5640
|
+
// hipStreamBeginCaptureToGraph[('hipStream_t', 'stream'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'dependencies'), ('const hipGraphEdgeData*', 'dependencyData'), ('size_t', 'numDependencies'), ('hipStreamCaptureMode', 'mode')]
|
|
5641
|
+
#define INIT_hipStreamBeginCaptureToGraph_CB_ARGS_DATA(cb_data) { \
|
|
5642
|
+
cb_data.args.hipStreamBeginCaptureToGraph.stream = (hipStream_t)stream; \
|
|
5643
|
+
cb_data.args.hipStreamBeginCaptureToGraph.graph = (hipGraph_t)graph; \
|
|
5644
|
+
cb_data.args.hipStreamBeginCaptureToGraph.dependencies = (const hipGraphNode_t*)dependencies; \
|
|
5645
|
+
cb_data.args.hipStreamBeginCaptureToGraph.dependencyData = (const hipGraphEdgeData*)dependencyData; \
|
|
5646
|
+
cb_data.args.hipStreamBeginCaptureToGraph.numDependencies = (size_t)numDependencies; \
|
|
5647
|
+
cb_data.args.hipStreamBeginCaptureToGraph.mode = (hipStreamCaptureMode)mode; \
|
|
5648
|
+
};
|
|
5404
5649
|
// hipStreamCreate[('hipStream_t*', 'stream')]
|
|
5405
5650
|
#define INIT_hipStreamCreate_CB_ARGS_DATA(cb_data) { \
|
|
5406
5651
|
cb_data.args.hipStreamCreate.stream = (hipStream_t*)stream; \
|
|
@@ -5516,6 +5761,16 @@ typedef struct hip_api_data_s {
|
|
|
5516
5761
|
cb_data.args.hipTexRefGetAddress.dev_ptr = (hipDeviceptr_t*)dptr; \
|
|
5517
5762
|
cb_data.args.hipTexRefGetAddress.texRef = (const textureReference*)texRef; \
|
|
5518
5763
|
};
|
|
5764
|
+
// hipTexRefGetArray[('hipArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
|
|
5765
|
+
#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) { \
|
|
5766
|
+
cb_data.args.hipTexRefGetArray.pArray = (hipArray_t*)pArray; \
|
|
5767
|
+
cb_data.args.hipTexRefGetArray.texRef = (const textureReference*)texRef; \
|
|
5768
|
+
};
|
|
5769
|
+
// hipTexRefGetBorderColor[('float*', 'pBorderColor'), ('const textureReference*', 'texRef')]
|
|
5770
|
+
#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) { \
|
|
5771
|
+
cb_data.args.hipTexRefGetBorderColor.pBorderColor = (float*)pBorderColor; \
|
|
5772
|
+
cb_data.args.hipTexRefGetBorderColor.texRef = (const textureReference*)texRef; \
|
|
5773
|
+
};
|
|
5519
5774
|
// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
|
|
5520
5775
|
#define INIT_hipTexRefGetFlags_CB_ARGS_DATA(cb_data) { \
|
|
5521
5776
|
cb_data.args.hipTexRefGetFlags.pFlags = (unsigned int*)pFlags; \
|
|
@@ -5534,6 +5789,8 @@ typedef struct hip_api_data_s {
|
|
|
5534
5789
|
};
|
|
5535
5790
|
// hipTexRefGetMipMappedArray[('hipMipmappedArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
|
|
5536
5791
|
#define INIT_hipTexRefGetMipMappedArray_CB_ARGS_DATA(cb_data) { \
|
|
5792
|
+
cb_data.args.hipTexRefGetMipMappedArray.pArray = (hipMipmappedArray_t*)pArray; \
|
|
5793
|
+
cb_data.args.hipTexRefGetMipMappedArray.texRef = (const textureReference*)texRef; \
|
|
5537
5794
|
};
|
|
5538
5795
|
// hipTexRefGetMipmapLevelBias[('float*', 'pbias'), ('const textureReference*', 'texRef')]
|
|
5539
5796
|
#define INIT_hipTexRefGetMipmapLevelBias_CB_ARGS_DATA(cb_data) { \
|
|
@@ -5633,9 +5890,6 @@ typedef struct hip_api_data_s {
|
|
|
5633
5890
|
cb_data.args.hipWaitExternalSemaphoresAsync.numExtSems = (unsigned int)numExtSems; \
|
|
5634
5891
|
cb_data.args.hipWaitExternalSemaphoresAsync.stream = (hipStream_t)stream; \
|
|
5635
5892
|
};
|
|
5636
|
-
// hipExtGetLastError[]
|
|
5637
|
-
#define INIT_hipExtGetLastError_CB_ARGS_DATA(cb_data) { \
|
|
5638
|
-
};
|
|
5639
5893
|
#define INIT_CB_ARGS_DATA(cb_id, cb_data) INIT_##cb_id##_CB_ARGS_DATA(cb_data)
|
|
5640
5894
|
|
|
5641
5895
|
// Macros for non-public API primitives
|
|
@@ -5663,20 +5917,6 @@ typedef struct hip_api_data_s {
|
|
|
5663
5917
|
#define INIT_hipGetTextureObjectTextureDesc_CB_ARGS_DATA(cb_data) {};
|
|
5664
5918
|
// hipGetTextureReference()
|
|
5665
5919
|
#define INIT_hipGetTextureReference_CB_ARGS_DATA(cb_data) {};
|
|
5666
|
-
// hipMemcpy2DArrayToArray()
|
|
5667
|
-
#define INIT_hipMemcpy2DArrayToArray_CB_ARGS_DATA(cb_data) {};
|
|
5668
|
-
// hipMemcpyAtoA()
|
|
5669
|
-
#define INIT_hipMemcpyAtoA_CB_ARGS_DATA(cb_data) {};
|
|
5670
|
-
// hipMemcpyAtoD()
|
|
5671
|
-
#define INIT_hipMemcpyAtoD_CB_ARGS_DATA(cb_data) {};
|
|
5672
|
-
// hipMemcpyAtoHAsync()
|
|
5673
|
-
#define INIT_hipMemcpyAtoHAsync_CB_ARGS_DATA(cb_data) {};
|
|
5674
|
-
// hipMemcpyDtoA()
|
|
5675
|
-
#define INIT_hipMemcpyDtoA_CB_ARGS_DATA(cb_data) {};
|
|
5676
|
-
// hipMemcpyHtoAAsync()
|
|
5677
|
-
#define INIT_hipMemcpyHtoAAsync_CB_ARGS_DATA(cb_data) {};
|
|
5678
|
-
// hipSetValidDevices()
|
|
5679
|
-
#define INIT_hipSetValidDevices_CB_ARGS_DATA(cb_data) {};
|
|
5680
5920
|
// hipTexObjectCreate()
|
|
5681
5921
|
#define INIT_hipTexObjectCreate_CB_ARGS_DATA(cb_data) {};
|
|
5682
5922
|
// hipTexObjectDestroy()
|
|
@@ -5689,16 +5929,10 @@ typedef struct hip_api_data_s {
|
|
|
5689
5929
|
#define INIT_hipTexObjectGetTextureDesc_CB_ARGS_DATA(cb_data) {};
|
|
5690
5930
|
// hipTexRefGetAddressMode()
|
|
5691
5931
|
#define INIT_hipTexRefGetAddressMode_CB_ARGS_DATA(cb_data) {};
|
|
5692
|
-
// hipTexRefGetArray()
|
|
5693
|
-
#define INIT_hipTexRefGetArray_CB_ARGS_DATA(cb_data) {};
|
|
5694
|
-
// hipTexRefGetBorderColor()
|
|
5695
|
-
#define INIT_hipTexRefGetBorderColor_CB_ARGS_DATA(cb_data) {};
|
|
5696
5932
|
// hipTexRefGetFilterMode()
|
|
5697
5933
|
#define INIT_hipTexRefGetFilterMode_CB_ARGS_DATA(cb_data) {};
|
|
5698
5934
|
// hipTexRefGetMipmapFilterMode()
|
|
5699
5935
|
#define INIT_hipTexRefGetMipmapFilterMode_CB_ARGS_DATA(cb_data) {};
|
|
5700
|
-
// hipTexRefGetMipmappedArray()
|
|
5701
|
-
#define INIT_hipTexRefGetMipmappedArray_CB_ARGS_DATA(cb_data) {};
|
|
5702
5936
|
// hipTexRefSetAddressMode()
|
|
5703
5937
|
#define INIT_hipTexRefSetAddressMode_CB_ARGS_DATA(cb_data) {};
|
|
5704
5938
|
// hipTexRefSetFilterMode()
|
|
@@ -5968,14 +6202,6 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
5968
6202
|
if (data->args.hipDrvGraphAddMemsetNode.dependencies) data->args.hipDrvGraphAddMemsetNode.dependencies__val = *(data->args.hipDrvGraphAddMemsetNode.dependencies);
|
|
5969
6203
|
if (data->args.hipDrvGraphAddMemsetNode.memsetParams) data->args.hipDrvGraphAddMemsetNode.memsetParams__val = *(data->args.hipDrvGraphAddMemsetNode.memsetParams);
|
|
5970
6204
|
break;
|
|
5971
|
-
// hipDrvGraphMemcpyNodeGetParams[('hipGraphNode_t', 'hNode'), ('HIP_MEMCPY3D*', 'nodeParams')]
|
|
5972
|
-
case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
|
|
5973
|
-
if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams);
|
|
5974
|
-
break;
|
|
5975
|
-
// hipDrvGraphMemcpyNodeSetParams[('hipGraphNode_t', 'hNode'), ('const HIP_MEMCPY3D*', 'nodeParams')]
|
|
5976
|
-
case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
|
|
5977
|
-
if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams) data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val = *(data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams);
|
|
5978
|
-
break;
|
|
5979
6205
|
// hipDrvMemcpy2DUnaligned[('const hip_Memcpy2D*', 'pCopy')]
|
|
5980
6206
|
case HIP_API_ID_hipDrvMemcpy2DUnaligned:
|
|
5981
6207
|
if (data->args.hipDrvMemcpy2DUnaligned.pCopy) data->args.hipDrvMemcpy2DUnaligned.pCopy__val = *(data->args.hipDrvMemcpy2DUnaligned.pCopy);
|
|
@@ -6017,6 +6243,9 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
6017
6243
|
// hipEventSynchronize[('hipEvent_t', 'event')]
|
|
6018
6244
|
case HIP_API_ID_hipEventSynchronize:
|
|
6019
6245
|
break;
|
|
6246
|
+
// hipExtGetLastError[]
|
|
6247
|
+
case HIP_API_ID_hipExtGetLastError:
|
|
6248
|
+
break;
|
|
6020
6249
|
// hipExtGetLinkTypeAndHopCount[('int', 'device1'), ('int', 'device2'), ('unsigned int*', 'linktype'), ('unsigned int*', 'hopcount')]
|
|
6021
6250
|
case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
|
|
6022
6251
|
if (data->args.hipExtGetLinkTypeAndHopCount.linktype) data->args.hipExtGetLinkTypeAndHopCount.linktype__val = *(data->args.hipExtGetLinkTypeAndHopCount.linktype);
|
|
@@ -6122,16 +6351,23 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
6122
6351
|
// hipGetErrorString[]
|
|
6123
6352
|
case HIP_API_ID_hipGetErrorString:
|
|
6124
6353
|
break;
|
|
6354
|
+
// hipGetFuncBySymbol[('hipFunction_t*', 'functionPtr'), ('const void*', 'symbolPtr')]
|
|
6355
|
+
case HIP_API_ID_hipGetFuncBySymbol:
|
|
6356
|
+
if (data->args.hipGetFuncBySymbol.functionPtr) data->args.hipGetFuncBySymbol.functionPtr__val = *(data->args.hipGetFuncBySymbol.functionPtr);
|
|
6357
|
+
break;
|
|
6125
6358
|
// hipGetLastError[]
|
|
6126
6359
|
case HIP_API_ID_hipGetLastError:
|
|
6127
6360
|
break;
|
|
6128
|
-
// hipExtGetLastError[]
|
|
6129
|
-
case HIP_API_ID_hipExtGetLastError:
|
|
6130
|
-
break;
|
|
6131
6361
|
// hipGetMipmappedArrayLevel[('hipArray_t*', 'levelArray'), ('hipMipmappedArray_const_t', 'mipmappedArray'), ('unsigned int', 'level')]
|
|
6132
6362
|
case HIP_API_ID_hipGetMipmappedArrayLevel:
|
|
6133
6363
|
if (data->args.hipGetMipmappedArrayLevel.levelArray) data->args.hipGetMipmappedArrayLevel.levelArray__val = *(data->args.hipGetMipmappedArrayLevel.levelArray);
|
|
6134
6364
|
break;
|
|
6365
|
+
// hipGetProcAddress[('const char*', 'symbol'), ('void**', 'pfn'), ('int', 'hipVersion'), ('uint64_t', 'flags'), ('hipDriverProcAddressQueryResult*', 'symbolStatus')]
|
|
6366
|
+
case HIP_API_ID_hipGetProcAddress:
|
|
6367
|
+
if (data->args.hipGetProcAddress.symbol) data->args.hipGetProcAddress.symbol__val = *(data->args.hipGetProcAddress.symbol);
|
|
6368
|
+
if (data->args.hipGetProcAddress.pfn) data->args.hipGetProcAddress.pfn__val = *(data->args.hipGetProcAddress.pfn);
|
|
6369
|
+
if (data->args.hipGetProcAddress.symbolStatus) data->args.hipGetProcAddress.symbolStatus__val = *(data->args.hipGetProcAddress.symbolStatus);
|
|
6370
|
+
break;
|
|
6135
6371
|
// hipGetSymbolAddress[('void**', 'devPtr'), ('const void*', 'symbol')]
|
|
6136
6372
|
case HIP_API_ID_hipGetSymbolAddress:
|
|
6137
6373
|
if (data->args.hipGetSymbolAddress.devPtr) data->args.hipGetSymbolAddress.devPtr__val = *(data->args.hipGetSymbolAddress.devPtr);
|
|
@@ -6227,6 +6463,12 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
6227
6463
|
if (data->args.hipGraphAddMemsetNode.pDependencies) data->args.hipGraphAddMemsetNode.pDependencies__val = *(data->args.hipGraphAddMemsetNode.pDependencies);
|
|
6228
6464
|
if (data->args.hipGraphAddMemsetNode.pMemsetParams) data->args.hipGraphAddMemsetNode.pMemsetParams__val = *(data->args.hipGraphAddMemsetNode.pMemsetParams);
|
|
6229
6465
|
break;
|
|
6466
|
+
// hipGraphAddNode[('hipGraphNode_t*', 'pGraphNode'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'pDependencies'), ('size_t', 'numDependencies'), ('hipGraphNodeParams*', 'nodeParams')]
|
|
6467
|
+
case HIP_API_ID_hipGraphAddNode:
|
|
6468
|
+
if (data->args.hipGraphAddNode.pGraphNode) data->args.hipGraphAddNode.pGraphNode__val = *(data->args.hipGraphAddNode.pGraphNode);
|
|
6469
|
+
if (data->args.hipGraphAddNode.pDependencies) data->args.hipGraphAddNode.pDependencies__val = *(data->args.hipGraphAddNode.pDependencies);
|
|
6470
|
+
if (data->args.hipGraphAddNode.nodeParams) data->args.hipGraphAddNode.nodeParams__val = *(data->args.hipGraphAddNode.nodeParams);
|
|
6471
|
+
break;
|
|
6230
6472
|
// hipGraphChildGraphNodeGetGraph[('hipGraphNode_t', 'node'), ('hipGraph_t*', 'pGraph')]
|
|
6231
6473
|
case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
|
|
6232
6474
|
if (data->args.hipGraphChildGraphNodeGetGraph.pGraph) data->args.hipGraphChildGraphNodeGetGraph.pGraph__val = *(data->args.hipGraphChildGraphNodeGetGraph.pGraph);
|
|
@@ -6363,10 +6605,15 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
6363
6605
|
case HIP_API_ID_hipGraphInstantiateWithFlags:
|
|
6364
6606
|
if (data->args.hipGraphInstantiateWithFlags.pGraphExec) data->args.hipGraphInstantiateWithFlags.pGraphExec__val = *(data->args.hipGraphInstantiateWithFlags.pGraphExec);
|
|
6365
6607
|
break;
|
|
6608
|
+
// hipGraphInstantiateWithParams[('hipGraphExec_t*', 'pGraphExec'), ('hipGraph_t', 'graph'), ('hipGraphInstantiateParams*', 'instantiateParams')]
|
|
6609
|
+
case HIP_API_ID_hipGraphInstantiateWithParams:
|
|
6610
|
+
if (data->args.hipGraphInstantiateWithParams.pGraphExec) data->args.hipGraphInstantiateWithParams.pGraphExec__val = *(data->args.hipGraphInstantiateWithParams.pGraphExec);
|
|
6611
|
+
if (data->args.hipGraphInstantiateWithParams.instantiateParams) data->args.hipGraphInstantiateWithParams.instantiateParams__val = *(data->args.hipGraphInstantiateWithParams.instantiateParams);
|
|
6612
|
+
break;
|
|
6366
6613
|
// hipGraphKernelNodeCopyAttributes[('hipGraphNode_t', 'hSrc'), ('hipGraphNode_t', 'hDst')]
|
|
6367
6614
|
case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
|
|
6368
6615
|
break;
|
|
6369
|
-
// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('
|
|
6616
|
+
// hipGraphKernelNodeGetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('hipLaunchAttributeValue*', 'value')]
|
|
6370
6617
|
case HIP_API_ID_hipGraphKernelNodeGetAttribute:
|
|
6371
6618
|
if (data->args.hipGraphKernelNodeGetAttribute.value) data->args.hipGraphKernelNodeGetAttribute.value__val = *(data->args.hipGraphKernelNodeGetAttribute.value);
|
|
6372
6619
|
break;
|
|
@@ -6374,7 +6621,7 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
6374
6621
|
case HIP_API_ID_hipGraphKernelNodeGetParams:
|
|
6375
6622
|
if (data->args.hipGraphKernelNodeGetParams.pNodeParams) data->args.hipGraphKernelNodeGetParams.pNodeParams__val = *(data->args.hipGraphKernelNodeGetParams.pNodeParams);
|
|
6376
6623
|
break;
|
|
6377
|
-
// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('
|
|
6624
|
+
// hipGraphKernelNodeSetAttribute[('hipGraphNode_t', 'hNode'), ('hipLaunchAttributeID', 'attr'), ('const hipLaunchAttributeValue*', 'value')]
|
|
6378
6625
|
case HIP_API_ID_hipGraphKernelNodeSetAttribute:
|
|
6379
6626
|
if (data->args.hipGraphKernelNodeSetAttribute.value) data->args.hipGraphKernelNodeSetAttribute.value__val = *(data->args.hipGraphKernelNodeSetAttribute.value);
|
|
6380
6627
|
break;
|
|
@@ -6748,6 +6995,9 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
6748
6995
|
// hipMemcpy2D[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
|
|
6749
6996
|
case HIP_API_ID_hipMemcpy2D:
|
|
6750
6997
|
break;
|
|
6998
|
+
// hipMemcpy2DArrayToArray[('hipArray_t', 'dst'), ('size_t', 'wOffsetDst'), ('size_t', 'hOffsetDst'), ('hipArray_const_t', 'src'), ('size_t', 'wOffsetSrc'), ('size_t', 'hOffsetSrc'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind')]
|
|
6999
|
+
case HIP_API_ID_hipMemcpy2DArrayToArray:
|
|
7000
|
+
break;
|
|
6751
7001
|
// hipMemcpy2DAsync[('void*', 'dst'), ('size_t', 'dpitch'), ('const void*', 'src'), ('size_t', 'spitch'), ('size_t', 'width'), ('size_t', 'height'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
|
|
6752
7002
|
case HIP_API_ID_hipMemcpy2DAsync:
|
|
6753
7003
|
break;
|
|
@@ -6774,9 +7024,21 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
6774
7024
|
// hipMemcpyAsync[('void*', 'dst'), ('const void*', 'src'), ('size_t', 'sizeBytes'), ('hipMemcpyKind', 'kind'), ('hipStream_t', 'stream')]
|
|
6775
7025
|
case HIP_API_ID_hipMemcpyAsync:
|
|
6776
7026
|
break;
|
|
7027
|
+
// hipMemcpyAtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
|
|
7028
|
+
case HIP_API_ID_hipMemcpyAtoA:
|
|
7029
|
+
break;
|
|
7030
|
+
// hipMemcpyAtoD[('hipDeviceptr_t', 'dstDevice'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount')]
|
|
7031
|
+
case HIP_API_ID_hipMemcpyAtoD:
|
|
7032
|
+
break;
|
|
6777
7033
|
// hipMemcpyAtoH[('void*', 'dst'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'count')]
|
|
6778
7034
|
case HIP_API_ID_hipMemcpyAtoH:
|
|
6779
7035
|
break;
|
|
7036
|
+
// hipMemcpyAtoHAsync[('void*', 'dstHost'), ('hipArray_t', 'srcArray'), ('size_t', 'srcOffset'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
|
|
7037
|
+
case HIP_API_ID_hipMemcpyAtoHAsync:
|
|
7038
|
+
break;
|
|
7039
|
+
// hipMemcpyDtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('hipDeviceptr_t', 'srcDevice'), ('size_t', 'ByteCount')]
|
|
7040
|
+
case HIP_API_ID_hipMemcpyDtoA:
|
|
7041
|
+
break;
|
|
6780
7042
|
// hipMemcpyDtoD[('hipDeviceptr_t', 'dst'), ('hipDeviceptr_t', 'src'), ('size_t', 'sizeBytes')]
|
|
6781
7043
|
case HIP_API_ID_hipMemcpyDtoD:
|
|
6782
7044
|
break;
|
|
@@ -6801,6 +7063,9 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
6801
7063
|
// hipMemcpyHtoA[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'count')]
|
|
6802
7064
|
case HIP_API_ID_hipMemcpyHtoA:
|
|
6803
7065
|
break;
|
|
7066
|
+
// hipMemcpyHtoAAsync[('hipArray_t', 'dstArray'), ('size_t', 'dstOffset'), ('const void*', 'srcHost'), ('size_t', 'ByteCount'), ('hipStream_t', 'stream')]
|
|
7067
|
+
case HIP_API_ID_hipMemcpyHtoAAsync:
|
|
7068
|
+
break;
|
|
6804
7069
|
// hipMemcpyHtoD[('hipDeviceptr_t', 'dst'), ('void*', 'src'), ('size_t', 'sizeBytes')]
|
|
6805
7070
|
case HIP_API_ID_hipMemcpyHtoD:
|
|
6806
7071
|
break;
|
|
@@ -6988,6 +7253,10 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
6988
7253
|
// hipSetDeviceFlags[('unsigned int', 'flags')]
|
|
6989
7254
|
case HIP_API_ID_hipSetDeviceFlags:
|
|
6990
7255
|
break;
|
|
7256
|
+
// hipSetValidDevices[('int*', 'device_arr'), ('int', 'len')]
|
|
7257
|
+
case HIP_API_ID_hipSetValidDevices:
|
|
7258
|
+
if (data->args.hipSetValidDevices.device_arr) data->args.hipSetValidDevices.device_arr__val = *(data->args.hipSetValidDevices.device_arr);
|
|
7259
|
+
break;
|
|
6991
7260
|
// hipSetupArgument[('const void*', 'arg'), ('size_t', 'size'), ('size_t', 'offset')]
|
|
6992
7261
|
case HIP_API_ID_hipSetupArgument:
|
|
6993
7262
|
break;
|
|
@@ -7005,6 +7274,11 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
7005
7274
|
// hipStreamBeginCapture[('hipStream_t', 'stream'), ('hipStreamCaptureMode', 'mode')]
|
|
7006
7275
|
case HIP_API_ID_hipStreamBeginCapture:
|
|
7007
7276
|
break;
|
|
7277
|
+
// hipStreamBeginCaptureToGraph[('hipStream_t', 'stream'), ('hipGraph_t', 'graph'), ('const hipGraphNode_t*', 'dependencies'), ('const hipGraphEdgeData*', 'dependencyData'), ('size_t', 'numDependencies'), ('hipStreamCaptureMode', 'mode')]
|
|
7278
|
+
case HIP_API_ID_hipStreamBeginCaptureToGraph:
|
|
7279
|
+
if (data->args.hipStreamBeginCaptureToGraph.dependencies) data->args.hipStreamBeginCaptureToGraph.dependencies__val = *(data->args.hipStreamBeginCaptureToGraph.dependencies);
|
|
7280
|
+
if (data->args.hipStreamBeginCaptureToGraph.dependencyData) data->args.hipStreamBeginCaptureToGraph.dependencyData__val = *(data->args.hipStreamBeginCaptureToGraph.dependencyData);
|
|
7281
|
+
break;
|
|
7008
7282
|
// hipStreamCreate[('hipStream_t*', 'stream')]
|
|
7009
7283
|
case HIP_API_ID_hipStreamCreate:
|
|
7010
7284
|
if (data->args.hipStreamCreate.stream) data->args.hipStreamCreate.stream__val = *(data->args.hipStreamCreate.stream);
|
|
@@ -7083,6 +7357,16 @@ static inline void hipApiArgsInit(hip_api_id_t id, hip_api_data_t* data) {
|
|
|
7083
7357
|
if (data->args.hipTexRefGetAddress.dev_ptr) data->args.hipTexRefGetAddress.dev_ptr__val = *(data->args.hipTexRefGetAddress.dev_ptr);
|
|
7084
7358
|
if (data->args.hipTexRefGetAddress.texRef) data->args.hipTexRefGetAddress.texRef__val = *(data->args.hipTexRefGetAddress.texRef);
|
|
7085
7359
|
break;
|
|
7360
|
+
// hipTexRefGetArray[('hipArray_t*', 'pArray'), ('const textureReference*', 'texRef')]
|
|
7361
|
+
case HIP_API_ID_hipTexRefGetArray:
|
|
7362
|
+
if (data->args.hipTexRefGetArray.pArray) data->args.hipTexRefGetArray.pArray__val = *(data->args.hipTexRefGetArray.pArray);
|
|
7363
|
+
if (data->args.hipTexRefGetArray.texRef) data->args.hipTexRefGetArray.texRef__val = *(data->args.hipTexRefGetArray.texRef);
|
|
7364
|
+
break;
|
|
7365
|
+
// hipTexRefGetBorderColor[('float*', 'pBorderColor'), ('const textureReference*', 'texRef')]
|
|
7366
|
+
case HIP_API_ID_hipTexRefGetBorderColor:
|
|
7367
|
+
if (data->args.hipTexRefGetBorderColor.pBorderColor) data->args.hipTexRefGetBorderColor.pBorderColor__val = *(data->args.hipTexRefGetBorderColor.pBorderColor);
|
|
7368
|
+
if (data->args.hipTexRefGetBorderColor.texRef) data->args.hipTexRefGetBorderColor.texRef__val = *(data->args.hipTexRefGetBorderColor.texRef);
|
|
7369
|
+
break;
|
|
7086
7370
|
// hipTexRefGetFlags[('unsigned int*', 'pFlags'), ('const textureReference*', 'texRef')]
|
|
7087
7371
|
case HIP_API_ID_hipTexRefGetFlags:
|
|
7088
7372
|
if (data->args.hipTexRefGetFlags.pFlags) data->args.hipTexRefGetFlags.pFlags__val = *(data->args.hipTexRefGetFlags.pFlags);
|
|
@@ -7636,20 +7920,6 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
7636
7920
|
oss << ", ctx="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphAddMemsetNode.ctx);
|
|
7637
7921
|
oss << ")";
|
|
7638
7922
|
break;
|
|
7639
|
-
case HIP_API_ID_hipDrvGraphMemcpyNodeGetParams:
|
|
7640
|
-
oss << "hipDrvGraphMemcpyNodeGetParams(";
|
|
7641
|
-
oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.hNode);
|
|
7642
|
-
if (data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
|
|
7643
|
-
else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeGetParams.nodeParams__val); }
|
|
7644
|
-
oss << ")";
|
|
7645
|
-
break;
|
|
7646
|
-
case HIP_API_ID_hipDrvGraphMemcpyNodeSetParams:
|
|
7647
|
-
oss << "hipDrvGraphMemcpyNodeSetParams(";
|
|
7648
|
-
oss << "hNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.hNode);
|
|
7649
|
-
if (data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams == NULL) oss << ", nodeParams=NULL";
|
|
7650
|
-
else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipDrvGraphMemcpyNodeSetParams.nodeParams__val); }
|
|
7651
|
-
oss << ")";
|
|
7652
|
-
break;
|
|
7653
7923
|
case HIP_API_ID_hipDrvMemcpy2DUnaligned:
|
|
7654
7924
|
oss << "hipDrvMemcpy2DUnaligned(";
|
|
7655
7925
|
if (data->args.hipDrvMemcpy2DUnaligned.pCopy == NULL) oss << "pCopy=NULL";
|
|
@@ -7721,6 +7991,10 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
7721
7991
|
oss << "event="; roctracer::hip_support::detail::operator<<(oss, data->args.hipEventSynchronize.event);
|
|
7722
7992
|
oss << ")";
|
|
7723
7993
|
break;
|
|
7994
|
+
case HIP_API_ID_hipExtGetLastError:
|
|
7995
|
+
oss << "hipExtGetLastError(";
|
|
7996
|
+
oss << ")";
|
|
7997
|
+
break;
|
|
7724
7998
|
case HIP_API_ID_hipExtGetLinkTypeAndHopCount:
|
|
7725
7999
|
oss << "hipExtGetLinkTypeAndHopCount(";
|
|
7726
8000
|
oss << "device1="; roctracer::hip_support::detail::operator<<(oss, data->args.hipExtGetLinkTypeAndHopCount.device1);
|
|
@@ -7929,12 +8203,15 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
7929
8203
|
oss << "hipGetErrorString(";
|
|
7930
8204
|
oss << ")";
|
|
7931
8205
|
break;
|
|
7932
|
-
case
|
|
7933
|
-
oss << "
|
|
8206
|
+
case HIP_API_ID_hipGetFuncBySymbol:
|
|
8207
|
+
oss << "hipGetFuncBySymbol(";
|
|
8208
|
+
if (data->args.hipGetFuncBySymbol.functionPtr == NULL) oss << "functionPtr=NULL";
|
|
8209
|
+
else { oss << "functionPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.functionPtr__val); }
|
|
8210
|
+
oss << ", symbolPtr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetFuncBySymbol.symbolPtr);
|
|
7934
8211
|
oss << ")";
|
|
7935
8212
|
break;
|
|
7936
|
-
case
|
|
7937
|
-
oss << "
|
|
8213
|
+
case HIP_API_ID_hipGetLastError:
|
|
8214
|
+
oss << "hipGetLastError(";
|
|
7938
8215
|
oss << ")";
|
|
7939
8216
|
break;
|
|
7940
8217
|
case HIP_API_ID_hipGetMipmappedArrayLevel:
|
|
@@ -7945,6 +8222,18 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
7945
8222
|
oss << ", level="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetMipmappedArrayLevel.level);
|
|
7946
8223
|
oss << ")";
|
|
7947
8224
|
break;
|
|
8225
|
+
case HIP_API_ID_hipGetProcAddress:
|
|
8226
|
+
oss << "hipGetProcAddress(";
|
|
8227
|
+
if (data->args.hipGetProcAddress.symbol == NULL) oss << "symbol=NULL";
|
|
8228
|
+
else { oss << "symbol="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbol__val); }
|
|
8229
|
+
if (data->args.hipGetProcAddress.pfn == NULL) oss << ", pfn=NULL";
|
|
8230
|
+
else { oss << ", pfn="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.pfn__val); }
|
|
8231
|
+
oss << ", hipVersion="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.hipVersion);
|
|
8232
|
+
oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.flags);
|
|
8233
|
+
if (data->args.hipGetProcAddress.symbolStatus == NULL) oss << ", symbolStatus=NULL";
|
|
8234
|
+
else { oss << ", symbolStatus="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGetProcAddress.symbolStatus__val); }
|
|
8235
|
+
oss << ")";
|
|
8236
|
+
break;
|
|
7948
8237
|
case HIP_API_ID_hipGetSymbolAddress:
|
|
7949
8238
|
oss << "hipGetSymbolAddress(";
|
|
7950
8239
|
if (data->args.hipGetSymbolAddress.devPtr == NULL) oss << "devPtr=NULL";
|
|
@@ -8151,6 +8440,18 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
8151
8440
|
else { oss << ", pMemsetParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddMemsetNode.pMemsetParams__val); }
|
|
8152
8441
|
oss << ")";
|
|
8153
8442
|
break;
|
|
8443
|
+
case HIP_API_ID_hipGraphAddNode:
|
|
8444
|
+
oss << "hipGraphAddNode(";
|
|
8445
|
+
if (data->args.hipGraphAddNode.pGraphNode == NULL) oss << "pGraphNode=NULL";
|
|
8446
|
+
else { oss << "pGraphNode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pGraphNode__val); }
|
|
8447
|
+
oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.graph);
|
|
8448
|
+
if (data->args.hipGraphAddNode.pDependencies == NULL) oss << ", pDependencies=NULL";
|
|
8449
|
+
else { oss << ", pDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.pDependencies__val); }
|
|
8450
|
+
oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.numDependencies);
|
|
8451
|
+
if (data->args.hipGraphAddNode.nodeParams == NULL) oss << ", nodeParams=NULL";
|
|
8452
|
+
else { oss << ", nodeParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphAddNode.nodeParams__val); }
|
|
8453
|
+
oss << ")";
|
|
8454
|
+
break;
|
|
8154
8455
|
case HIP_API_ID_hipGraphChildGraphNodeGetGraph:
|
|
8155
8456
|
oss << "hipGraphChildGraphNodeGetGraph(";
|
|
8156
8457
|
oss << "node="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphChildGraphNodeGetGraph.node);
|
|
@@ -8423,6 +8724,15 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
8423
8724
|
oss << ", flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithFlags.flags);
|
|
8424
8725
|
oss << ")";
|
|
8425
8726
|
break;
|
|
8727
|
+
case HIP_API_ID_hipGraphInstantiateWithParams:
|
|
8728
|
+
oss << "hipGraphInstantiateWithParams(";
|
|
8729
|
+
if (data->args.hipGraphInstantiateWithParams.pGraphExec == NULL) oss << "pGraphExec=NULL";
|
|
8730
|
+
else { oss << "pGraphExec="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.pGraphExec__val); }
|
|
8731
|
+
oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.graph);
|
|
8732
|
+
if (data->args.hipGraphInstantiateWithParams.instantiateParams == NULL) oss << ", instantiateParams=NULL";
|
|
8733
|
+
else { oss << ", instantiateParams="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphInstantiateWithParams.instantiateParams__val); }
|
|
8734
|
+
oss << ")";
|
|
8735
|
+
break;
|
|
8426
8736
|
case HIP_API_ID_hipGraphKernelNodeCopyAttributes:
|
|
8427
8737
|
oss << "hipGraphKernelNodeCopyAttributes(";
|
|
8428
8738
|
oss << "hSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipGraphKernelNodeCopyAttributes.hSrc);
|
|
@@ -9215,6 +9525,19 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
9215
9525
|
oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2D.kind);
|
|
9216
9526
|
oss << ")";
|
|
9217
9527
|
break;
|
|
9528
|
+
case HIP_API_ID_hipMemcpy2DArrayToArray:
|
|
9529
|
+
oss << "hipMemcpy2DArrayToArray(";
|
|
9530
|
+
oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.dst);
|
|
9531
|
+
oss << ", wOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetDst);
|
|
9532
|
+
oss << ", hOffsetDst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetDst);
|
|
9533
|
+
oss << ", src="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.src);
|
|
9534
|
+
oss << ", wOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.wOffsetSrc);
|
|
9535
|
+
oss << ", hOffsetSrc="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.hOffsetSrc);
|
|
9536
|
+
oss << ", width="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.width);
|
|
9537
|
+
oss << ", height="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.height);
|
|
9538
|
+
oss << ", kind="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DArrayToArray.kind);
|
|
9539
|
+
oss << ")";
|
|
9540
|
+
break;
|
|
9218
9541
|
case HIP_API_ID_hipMemcpy2DAsync:
|
|
9219
9542
|
oss << "hipMemcpy2DAsync(";
|
|
9220
9543
|
oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpy2DAsync.dst);
|
|
@@ -9299,6 +9622,23 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
9299
9622
|
oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAsync.stream);
|
|
9300
9623
|
oss << ")";
|
|
9301
9624
|
break;
|
|
9625
|
+
case HIP_API_ID_hipMemcpyAtoA:
|
|
9626
|
+
oss << "hipMemcpyAtoA(";
|
|
9627
|
+
oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstArray);
|
|
9628
|
+
oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.dstOffset);
|
|
9629
|
+
oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcArray);
|
|
9630
|
+
oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.srcOffset);
|
|
9631
|
+
oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoA.ByteCount);
|
|
9632
|
+
oss << ")";
|
|
9633
|
+
break;
|
|
9634
|
+
case HIP_API_ID_hipMemcpyAtoD:
|
|
9635
|
+
oss << "hipMemcpyAtoD(";
|
|
9636
|
+
oss << "dstDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.dstDevice);
|
|
9637
|
+
oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcArray);
|
|
9638
|
+
oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.srcOffset);
|
|
9639
|
+
oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoD.ByteCount);
|
|
9640
|
+
oss << ")";
|
|
9641
|
+
break;
|
|
9302
9642
|
case HIP_API_ID_hipMemcpyAtoH:
|
|
9303
9643
|
oss << "hipMemcpyAtoH(";
|
|
9304
9644
|
oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.dst);
|
|
@@ -9307,6 +9647,23 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
9307
9647
|
oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoH.count);
|
|
9308
9648
|
oss << ")";
|
|
9309
9649
|
break;
|
|
9650
|
+
case HIP_API_ID_hipMemcpyAtoHAsync:
|
|
9651
|
+
oss << "hipMemcpyAtoHAsync(";
|
|
9652
|
+
oss << "dstHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.dstHost);
|
|
9653
|
+
oss << ", srcArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcArray);
|
|
9654
|
+
oss << ", srcOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.srcOffset);
|
|
9655
|
+
oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.ByteCount);
|
|
9656
|
+
oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyAtoHAsync.stream);
|
|
9657
|
+
oss << ")";
|
|
9658
|
+
break;
|
|
9659
|
+
case HIP_API_ID_hipMemcpyDtoA:
|
|
9660
|
+
oss << "hipMemcpyDtoA(";
|
|
9661
|
+
oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstArray);
|
|
9662
|
+
oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.dstOffset);
|
|
9663
|
+
oss << ", srcDevice="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.srcDevice);
|
|
9664
|
+
oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoA.ByteCount);
|
|
9665
|
+
oss << ")";
|
|
9666
|
+
break;
|
|
9310
9667
|
case HIP_API_ID_hipMemcpyDtoD:
|
|
9311
9668
|
oss << "hipMemcpyDtoD(";
|
|
9312
9669
|
oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyDtoD.dst);
|
|
@@ -9374,6 +9731,15 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
9374
9731
|
oss << ", count="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoA.count);
|
|
9375
9732
|
oss << ")";
|
|
9376
9733
|
break;
|
|
9734
|
+
case HIP_API_ID_hipMemcpyHtoAAsync:
|
|
9735
|
+
oss << "hipMemcpyHtoAAsync(";
|
|
9736
|
+
oss << "dstArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstArray);
|
|
9737
|
+
oss << ", dstOffset="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.dstOffset);
|
|
9738
|
+
oss << ", srcHost="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.srcHost);
|
|
9739
|
+
oss << ", ByteCount="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.ByteCount);
|
|
9740
|
+
oss << ", stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoAAsync.stream);
|
|
9741
|
+
oss << ")";
|
|
9742
|
+
break;
|
|
9377
9743
|
case HIP_API_ID_hipMemcpyHtoD:
|
|
9378
9744
|
oss << "hipMemcpyHtoD(";
|
|
9379
9745
|
oss << "dst="; roctracer::hip_support::detail::operator<<(oss, data->args.hipMemcpyHtoD.dst);
|
|
@@ -9797,6 +10163,13 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
9797
10163
|
oss << "flags="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetDeviceFlags.flags);
|
|
9798
10164
|
oss << ")";
|
|
9799
10165
|
break;
|
|
10166
|
+
case HIP_API_ID_hipSetValidDevices:
|
|
10167
|
+
oss << "hipSetValidDevices(";
|
|
10168
|
+
if (data->args.hipSetValidDevices.device_arr == NULL) oss << "device_arr=NULL";
|
|
10169
|
+
else { oss << "device_arr="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.device_arr__val); }
|
|
10170
|
+
oss << ", len="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetValidDevices.len);
|
|
10171
|
+
oss << ")";
|
|
10172
|
+
break;
|
|
9800
10173
|
case HIP_API_ID_hipSetupArgument:
|
|
9801
10174
|
oss << "hipSetupArgument(";
|
|
9802
10175
|
oss << "arg="; roctracer::hip_support::detail::operator<<(oss, data->args.hipSetupArgument.arg);
|
|
@@ -9836,6 +10209,18 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
9836
10209
|
oss << ", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCapture.mode);
|
|
9837
10210
|
oss << ")";
|
|
9838
10211
|
break;
|
|
10212
|
+
case HIP_API_ID_hipStreamBeginCaptureToGraph:
|
|
10213
|
+
oss << "hipStreamBeginCaptureToGraph(";
|
|
10214
|
+
oss << "stream="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.stream);
|
|
10215
|
+
oss << ", graph="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.graph);
|
|
10216
|
+
if (data->args.hipStreamBeginCaptureToGraph.dependencies == NULL) oss << ", dependencies=NULL";
|
|
10217
|
+
else { oss << ", dependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencies__val); }
|
|
10218
|
+
if (data->args.hipStreamBeginCaptureToGraph.dependencyData == NULL) oss << ", dependencyData=NULL";
|
|
10219
|
+
else { oss << ", dependencyData="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.dependencyData__val); }
|
|
10220
|
+
oss << ", numDependencies="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.numDependencies);
|
|
10221
|
+
oss << ", mode="; roctracer::hip_support::detail::operator<<(oss, data->args.hipStreamBeginCaptureToGraph.mode);
|
|
10222
|
+
oss << ")";
|
|
10223
|
+
break;
|
|
9839
10224
|
case HIP_API_ID_hipStreamCreate:
|
|
9840
10225
|
oss << "hipStreamCreate(";
|
|
9841
10226
|
if (data->args.hipStreamCreate.stream == NULL) oss << "stream=NULL";
|
|
@@ -9989,6 +10374,22 @@ static inline const char* hipApiString(hip_api_id_t id, const hip_api_data_t* da
|
|
|
9989
10374
|
else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetAddress.texRef__val); }
|
|
9990
10375
|
oss << ")";
|
|
9991
10376
|
break;
|
|
10377
|
+
case HIP_API_ID_hipTexRefGetArray:
|
|
10378
|
+
oss << "hipTexRefGetArray(";
|
|
10379
|
+
if (data->args.hipTexRefGetArray.pArray == NULL) oss << "pArray=NULL";
|
|
10380
|
+
else { oss << "pArray="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.pArray__val); }
|
|
10381
|
+
if (data->args.hipTexRefGetArray.texRef == NULL) oss << ", texRef=NULL";
|
|
10382
|
+
else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetArray.texRef__val); }
|
|
10383
|
+
oss << ")";
|
|
10384
|
+
break;
|
|
10385
|
+
case HIP_API_ID_hipTexRefGetBorderColor:
|
|
10386
|
+
oss << "hipTexRefGetBorderColor(";
|
|
10387
|
+
if (data->args.hipTexRefGetBorderColor.pBorderColor == NULL) oss << "pBorderColor=NULL";
|
|
10388
|
+
else { oss << "pBorderColor="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.pBorderColor__val); }
|
|
10389
|
+
if (data->args.hipTexRefGetBorderColor.texRef == NULL) oss << ", texRef=NULL";
|
|
10390
|
+
else { oss << ", texRef="; roctracer::hip_support::detail::operator<<(oss, data->args.hipTexRefGetBorderColor.texRef__val); }
|
|
10391
|
+
oss << ")";
|
|
10392
|
+
break;
|
|
9992
10393
|
case HIP_API_ID_hipTexRefGetFlags:
|
|
9993
10394
|
oss << "hipTexRefGetFlags(";
|
|
9994
10395
|
if (data->args.hipTexRefGetFlags.pFlags == NULL) oss << "pFlags=NULL";
|