triton-windows 3.3.0.post19__cp313-cp313-win_amd64.whl → 3.3.1.post21__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 +1 -1
- triton/backends/amd/driver.py +6 -1
- triton/backends/nvidia/compiler.py +1 -3
- triton/backends/nvidia/driver.py +7 -3
- triton/runtime/autotuner.py +2 -2
- triton/runtime/build.py +5 -5
- triton/runtime/tcc/lib/python310.def +1610 -0
- triton/runtime/tcc/lib/python311.def +1633 -0
- triton/runtime/tcc/lib/python312.def +1703 -0
- triton/runtime/tcc/lib/python313.def +1651 -0
- triton/runtime/tcc/lib/python313t.def +1656 -0
- triton/runtime/tcc/lib/python39.def +1644 -0
- triton/runtime/tcc/lib/python3t.def +905 -0
- triton/windows_utils.py +11 -4
- {triton_windows-3.3.0.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/METADATA +1 -1
- {triton_windows-3.3.0.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/RECORD +19 -109
- {triton_windows-3.3.0.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/WHEEL +1 -1
- triton/backends/amd/include/hip/amd_detail/amd_channel_descriptor.h +0 -358
- triton/backends/amd/include/hip/amd_detail/amd_device_functions.h +0 -1010
- triton/backends/amd/include/hip/amd_detail/amd_hip_atomic.h +0 -1638
- triton/backends/amd/include/hip/amd_detail/amd_hip_bf16.h +0 -1814
- triton/backends/amd/include/hip/amd_detail/amd_hip_bfloat16.h +0 -293
- triton/backends/amd/include/hip/amd_detail/amd_hip_common.h +0 -32
- triton/backends/amd/include/hip/amd_detail/amd_hip_complex.h +0 -174
- triton/backends/amd/include/hip/amd_detail/amd_hip_cooperative_groups.h +0 -835
- triton/backends/amd/include/hip/amd_detail/amd_hip_fp16.h +0 -1809
- triton/backends/amd/include/hip/amd_detail/amd_hip_fp8.h +0 -1391
- triton/backends/amd/include/hip/amd_detail/amd_hip_gl_interop.h +0 -108
- triton/backends/amd/include/hip/amd_detail/amd_hip_math_constants.h +0 -124
- triton/backends/amd/include/hip/amd_detail/amd_hip_runtime.h +0 -405
- triton/backends/amd/include/hip/amd_detail/amd_hip_runtime_pt_api.h +0 -196
- triton/backends/amd/include/hip/amd_detail/amd_hip_unsafe_atomics.h +0 -565
- triton/backends/amd/include/hip/amd_detail/amd_hip_vector_types.h +0 -2226
- triton/backends/amd/include/hip/amd_detail/amd_math_functions.h +0 -104
- triton/backends/amd/include/hip/amd_detail/amd_surface_functions.h +0 -244
- triton/backends/amd/include/hip/amd_detail/amd_warp_functions.h +0 -538
- triton/backends/amd/include/hip/amd_detail/amd_warp_sync_functions.h +0 -288
- triton/backends/amd/include/hip/amd_detail/concepts.hpp +0 -30
- triton/backends/amd/include/hip/amd_detail/device_library_decls.h +0 -133
- triton/backends/amd/include/hip/amd_detail/functional_grid_launch.hpp +0 -218
- triton/backends/amd/include/hip/amd_detail/grid_launch.h +0 -67
- triton/backends/amd/include/hip/amd_detail/grid_launch.hpp +0 -50
- triton/backends/amd/include/hip/amd_detail/grid_launch_GGL.hpp +0 -26
- triton/backends/amd/include/hip/amd_detail/helpers.hpp +0 -137
- triton/backends/amd/include/hip/amd_detail/hip_api_trace.hpp +0 -1446
- triton/backends/amd/include/hip/amd_detail/hip_assert.h +0 -101
- triton/backends/amd/include/hip/amd_detail/hip_cooperative_groups_helper.h +0 -242
- triton/backends/amd/include/hip/amd_detail/hip_fp16_gcc.h +0 -254
- triton/backends/amd/include/hip/amd_detail/hip_fp16_math_fwd.h +0 -96
- triton/backends/amd/include/hip/amd_detail/hip_ldg.h +0 -100
- triton/backends/amd/include/hip/amd_detail/hip_prof_str.h +0 -10570
- triton/backends/amd/include/hip/amd_detail/hip_runtime_prof.h +0 -78
- triton/backends/amd/include/hip/amd_detail/host_defines.h +0 -184
- triton/backends/amd/include/hip/amd_detail/hsa_helpers.hpp +0 -102
- triton/backends/amd/include/hip/amd_detail/macro_based_grid_launch.hpp +0 -798
- triton/backends/amd/include/hip/amd_detail/math_fwd.h +0 -698
- triton/backends/amd/include/hip/amd_detail/ockl_image.h +0 -177
- triton/backends/amd/include/hip/amd_detail/program_state.hpp +0 -107
- triton/backends/amd/include/hip/amd_detail/texture_fetch_functions.h +0 -491
- triton/backends/amd/include/hip/amd_detail/texture_indirect_functions.h +0 -478
- triton/backends/amd/include/hip/channel_descriptor.h +0 -39
- triton/backends/amd/include/hip/device_functions.h +0 -38
- triton/backends/amd/include/hip/driver_types.h +0 -468
- triton/backends/amd/include/hip/hip_bf16.h +0 -36
- triton/backends/amd/include/hip/hip_bfloat16.h +0 -44
- triton/backends/amd/include/hip/hip_common.h +0 -100
- triton/backends/amd/include/hip/hip_complex.h +0 -38
- triton/backends/amd/include/hip/hip_cooperative_groups.h +0 -46
- triton/backends/amd/include/hip/hip_deprecated.h +0 -95
- triton/backends/amd/include/hip/hip_ext.h +0 -161
- triton/backends/amd/include/hip/hip_fp16.h +0 -36
- triton/backends/amd/include/hip/hip_fp8.h +0 -33
- triton/backends/amd/include/hip/hip_gl_interop.h +0 -32
- triton/backends/amd/include/hip/hip_hcc.h +0 -24
- triton/backends/amd/include/hip/hip_math_constants.h +0 -36
- triton/backends/amd/include/hip/hip_profile.h +0 -27
- triton/backends/amd/include/hip/hip_runtime.h +0 -75
- triton/backends/amd/include/hip/hip_runtime_api.h +0 -9261
- triton/backends/amd/include/hip/hip_texture_types.h +0 -29
- triton/backends/amd/include/hip/hip_vector_types.h +0 -41
- triton/backends/amd/include/hip/hip_version.h +0 -17
- triton/backends/amd/include/hip/hiprtc.h +0 -421
- triton/backends/amd/include/hip/library_types.h +0 -78
- triton/backends/amd/include/hip/math_functions.h +0 -42
- triton/backends/amd/include/hip/surface_types.h +0 -63
- triton/backends/amd/include/hip/texture_types.h +0 -194
- triton/backends/amd/include/hsa/Brig.h +0 -1131
- triton/backends/amd/include/hsa/amd_hsa_common.h +0 -91
- triton/backends/amd/include/hsa/amd_hsa_elf.h +0 -462
- triton/backends/amd/include/hsa/amd_hsa_kernel_code.h +0 -269
- triton/backends/amd/include/hsa/amd_hsa_queue.h +0 -109
- triton/backends/amd/include/hsa/amd_hsa_signal.h +0 -80
- triton/backends/amd/include/hsa/hsa.h +0 -5738
- triton/backends/amd/include/hsa/hsa_amd_tool.h +0 -91
- triton/backends/amd/include/hsa/hsa_api_trace.h +0 -579
- triton/backends/amd/include/hsa/hsa_api_trace_version.h +0 -68
- triton/backends/amd/include/hsa/hsa_ext_amd.h +0 -3146
- triton/backends/amd/include/hsa/hsa_ext_finalize.h +0 -531
- triton/backends/amd/include/hsa/hsa_ext_image.h +0 -1454
- triton/backends/amd/include/hsa/hsa_ven_amd_aqlprofile.h +0 -488
- triton/backends/amd/include/hsa/hsa_ven_amd_loader.h +0 -667
- triton/backends/amd/include/hsa/hsa_ven_amd_pc_sampling.h +0 -416
- triton/backends/amd/include/roctracer/ext/prof_protocol.h +0 -107
- triton/backends/amd/include/roctracer/hip_ostream_ops.h +0 -4515
- triton/backends/amd/include/roctracer/hsa_ostream_ops.h +0 -1727
- triton/backends/amd/include/roctracer/hsa_prof_str.h +0 -3059
- triton/backends/amd/include/roctracer/roctracer.h +0 -779
- triton/backends/amd/include/roctracer/roctracer_ext.h +0 -81
- triton/backends/amd/include/roctracer/roctracer_hcc.h +0 -24
- triton/backends/amd/include/roctracer/roctracer_hip.h +0 -37
- triton/backends/amd/include/roctracer/roctracer_hsa.h +0 -112
- triton/backends/amd/include/roctracer/roctracer_plugin.h +0 -137
- triton/backends/amd/include/roctracer/roctracer_roctx.h +0 -67
- triton/backends/amd/include/roctracer/roctx.h +0 -229
- {triton_windows-3.3.0.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/top_level.txt +0 -0
triton/windows_utils.py
CHANGED
|
@@ -204,12 +204,19 @@ def find_winsdk_env() -> tuple[Optional[Path], Optional[str]]:
|
|
|
204
204
|
winsdk_base_path = Path(winsdk_base_path)
|
|
205
205
|
|
|
206
206
|
version = os.getenv("WindowsSDKVersion")
|
|
207
|
-
if version:
|
|
208
|
-
version =
|
|
207
|
+
if version is None:
|
|
208
|
+
version = os.getenv("WindowsSDKVer")
|
|
209
|
+
if version is None:
|
|
210
|
+
warnings.warn(
|
|
211
|
+
f"Environment variable WindowsSdkDir = {winsdk_base_path}, "
|
|
212
|
+
"but WindowsSDKVersion (or WindowsSDKVer) is not set."
|
|
213
|
+
)
|
|
214
|
+
return None, None
|
|
215
|
+
version = version.rstrip("\\")
|
|
209
216
|
if not check_winsdk(winsdk_base_path, version):
|
|
210
217
|
warnings.warn(
|
|
211
|
-
f"Environment variables WindowsSdkDir = {
|
|
212
|
-
f"WindowsSDKVersion = {
|
|
218
|
+
f"Environment variables WindowsSdkDir = {winsdk_base_path}, "
|
|
219
|
+
f"WindowsSDKVersion (or WindowsSDKVer) = {version} are set, "
|
|
213
220
|
"but this Windows SDK installation is incomplete."
|
|
214
221
|
)
|
|
215
222
|
return None, None
|
|
@@ -1,120 +1,23 @@
|
|
|
1
|
-
triton/__init__.py,sha256=
|
|
1
|
+
triton/__init__.py,sha256=3SQQyt-oywQBYQfubass3Nuj08o8RqPqmli6IPYthww,1392
|
|
2
2
|
triton/_internal_testing.py,sha256=OBY28huiEWItqGgiukgZzHLLaSbS8yj9kdhn_u562Yg,5904
|
|
3
3
|
triton/_utils.py,sha256=5RiCLwW14w0Q3mdZ-9yz-VO5KiSexNj9xeDt4gaNsvE,1014
|
|
4
4
|
triton/errors.py,sha256=8WfnuRKLG578mgY6cBA3ECruVMf9ULEKFNgRcJ6IhWM,89
|
|
5
5
|
triton/testing.py,sha256=ivFf1Fq9frmfVahaVUp0bgJxmvVZNACZfj3Sai6zfAs,20048
|
|
6
|
-
triton/windows_utils.py,sha256=
|
|
7
|
-
triton/_C/libtriton.pyd,sha256
|
|
6
|
+
triton/windows_utils.py,sha256=KOxhtcaTpNbs-UNtZvBJ4lCahJeMgbXUzWdv2wW3z98,13036
|
|
7
|
+
triton/_C/libtriton.pyd,sha256=-9nmO4enVytCA6tMWQGbKo3UbdnkjJ0xZJhJXClm8-o,87410688
|
|
8
8
|
triton/backends/__init__.py,sha256=opAo_vgEMt3tLO_bYFrYGksnIu0qohbmyuu_s3-rNAs,1595
|
|
9
9
|
triton/backends/compiler.py,sha256=ymaG0kpveAuESbQ9QZ0RyXjr0Aq4el_G5XGYogJ2gNA,3588
|
|
10
10
|
triton/backends/driver.py,sha256=AN60upJlPgia0JwvZ8vIVgLITNPuI0fdz8zMIIHPpF4,1450
|
|
11
11
|
triton/backends/amd/compiler.py,sha256=27jurEV7tH5J6BHtOXrdPJyCMYIPHo5G4Op_O66gv4E,19135
|
|
12
12
|
triton/backends/amd/driver.c,sha256=obiiiPndny5NyhUcJ8iyrVHrXU1ruLpLGd_LgaKQEbU,8459
|
|
13
|
-
triton/backends/amd/driver.py,sha256=
|
|
14
|
-
triton/backends/amd/include/hip/channel_descriptor.h,sha256=gTYe7SzIg-m3ThOQY2vr5Rh6-uWvUP_d37v8F4T2Q14,1773
|
|
15
|
-
triton/backends/amd/include/hip/device_functions.h,sha256=vkybrdk6wyZP-T1I5PRjtfcMqGYXDeBpB5jhYj358GU,1589
|
|
16
|
-
triton/backends/amd/include/hip/driver_types.h,sha256=m1HI80HC80qkTeco2Jd07woL_jTy48lz9JiDCV_8zsg,18985
|
|
17
|
-
triton/backends/amd/include/hip/hip_bf16.h,sha256=lLw6K5ltb6AqSuINYTq8flxxsDkBP8Y2zbqmUjBcG9c,1571
|
|
18
|
-
triton/backends/amd/include/hip/hip_bfloat16.h,sha256=Nqoy9VjfjglVx2_NJcp8hyT1sJUukXRWj8XMlidv1yA,1755
|
|
19
|
-
triton/backends/amd/include/hip/hip_common.h,sha256=q5aPhG3DHW0iUJ7ayS5lfM_ZnZQNbMmLmfdHlOwbPdA,3450
|
|
20
|
-
triton/backends/amd/include/hip/hip_complex.h,sha256=TmdzQP5oVPfhBVARJYcR5eyv9HInmKMFuFoQ_1ECk_I,1594
|
|
21
|
-
triton/backends/amd/include/hip/hip_cooperative_groups.h,sha256=gMLvaYQ3b-f1vcoMtEwtkN0hO5__zNfP5p5oBKmv_SE,1878
|
|
22
|
-
triton/backends/amd/include/hip/hip_deprecated.h,sha256=gFLuCuKn7R_xCfum_i_Q-vi3Lg8NWHKphKZKze8DwEo,6340
|
|
23
|
-
triton/backends/amd/include/hip/hip_ext.h,sha256=mlzOesF-X62g9AnWdA4MP99GRu_VtwMbffOJFloLtRc,8609
|
|
24
|
-
triton/backends/amd/include/hip/hip_fp16.h,sha256=vKJh-zgDWUW7NyXxtv2ho6aVLXX8BIPfzCigEQ5d6I4,1523
|
|
25
|
-
triton/backends/amd/include/hip/hip_fp8.h,sha256=C4qn0im7Uhvp226VmL_QbF2b45Hhss2eokdSbqWkBcs,1433
|
|
26
|
-
triton/backends/amd/include/hip/hip_gl_interop.h,sha256=-GwkSFMBneM8akFE7pqlhi0k-Ft2uz5674wGoiaU43Q,1438
|
|
27
|
-
triton/backends/amd/include/hip/hip_hcc.h,sha256=RYrArDlnTEP89xKbzIpW17_bsBY5moCitq00PL-4oWI,1307
|
|
28
|
-
triton/backends/amd/include/hip/hip_math_constants.h,sha256=8bSfve5E7cDuvNAUkFUeQwSLg3iJJHuqhuD4FmHNxEM,1588
|
|
29
|
-
triton/backends/amd/include/hip/hip_profile.h,sha256=sjsNuduu5Jd6s7sJndZvZLlE0RZ0wN1rTVwv5nR7If0,1304
|
|
30
|
-
triton/backends/amd/include/hip/hip_runtime.h,sha256=uy90l8Nep6xNUzeGcHMoDv84BT3hMpieTV-5ijkpL5A,3058
|
|
31
|
-
triton/backends/amd/include/hip/hip_runtime_api.h,sha256=H9vPaMQ7VBkEtkxI5RyJ9UOXCmKzbPF70pcAsYNbP_A,402475
|
|
32
|
-
triton/backends/amd/include/hip/hip_texture_types.h,sha256=AhkvjG4cDjf_ZFLg5SsSTfBnXG614PBK1XVPa7irZbk,1237
|
|
33
|
-
triton/backends/amd/include/hip/hip_vector_types.h,sha256=6FcBMBkP3ZN1Enalpa9hV0VopxdBJvbUCuaxISgzbTY,1630
|
|
34
|
-
triton/backends/amd/include/hip/hip_version.h,sha256=3MuxlZXlLLrhLllRr-1yrIZyv7l_zknuZrT8bDDtm3g,407
|
|
35
|
-
triton/backends/amd/include/hip/hiprtc.h,sha256=dBxesFd3NCvG-NQ99s61i4fUQXfoHNmYhdF6CtE9QHQ,15904
|
|
36
|
-
triton/backends/amd/include/hip/library_types.h,sha256=tPOJTQedPH5qC9meawLgKpnbFrQC2WKlfo6s0rhKoZc,2370
|
|
37
|
-
triton/backends/amd/include/hip/math_functions.h,sha256=frzdJ4veBG8n9ALO4EmRrdOiDguR6FP6ygLnvOnVVSM,1815
|
|
38
|
-
triton/backends/amd/include/hip/surface_types.h,sha256=uQHjITphDM7k4pnuEoDEupMUxBobzvhJpSy0unpegh4,1959
|
|
39
|
-
triton/backends/amd/include/hip/texture_types.h,sha256=CtmdykZfDikhnrVfdJk3w2VK5X3Af_6rEKzU-VgLu24,6687
|
|
40
|
-
triton/backends/amd/include/hip/amd_detail/amd_channel_descriptor.h,sha256=_2myGIdBTE0plFbGKOSx8HUqGZd0UBHo-YvKe2xkpbU,11708
|
|
41
|
-
triton/backends/amd/include/hip/amd_detail/amd_device_functions.h,sha256=1TwUYh4RJhoiz850vLNicO1fFxFHR-vC-16ttDGDGGw,31367
|
|
42
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_atomic.h,sha256=KfiNN5FjV6mqSAOam6VJDu9tI7l8uaRUrQ5EMiP5Ymw,50830
|
|
43
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_bf16.h,sha256=AWsz68vSfi9PnCsIIMOQkCStRLbEat7f6om9_J2Ahj4,61352
|
|
44
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_bfloat16.h,sha256=cFJlQEELGau_9geACeuiiFHyuAWCD6-VuSqcTnqajX0,9484
|
|
45
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_common.h,sha256=dzkuIzuklqTRaNJjKLqfFEm6Fh4tK_FkTjYHFsZkmCI,1370
|
|
46
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_complex.h,sha256=SEygl8X_MCXDVXxNIBm5Ds0eWwa-ojVXUUW48SIgsX8,5855
|
|
47
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_cooperative_groups.h,sha256=t8rqzpZS--LGLI1D-pNBNCp7TCKGS0H136ps6m6VOlI,31861
|
|
48
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_fp16.h,sha256=86Nw97iaiC4QV5xBv8d3Bwc4FioMh5DQuCHj3sh_Yrw,57854
|
|
49
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_fp8.h,sha256=wc1l471D-BBroLMoV1uEsPXTp-zQjSpq-jF8bqeNZX8,53765
|
|
50
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_gl_interop.h,sha256=djlpeoEOqtX0gVVRgqqakQZkwNzLudnK_ixbShizU7M,3861
|
|
51
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_math_constants.h,sha256=u1fIaf-AiWF70ZA1zxVkUIbRqoJLu5lrfYbgt_usySk,5890
|
|
52
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_runtime.h,sha256=ZvDsQ0AiZnJ178NuAsA7AuHrySXbN3aFs5Z9m2tsIDg,13954
|
|
53
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_runtime_pt_api.h,sha256=fc4mtHBkWmiSRh8m-dxIxvu9zsweLTwEgohkntYcgJw,9997
|
|
54
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_unsafe_atomics.h,sha256=w9nJ1S32GRl_ejDiGacteM6Zf84iovIifAzWX8Bze0Q,24202
|
|
55
|
-
triton/backends/amd/include/hip/amd_detail/amd_hip_vector_types.h,sha256=qPdmRJnzlgtjVshkafoHxdHoMLkoYS9U-ZD-TjLznr0,57088
|
|
56
|
-
triton/backends/amd/include/hip/amd_detail/amd_math_functions.h,sha256=46wiaEMStCczEsHtccgHlATfw_0O5j6Z8rlFkC7bmUA,3171
|
|
57
|
-
triton/backends/amd/include/hip/amd_detail/amd_surface_functions.h,sha256=rsQuylNqmNhLb7PZjBz7WbruD_6YIXtOptY2BNJDxVU,11062
|
|
58
|
-
triton/backends/amd/include/hip/amd_detail/amd_warp_functions.h,sha256=-uJy_hBwSxRA9gzGp4UEZ3co8D_UHVNoMr_Rvx19qik,20042
|
|
59
|
-
triton/backends/amd/include/hip/amd_detail/amd_warp_sync_functions.h,sha256=2B25tjpJ_KJGijRBaEy_a2_4HLt_TXQ6eJ57zRNoPOw,11706
|
|
60
|
-
triton/backends/amd/include/hip/amd_detail/concepts.hpp,sha256=7EOkpr2w2-jclUQ115yxtFCkBWJ7btUzhBOe-mR0N0M,1252
|
|
61
|
-
triton/backends/amd/include/hip/amd_detail/device_library_decls.h,sha256=4clSpgf898UVjfZFVnDkcYi75A27crPsuFtLcs1s4KU,7457
|
|
62
|
-
triton/backends/amd/include/hip/amd_detail/functional_grid_launch.hpp,sha256=u7hRB9kQXX575a5C7cV3gKow55DSBUCwO0dTjIswlag,8129
|
|
63
|
-
triton/backends/amd/include/hip/amd_detail/grid_launch.h,sha256=tNS7CQw9gy-z930CElH3n6c5iMvpsQ_WFZK024mNzEo,1830
|
|
64
|
-
triton/backends/amd/include/hip/amd_detail/grid_launch.hpp,sha256=EuAlM3olyrArebqwW5eSxo4gfjvWCGOAGAuLLmFttgw,1370
|
|
65
|
-
triton/backends/amd/include/hip/amd_detail/grid_launch_GGL.hpp,sha256=KpQAuyy1Dyt45WcPaR_x-Ex-onPGEHA01DBbla7TT-k,1219
|
|
66
|
-
triton/backends/amd/include/hip/amd_detail/helpers.hpp,sha256=hi2pW1mXQnbIwvmwWt_nG6A38sqLOd-QP5S9sETTs60,5707
|
|
67
|
-
triton/backends/amd/include/hip/amd_detail/hip_api_trace.hpp,sha256=UMsCaqurHFSRNiHpwjaA8DExAldhh4y0UP_KOxLa25Y,101025
|
|
68
|
-
triton/backends/amd/include/hip/amd_detail/hip_assert.h,sha256=fNsG23KISuY-k5JFoX-5hZ7qGQScisXuHcdEwYlXOqw,3978
|
|
69
|
-
triton/backends/amd/include/hip/amd_detail/hip_cooperative_groups_helper.h,sha256=tQ_XIvGKhvrj1h7gY-IVLmKvIPhsQa0YsBflxdhUHP8,7957
|
|
70
|
-
triton/backends/amd/include/hip/amd_detail/hip_fp16_gcc.h,sha256=BtFsKmTptN4TOHocEicfNbBl2JCdZWKm_bd5mc5OzYY,6660
|
|
71
|
-
triton/backends/amd/include/hip/amd_detail/hip_fp16_math_fwd.h,sha256=63tKWMPdW56qWlH_HbCaF_isVXufm514ol_SxL4YjTQ,5134
|
|
72
|
-
triton/backends/amd/include/hip/amd_detail/hip_ldg.h,sha256=KAEZb9H4z4DDrkaloMOeWzahiDfI2V6c68vWT3jb5fU,3652
|
|
73
|
-
triton/backends/amd/include/hip/amd_detail/hip_prof_str.h,sha256=Xb0M9ztYHRqRLjKFBumbAR2rjbUnoZulweCZKTU8ejU,648748
|
|
74
|
-
triton/backends/amd/include/hip/amd_detail/hip_runtime_prof.h,sha256=eZUI5cscYKb9xC9IqnaY53Jgy1dQjkERwQaw034Bt5g,2758
|
|
75
|
-
triton/backends/amd/include/hip/amd_detail/host_defines.h,sha256=ZyCvaPsp4vcFiEEIt2BhapfYVvWoVI_Q2P9rZHlFmCY,7197
|
|
76
|
-
triton/backends/amd/include/hip/amd_detail/hsa_helpers.hpp,sha256=Os-sJQOFI_0Abh8Ql05s0Rtfruk4NsSMfg7BtugxMgg,3232
|
|
77
|
-
triton/backends/amd/include/hip/amd_detail/macro_based_grid_launch.hpp,sha256=6ocsArNa9_R6D6XCuNy8Zq23KG-j2uYsjqNCtnMrJws,67925
|
|
78
|
-
triton/backends/amd/include/hip/amd_detail/math_fwd.h,sha256=nup5YhceJnngoLJCESI8qX08dNpbZci0i78WKu-wfdI,17000
|
|
79
|
-
triton/backends/amd/include/hip/amd_detail/ockl_image.h,sha256=LzRPGMb515_iIAIIcbb2uQB-bTvT4xOjY51VdARD7lc,10538
|
|
80
|
-
triton/backends/amd/include/hip/amd_detail/program_state.hpp,sha256=8QE9OmB8OKTy7rBr3EYEizJI2s-_1tgXpgU7zCA2Ky0,3154
|
|
81
|
-
triton/backends/amd/include/hip/amd_detail/texture_fetch_functions.h,sha256=Ex1lF2gBWJxtC3yP9pXRSFywMp3gbEmyl0Sw8iL91yM,17787
|
|
82
|
-
triton/backends/amd/include/hip/amd_detail/texture_indirect_functions.h,sha256=KkW5o5gMpoVMTRwzfXHA7-kZ9ynI8OaIw6jJ1EB1s98,18447
|
|
83
|
-
triton/backends/amd/include/hsa/Brig.h,sha256=5H-btCHq40qgjjpwVAoRWf3E0ccf-J6UCPEcKx_hGKw,32705
|
|
84
|
-
triton/backends/amd/include/hsa/amd_hsa_common.h,sha256=q_zN0eq-dwR7FnQ84PcpV3yZyvjHsouIAjJgKltGoX8,3912
|
|
85
|
-
triton/backends/amd/include/hsa/amd_hsa_elf.h,sha256=lBT57uuPT6ra01HQtM1O3RhVKW3n41AjESDSi6KVN7w,17306
|
|
86
|
-
triton/backends/amd/include/hsa/amd_hsa_kernel_code.h,sha256=C55F8a480QsW16-iwN9TIT3cKnGh6GoeoEaEv3aVh4g,12659
|
|
87
|
-
triton/backends/amd/include/hsa/amd_hsa_queue.h,sha256=ZJ-k5wY30heLmQnGB0VUz36XCiVHRmspg5FRNMGIk_U,4766
|
|
88
|
-
triton/backends/amd/include/hsa/amd_hsa_signal.h,sha256=FDegZnWQC04GtnqHjXOBsB-AoVSaqdhNY6Mwbua5FGA,2947
|
|
89
|
-
triton/backends/amd/include/hsa/hsa.h,sha256=KyOkPu9bhpsaDCJFqlnis9oPDAdN6l2ujQSepL86jjs,191193
|
|
90
|
-
triton/backends/amd/include/hsa/hsa_amd_tool.h,sha256=pyZSyIVl-UA5AOhte78jvn4V3hCd0dxJAIv7KeADsPs,2843
|
|
91
|
-
triton/backends/amd/include/hsa/hsa_api_trace.h,sha256=GRBMFBWlv2dYJIT8BAWa1y_q-veLIgEVa1uIm-eM-Yw,29602
|
|
92
|
-
triton/backends/amd/include/hsa/hsa_api_trace_version.h,sha256=yU2aATDJyhnCZF-FmgeF2wnp-EvPLE7n5zSuw8CNAqc,3248
|
|
93
|
-
triton/backends/amd/include/hsa/hsa_ext_amd.h,sha256=6XS5at7KdbW8-dzNVZwJ_1bM5OWiojdbN668pz9srbc,117980
|
|
94
|
-
triton/backends/amd/include/hsa/hsa_ext_finalize.h,sha256=sv0AZbDM-B1wIdQ3cHTMlpUtNacQN2PkOgX90IZol_o,20227
|
|
95
|
-
triton/backends/amd/include/hsa/hsa_ext_image.h,sha256=t5YJm_aw9EePCeFL1hoIfQ8ubIjBte-ptfReq6Ts-8Y,54232
|
|
96
|
-
triton/backends/amd/include/hsa/hsa_ven_amd_aqlprofile.h,sha256=IR_vo3kSqcTs-gnRdpXW3JE1RHQ71FBi4S81G8GtpZ4,19823
|
|
97
|
-
triton/backends/amd/include/hsa/hsa_ven_amd_loader.h,sha256=c6cxPAzAox7u6IbFzEkQZfCuRl-Kr39WhY2_w23X1R4,26146
|
|
98
|
-
triton/backends/amd/include/hsa/hsa_ven_amd_pc_sampling.h,sha256=1jQvi96s94-GjOGktmvpqjVRsTGANugOsV6XmgMfivk,18767
|
|
99
|
-
triton/backends/amd/include/roctracer/hip_ostream_ops.h,sha256=Si6RFHPn0QtMpSBboKFyfkrcOMYhTiom5oUnDEqRnP0,188184
|
|
100
|
-
triton/backends/amd/include/roctracer/hsa_ostream_ops.h,sha256=jSHN5Ltd_EJtecE59xJS4wL_CuLuNkbO3QMqDgMpunk,69906
|
|
101
|
-
triton/backends/amd/include/roctracer/hsa_prof_str.h,sha256=f0pO8T0JBnG_stZ_Bgawx-5_B2BNS7s9ogvEldA0UFo,124187
|
|
102
|
-
triton/backends/amd/include/roctracer/roctracer.h,sha256=B8sHz2DMNprP7EqNWIGwVLY1KQMpxmhfVy4UoR8dzzY,23849
|
|
103
|
-
triton/backends/amd/include/roctracer/roctracer_ext.h,sha256=vLaZ8peAxSy0cwrdEalKnUApkKspfa04iw1Mr_Zcio0,2940
|
|
104
|
-
triton/backends/amd/include/roctracer/roctracer_hcc.h,sha256=NlF3R8JQ9oX9lGpm0b2n-EWJ0r3y9sP9wbwnoucaCuY,1303
|
|
105
|
-
triton/backends/amd/include/roctracer/roctracer_hip.h,sha256=RCzYuNw1vLR7xK4rb06TtM9TU546UYKHJ83IMHmZEm8,1432
|
|
106
|
-
triton/backends/amd/include/roctracer/roctracer_hsa.h,sha256=M8APM64XNAWSslxQisM-pcmKoUQaUdTMaKvSACyt0Ag,4108
|
|
107
|
-
triton/backends/amd/include/roctracer/roctracer_plugin.h,sha256=8GGE1zDbdPCVJtbmwOCYq7X0mwFjfWRtzDYKLD4cKys,4786
|
|
108
|
-
triton/backends/amd/include/roctracer/roctracer_roctx.h,sha256=gBjBk5vb0l3PbBSQ7V9iFtaM_RzkIDJEW1A_PXBihBM,2014
|
|
109
|
-
triton/backends/amd/include/roctracer/roctx.h,sha256=RhJXUXRhSJ5LRE_1gm7E6-bjEMrfcFBLDLuf3UxAIh8,6717
|
|
110
|
-
triton/backends/amd/include/roctracer/ext/prof_protocol.h,sha256=6FAcvVD-dNM7uulFs2B-aTxw5xOAWGy6evdD4yUaebA,3849
|
|
13
|
+
triton/backends/amd/driver.py,sha256=y7w0jkoQ-jcpWRNDc9i6ZO-gQUOV8detjmAonqBr-zo,20473
|
|
111
14
|
triton/backends/amd/lib/asanrtl.bc,sha256=1xv2RlU3WvbdsghHlmhwiHewGM2B5dKts5bERM6S89o,24508
|
|
112
15
|
triton/backends/amd/lib/ockl.bc,sha256=wQKCzkKukIHbu0lyjKUYlhndc7S27xto6L54J0Bn-C0,246124
|
|
113
16
|
triton/backends/amd/lib/ocml.bc,sha256=UPNTXW0gCXUNB-c6orSYwb-mz9_mjUc7zny_vfFza44,205964
|
|
114
17
|
triton/backends/nvidia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
|
-
triton/backends/nvidia/compiler.py,sha256=
|
|
18
|
+
triton/backends/nvidia/compiler.py,sha256=IKcoPBln5j40P3heHjpPVczZ4XL2PpPkRGiAHTtoGM8,19922
|
|
116
19
|
triton/backends/nvidia/driver.c,sha256=HqtiJDPRxVav9pHl_swBja28RasjHZ7oFOpWKMT627c,18912
|
|
117
|
-
triton/backends/nvidia/driver.py,sha256=
|
|
20
|
+
triton/backends/nvidia/driver.py,sha256=9BOCsdHXFgGcKiUMicPu988ay0Ixo68Sa5SAyYtr-Eo,21110
|
|
118
21
|
triton/backends/nvidia/bin/ptxas.exe,sha256=iCva9hIYg-Q2NybchwaQJFkwDzNiliFOTDdZrHPLb6A,24732160
|
|
119
22
|
triton/backends/nvidia/include/cuda.h,sha256=Fn44OjeRImxegJ39apYUspseEfTWNGwpqSGUOnHj5WY,1183268
|
|
120
23
|
triton/backends/nvidia/lib/libdevice.10.bc,sha256=XC-uN8huaMOjhgWpX1EtfRLV89uYYxC-R_VzBKpype4,473728
|
|
@@ -141,8 +44,8 @@ triton/language/extra/hip/__init__.py,sha256=ieSER4LeX9_0horChGUUVwpuKAprkuka8uG
|
|
|
141
44
|
triton/language/extra/hip/libdevice.py,sha256=EVraUfeXzQmN3F5Lleg2mohVcbFWOWlLaAH1nkbqtV4,16841
|
|
142
45
|
triton/runtime/__init__.py,sha256=mKL5cqIBDUw2WO80NRCh4s1G8KYaqgM59TTAbTkPPjQ,621
|
|
143
46
|
triton/runtime/_allocation.py,sha256=zaW4B7I7c-2rkVuN7IZaUB6IQSI1t4FvnTPZH-r7DTk,798
|
|
144
|
-
triton/runtime/autotuner.py,sha256=
|
|
145
|
-
triton/runtime/build.py,sha256=
|
|
47
|
+
triton/runtime/autotuner.py,sha256=ZkdEh1hFXOA9OJvaMgBzVWTNwwYcnNYrniEN1phYd24,17870
|
|
48
|
+
triton/runtime/build.py,sha256=Kp-mqYUZV5YsiOlqA8f7cAaT5dtcb71l5Xg3-xvK4Cg,3869
|
|
146
49
|
triton/runtime/cache.py,sha256=uoU1UH3HPxkxT0r-69HIZgLBls3T-TDxJedRULX9lbM,10583
|
|
147
50
|
triton/runtime/driver.py,sha256=VZ-883Xri71R72lHB6usIpLo3gGLbZJkAlLP3ewWSpc,1509
|
|
148
51
|
triton/runtime/errors.py,sha256=CwfJXciwel_-K3BfQfKUpLPDWrSyTnGsfJkqJojrdfQ,1052
|
|
@@ -237,6 +140,13 @@ triton/runtime/tcc/lib/kernel32.def,sha256=ank2QlCtswD44SShHIX-0vqd5XQI6r0eu7HO3
|
|
|
237
140
|
triton/runtime/tcc/lib/libtcc1-64.a,sha256=huWSqjVuP1FZcAo-Fqp5kiBNVFlhsn6oy2JvyzSxWUs,41706
|
|
238
141
|
triton/runtime/tcc/lib/msvcrt.def,sha256=oB3JKUV0IE47w6R7bKFEnIlfef-SFeWC4jg6g-YUg7g,15880
|
|
239
142
|
triton/runtime/tcc/lib/python3.def,sha256=o8MijZkdWOnHNPU4fmJrT1qw3fWSlaegC969H_X5_VE,16173
|
|
143
|
+
triton/runtime/tcc/lib/python310.def,sha256=3ofvYJiv78p-4DljnpZVvy9D5SvSfF-H26MldEEVJlw,33539
|
|
144
|
+
triton/runtime/tcc/lib/python311.def,sha256=8rxqpShmaBhu2HzvmkjsJy7kxXjNDBtD3nHTa88QKqY,33820
|
|
145
|
+
triton/runtime/tcc/lib/python312.def,sha256=yIwbeXDcGnPfAjTo89oEojrlQtrW6aVPvGm7GMX1RNs,35695
|
|
146
|
+
triton/runtime/tcc/lib/python313.def,sha256=HcOu0MS-PFcj2_OskAKsXfv9w27GebWijs-rc-RXmQI,34658
|
|
147
|
+
triton/runtime/tcc/lib/python313t.def,sha256=LssGwvVZnHdyZV2HHGcAqhla1blHjulz8Q7Wft8ERrs,34774
|
|
148
|
+
triton/runtime/tcc/lib/python39.def,sha256=iv2tgW38gyRGVdJ126Za7jrtW-ZAH1gFLD62JHj1e4E,34237
|
|
149
|
+
triton/runtime/tcc/lib/python3t.def,sha256=vem4PTOKJ-w6B_UCZdGFCscddRA-XWRONNOTMdWkXYQ,18101
|
|
240
150
|
triton/runtime/tcc/lib/user32.def,sha256=EcYohyyDgmz9fLBoOR-vszLeJ2YkBUoNGvSnuXrkum0,10439
|
|
241
151
|
triton/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
242
152
|
triton/tools/build_extern.py,sha256=jCr-2hu3nLGBIJhCGUQ1jAyzLttughjkiPGEwRFjLR0,13673
|
|
@@ -247,7 +157,7 @@ triton/tools/link.py,sha256=u7qtfZRLriZkAMEGNvj8YF-k1cthmLL7BwHYqBgT63E,11871
|
|
|
247
157
|
triton/tools/mxfp.py,sha256=YQdpBrGkOVNOtnLeRjMCeVFHWkSwUubGeWsItIjO8TU,11737
|
|
248
158
|
triton/tools/extra/cuda/compile.c,sha256=TdIENsqk6wrvv1C4Mk-sq9keXe3SJuMQcf0UpxmjNZk,2153
|
|
249
159
|
triton/tools/extra/cuda/compile.h,sha256=n9QKIFZTL4RSsiXtAxBP9XGSnxjyaevQQ9bBpwDsvAg,332
|
|
250
|
-
triton_windows-3.3.
|
|
251
|
-
triton_windows-3.3.
|
|
252
|
-
triton_windows-3.3.
|
|
253
|
-
triton_windows-3.3.
|
|
160
|
+
triton_windows-3.3.1.post21.dist-info/METADATA,sha256=kau-qMUZQ7G7g7qy5MvcD4KdIf8u0RngjQyogPyQaGY,1627
|
|
161
|
+
triton_windows-3.3.1.post21.dist-info/WHEEL,sha256=qV0EIPljj1XC_vuSatRWjn02nZIz3N1t8jsZz7HBr2U,101
|
|
162
|
+
triton_windows-3.3.1.post21.dist-info/top_level.txt,sha256=KhMzHYsArnZ3IkjAQ-xLnx1n_FjvEpJNelg2xPiDl-U,254
|
|
163
|
+
triton_windows-3.3.1.post21.dist-info/RECORD,,
|
|
@@ -1,358 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
Copyright (c) 2015 - 2023 Advanced Micro Devices, Inc. All rights reserved.
|
|
3
|
-
|
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
6
|
-
in the Software without restriction, including without limitation the rights
|
|
7
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
9
|
-
furnished to do so, subject to the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be included in
|
|
12
|
-
all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
20
|
-
THE SOFTWARE.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
#ifndef HIP_INCLUDE_HIP_AMD_DETAIL_CHANNEL_DESCRIPTOR_H
|
|
24
|
-
#define HIP_INCLUDE_HIP_AMD_DETAIL_CHANNEL_DESCRIPTOR_H
|
|
25
|
-
|
|
26
|
-
#if !defined(__HIPCC_RTC__)
|
|
27
|
-
#include <hip/hip_common.h>
|
|
28
|
-
#include <hip/driver_types.h>
|
|
29
|
-
#include <hip/amd_detail/amd_hip_vector_types.h>
|
|
30
|
-
#endif
|
|
31
|
-
|
|
32
|
-
#ifdef __cplusplus
|
|
33
|
-
|
|
34
|
-
extern "C" HIP_PUBLIC_API
|
|
35
|
-
hipChannelFormatDesc hipCreateChannelDesc(int x, int y, int z, int w, hipChannelFormatKind f);
|
|
36
|
-
|
|
37
|
-
static inline hipChannelFormatDesc hipCreateChannelDescHalf() {
|
|
38
|
-
int e = (int)sizeof(unsigned short) * 8;
|
|
39
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindFloat);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
static inline hipChannelFormatDesc hipCreateChannelDescHalf1() {
|
|
43
|
-
int e = (int)sizeof(unsigned short) * 8;
|
|
44
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindFloat);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
static inline hipChannelFormatDesc hipCreateChannelDescHalf2() {
|
|
48
|
-
int e = (int)sizeof(unsigned short) * 8;
|
|
49
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindFloat);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
static inline hipChannelFormatDesc hipCreateChannelDescHalf4() {
|
|
53
|
-
int e = (int)sizeof(unsigned short) * 8;
|
|
54
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindFloat);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
template <typename T>
|
|
58
|
-
static inline hipChannelFormatDesc hipCreateChannelDesc() {
|
|
59
|
-
return hipCreateChannelDesc(0, 0, 0, 0, hipChannelFormatKindNone);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
template <>
|
|
63
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<char>() {
|
|
64
|
-
int e = (int)sizeof(char) * 8;
|
|
65
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindSigned);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
template <>
|
|
69
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<signed char>() {
|
|
70
|
-
int e = (int)sizeof(signed char) * 8;
|
|
71
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindSigned);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
template <>
|
|
75
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<unsigned char>() {
|
|
76
|
-
int e = (int)sizeof(unsigned char) * 8;
|
|
77
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindUnsigned);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
template <>
|
|
81
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<uchar1>() {
|
|
82
|
-
int e = (int)sizeof(unsigned char) * 8;
|
|
83
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindUnsigned);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
template <>
|
|
87
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<char1>() {
|
|
88
|
-
int e = (int)sizeof(signed char) * 8;
|
|
89
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindSigned);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
template <>
|
|
93
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<uchar2>() {
|
|
94
|
-
int e = (int)sizeof(unsigned char) * 8;
|
|
95
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindUnsigned);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
template <>
|
|
99
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<char2>() {
|
|
100
|
-
int e = (int)sizeof(signed char) * 8;
|
|
101
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindSigned);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
#ifndef __GNUC__ // vector3 is the same as vector4
|
|
105
|
-
template <>
|
|
106
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<uchar3>() {
|
|
107
|
-
int e = (int)sizeof(unsigned char) * 8;
|
|
108
|
-
return hipCreateChannelDesc(e, e, e, 0, hipChannelFormatKindUnsigned);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
template <>
|
|
112
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<char3>() {
|
|
113
|
-
int e = (int)sizeof(signed char) * 8;
|
|
114
|
-
return hipCreateChannelDesc(e, e, e, 0, hipChannelFormatKindSigned);
|
|
115
|
-
}
|
|
116
|
-
#endif
|
|
117
|
-
|
|
118
|
-
template <>
|
|
119
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<uchar4>() {
|
|
120
|
-
int e = (int)sizeof(unsigned char) * 8;
|
|
121
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindUnsigned);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
template <>
|
|
125
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<char4>() {
|
|
126
|
-
int e = (int)sizeof(signed char) * 8;
|
|
127
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindSigned);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
template <>
|
|
131
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<unsigned short>() {
|
|
132
|
-
int e = (int)sizeof(unsigned short) * 8;
|
|
133
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindUnsigned);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
template <>
|
|
137
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<signed short>() {
|
|
138
|
-
int e = (int)sizeof(signed short) * 8;
|
|
139
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindSigned);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
template <>
|
|
143
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<ushort1>() {
|
|
144
|
-
int e = (int)sizeof(unsigned short) * 8;
|
|
145
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindUnsigned);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
template <>
|
|
149
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<short1>() {
|
|
150
|
-
int e = (int)sizeof(signed short) * 8;
|
|
151
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindSigned);
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
template <>
|
|
155
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<ushort2>() {
|
|
156
|
-
int e = (int)sizeof(unsigned short) * 8;
|
|
157
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindUnsigned);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
template <>
|
|
161
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<short2>() {
|
|
162
|
-
int e = (int)sizeof(signed short) * 8;
|
|
163
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindSigned);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
#ifndef __GNUC__
|
|
167
|
-
template <>
|
|
168
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<ushort3>() {
|
|
169
|
-
int e = (int)sizeof(unsigned short) * 8;
|
|
170
|
-
return hipCreateChannelDesc(e, e, e, 0, hipChannelFormatKindUnsigned);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
template <>
|
|
174
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<short3>() {
|
|
175
|
-
int e = (int)sizeof(signed short) * 8;
|
|
176
|
-
return hipCreateChannelDesc(e, e, e, 0, hipChannelFormatKindSigned);
|
|
177
|
-
}
|
|
178
|
-
#endif
|
|
179
|
-
|
|
180
|
-
template <>
|
|
181
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<ushort4>() {
|
|
182
|
-
int e = (int)sizeof(unsigned short) * 8;
|
|
183
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindUnsigned);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
template <>
|
|
187
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<short4>() {
|
|
188
|
-
int e = (int)sizeof(signed short) * 8;
|
|
189
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindSigned);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
template <>
|
|
193
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<unsigned int>() {
|
|
194
|
-
int e = (int)sizeof(unsigned int) * 8;
|
|
195
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindUnsigned);
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
template <>
|
|
199
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<signed int>() {
|
|
200
|
-
int e = (int)sizeof(signed int) * 8;
|
|
201
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindSigned);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
template <>
|
|
205
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<uint1>() {
|
|
206
|
-
int e = (int)sizeof(unsigned int) * 8;
|
|
207
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindUnsigned);
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
template <>
|
|
211
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<int1>() {
|
|
212
|
-
int e = (int)sizeof(signed int) * 8;
|
|
213
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindSigned);
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
template <>
|
|
217
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<uint2>() {
|
|
218
|
-
int e = (int)sizeof(unsigned int) * 8;
|
|
219
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindUnsigned);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
template <>
|
|
223
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<int2>() {
|
|
224
|
-
int e = (int)sizeof(signed int) * 8;
|
|
225
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindSigned);
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
#ifndef __GNUC__
|
|
229
|
-
template <>
|
|
230
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<uint3>() {
|
|
231
|
-
int e = (int)sizeof(unsigned int) * 8;
|
|
232
|
-
return hipCreateChannelDesc(e, e, e, 0, hipChannelFormatKindUnsigned);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
template <>
|
|
236
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<int3>() {
|
|
237
|
-
int e = (int)sizeof(signed int) * 8;
|
|
238
|
-
return hipCreateChannelDesc(e, e, e, 0, hipChannelFormatKindSigned);
|
|
239
|
-
}
|
|
240
|
-
#endif
|
|
241
|
-
|
|
242
|
-
template <>
|
|
243
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<uint4>() {
|
|
244
|
-
int e = (int)sizeof(unsigned int) * 8;
|
|
245
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindUnsigned);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
template <>
|
|
249
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<int4>() {
|
|
250
|
-
int e = (int)sizeof(signed int) * 8;
|
|
251
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindSigned);
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
template <>
|
|
255
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<float>() {
|
|
256
|
-
int e = (int)sizeof(float) * 8;
|
|
257
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindFloat);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
template <>
|
|
261
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<float1>() {
|
|
262
|
-
int e = (int)sizeof(float) * 8;
|
|
263
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindFloat);
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
template <>
|
|
267
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<float2>() {
|
|
268
|
-
int e = (int)sizeof(float) * 8;
|
|
269
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindFloat);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
#ifndef __GNUC__
|
|
273
|
-
template <>
|
|
274
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<float3>() {
|
|
275
|
-
int e = (int)sizeof(float) * 8;
|
|
276
|
-
return hipCreateChannelDesc(e, e, e, 0, hipChannelFormatKindFloat);
|
|
277
|
-
}
|
|
278
|
-
#endif
|
|
279
|
-
|
|
280
|
-
template <>
|
|
281
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<float4>() {
|
|
282
|
-
int e = (int)sizeof(float) * 8;
|
|
283
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindFloat);
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
#if !defined(__LP64__)
|
|
287
|
-
|
|
288
|
-
template <>
|
|
289
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<unsigned long>() {
|
|
290
|
-
int e = (int)sizeof(unsigned long) * 8;
|
|
291
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindUnsigned);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
template <>
|
|
295
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<signed long>() {
|
|
296
|
-
int e = (int)sizeof(signed long) * 8;
|
|
297
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindSigned);
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
template <>
|
|
301
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<ulong1>() {
|
|
302
|
-
int e = (int)sizeof(unsigned long) * 8;
|
|
303
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindUnsigned);
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
template <>
|
|
307
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<long1>() {
|
|
308
|
-
int e = (int)sizeof(signed long) * 8;
|
|
309
|
-
return hipCreateChannelDesc(e, 0, 0, 0, hipChannelFormatKindSigned);
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
template <>
|
|
313
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<ulong2>() {
|
|
314
|
-
int e = (int)sizeof(unsigned long) * 8;
|
|
315
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindUnsigned);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
template <>
|
|
319
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<long2>() {
|
|
320
|
-
int e = (int)sizeof(signed long) * 8;
|
|
321
|
-
return hipCreateChannelDesc(e, e, 0, 0, hipChannelFormatKindSigned);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
#ifndef __GNUC__
|
|
325
|
-
template <>
|
|
326
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<ulong3>() {
|
|
327
|
-
int e = (int)sizeof(unsigned long) * 8;
|
|
328
|
-
return hipCreateChannelDesc(e, e, e, 0, hipChannelFormatKindUnsigned);
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
template <>
|
|
332
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<long3>() {
|
|
333
|
-
int e = (int)sizeof(signed long) * 8;
|
|
334
|
-
return hipCreateChannelDesc(e, e, e, 0, hipChannelFormatKindSigned);
|
|
335
|
-
}
|
|
336
|
-
#endif
|
|
337
|
-
|
|
338
|
-
template <>
|
|
339
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<ulong4>() {
|
|
340
|
-
int e = (int)sizeof(unsigned long) * 8;
|
|
341
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindUnsigned);
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
template <>
|
|
345
|
-
inline hipChannelFormatDesc hipCreateChannelDesc<long4>() {
|
|
346
|
-
int e = (int)sizeof(signed long) * 8;
|
|
347
|
-
return hipCreateChannelDesc(e, e, e, e, hipChannelFormatKindSigned);
|
|
348
|
-
}
|
|
349
|
-
#endif /* !__LP64__ */
|
|
350
|
-
|
|
351
|
-
#else
|
|
352
|
-
|
|
353
|
-
struct hipChannelFormatDesc hipCreateChannelDesc(int x, int y, int z, int w,
|
|
354
|
-
enum hipChannelFormatKind f);
|
|
355
|
-
|
|
356
|
-
#endif /* __cplusplus */
|
|
357
|
-
|
|
358
|
-
#endif /* !HIP_INCLUDE_HIP_AMD_DETAIL_CHANNEL_DESCRIPTOR_H */
|