triton-windows 3.3.1.post19__cp311-cp311-win_amd64.whl → 3.3.1.post21__cp311-cp311-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/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/windows_utils.py +11 -4
- {triton_windows-3.3.1.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/METADATA +1 -1
- {triton_windows-3.3.1.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/RECORD +11 -108
- 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.1.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/WHEEL +0 -0
- {triton_windows-3.3.1.post19.dist-info → triton_windows-3.3.1.post21.dist-info}/top_level.txt +0 -0
|
@@ -1,194 +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_TEXTURE_TYPES_H
|
|
24
|
-
#define HIP_INCLUDE_HIP_TEXTURE_TYPES_H
|
|
25
|
-
|
|
26
|
-
#if defined(__clang__)
|
|
27
|
-
#pragma clang diagnostic push
|
|
28
|
-
#pragma clang diagnostic ignored "-Wreserved-identifier"
|
|
29
|
-
#pragma clang diagnostic ignored "-Wreserved-macro-identifier"
|
|
30
|
-
#pragma clang diagnostic ignored "-Wc++98-compat"
|
|
31
|
-
#endif
|
|
32
|
-
|
|
33
|
-
#if !defined(__HIPCC_RTC__)
|
|
34
|
-
#include <hip/hip_common.h>
|
|
35
|
-
#endif
|
|
36
|
-
|
|
37
|
-
#if !defined(__HIP_PLATFORM_AMD__) && defined(__HIP_PLATFORM_NVIDIA__)
|
|
38
|
-
#include "texture_types.h"
|
|
39
|
-
#elif defined(__HIP_PLATFORM_AMD__) && !defined(__HIP_PLATFORM_NVIDIA__)
|
|
40
|
-
/*******************************************************************************
|
|
41
|
-
* *
|
|
42
|
-
* *
|
|
43
|
-
* *
|
|
44
|
-
*******************************************************************************/
|
|
45
|
-
#if !defined(__HIPCC_RTC__)
|
|
46
|
-
#include <limits.h>
|
|
47
|
-
#include <hip/channel_descriptor.h>
|
|
48
|
-
#include <hip/driver_types.h>
|
|
49
|
-
#endif // !defined(__HIPCC_RTC__)
|
|
50
|
-
|
|
51
|
-
#define hipTextureType1D 0x01
|
|
52
|
-
#define hipTextureType2D 0x02
|
|
53
|
-
#define hipTextureType3D 0x03
|
|
54
|
-
#define hipTextureTypeCubemap 0x0C
|
|
55
|
-
#define hipTextureType1DLayered 0xF1
|
|
56
|
-
#define hipTextureType2DLayered 0xF2
|
|
57
|
-
#define hipTextureTypeCubemapLayered 0xFC
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Should be same as HSA_IMAGE_OBJECT_SIZE_DWORD/HSA_SAMPLER_OBJECT_SIZE_DWORD
|
|
61
|
-
*/
|
|
62
|
-
#define HIP_IMAGE_OBJECT_SIZE_DWORD 12
|
|
63
|
-
#define HIP_SAMPLER_OBJECT_SIZE_DWORD 8
|
|
64
|
-
#define HIP_SAMPLER_OBJECT_OFFSET_DWORD HIP_IMAGE_OBJECT_SIZE_DWORD
|
|
65
|
-
#define HIP_TEXTURE_OBJECT_SIZE_DWORD (HIP_IMAGE_OBJECT_SIZE_DWORD + HIP_SAMPLER_OBJECT_SIZE_DWORD)
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* An opaque value that represents a hip texture object
|
|
69
|
-
*/
|
|
70
|
-
struct __hip_texture;
|
|
71
|
-
typedef struct __hip_texture* hipTextureObject_t;
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* hip texture address modes
|
|
75
|
-
*/
|
|
76
|
-
enum hipTextureAddressMode {
|
|
77
|
-
hipAddressModeWrap = 0,
|
|
78
|
-
hipAddressModeClamp = 1,
|
|
79
|
-
hipAddressModeMirror = 2,
|
|
80
|
-
hipAddressModeBorder = 3
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
/**
|
|
84
|
-
* hip texture filter modes
|
|
85
|
-
*/
|
|
86
|
-
enum hipTextureFilterMode { hipFilterModePoint = 0, hipFilterModeLinear = 1 };
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* hip texture read modes
|
|
90
|
-
*/
|
|
91
|
-
enum hipTextureReadMode { hipReadModeElementType = 0, hipReadModeNormalizedFloat = 1 };
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* hip texture reference
|
|
95
|
-
*/
|
|
96
|
-
typedef struct textureReference {
|
|
97
|
-
int normalized;
|
|
98
|
-
enum hipTextureReadMode readMode;// used only for driver API's
|
|
99
|
-
enum hipTextureFilterMode filterMode;
|
|
100
|
-
enum hipTextureAddressMode addressMode[3]; // Texture address mode for up to 3 dimensions
|
|
101
|
-
struct hipChannelFormatDesc channelDesc;
|
|
102
|
-
int sRGB; // Perform sRGB->linear conversion during texture read
|
|
103
|
-
unsigned int maxAnisotropy; // Limit to the anisotropy ratio
|
|
104
|
-
enum hipTextureFilterMode mipmapFilterMode;
|
|
105
|
-
float mipmapLevelBias;
|
|
106
|
-
float minMipmapLevelClamp;
|
|
107
|
-
float maxMipmapLevelClamp;
|
|
108
|
-
|
|
109
|
-
hipTextureObject_t textureObject;
|
|
110
|
-
int numChannels;
|
|
111
|
-
enum hipArray_Format format;
|
|
112
|
-
}textureReference;
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* hip texture descriptor
|
|
116
|
-
*/
|
|
117
|
-
typedef struct hipTextureDesc {
|
|
118
|
-
enum hipTextureAddressMode addressMode[3]; // Texture address mode for up to 3 dimensions
|
|
119
|
-
enum hipTextureFilterMode filterMode;
|
|
120
|
-
enum hipTextureReadMode readMode;
|
|
121
|
-
int sRGB; // Perform sRGB->linear conversion during texture read
|
|
122
|
-
float borderColor[4];
|
|
123
|
-
int normalizedCoords;
|
|
124
|
-
unsigned int maxAnisotropy;
|
|
125
|
-
enum hipTextureFilterMode mipmapFilterMode;
|
|
126
|
-
float mipmapLevelBias;
|
|
127
|
-
float minMipmapLevelClamp;
|
|
128
|
-
float maxMipmapLevelClamp;
|
|
129
|
-
}hipTextureDesc;
|
|
130
|
-
|
|
131
|
-
#if __cplusplus
|
|
132
|
-
|
|
133
|
-
/*******************************************************************************
|
|
134
|
-
* *
|
|
135
|
-
* *
|
|
136
|
-
* *
|
|
137
|
-
*******************************************************************************/
|
|
138
|
-
#if __HIP__
|
|
139
|
-
#define __HIP_TEXTURE_ATTRIB __attribute__((device_builtin_texture_type))
|
|
140
|
-
#else
|
|
141
|
-
#define __HIP_TEXTURE_ATTRIB
|
|
142
|
-
#endif
|
|
143
|
-
|
|
144
|
-
typedef textureReference* hipTexRef;
|
|
145
|
-
|
|
146
|
-
template <class T, int texType = hipTextureType1D,
|
|
147
|
-
enum hipTextureReadMode mode = hipReadModeElementType>
|
|
148
|
-
struct __HIP_TEXTURE_ATTRIB texture : public textureReference {
|
|
149
|
-
texture(int norm = 0, enum hipTextureFilterMode fMode = hipFilterModePoint,
|
|
150
|
-
enum hipTextureAddressMode aMode = hipAddressModeClamp) {
|
|
151
|
-
normalized = norm;
|
|
152
|
-
readMode = mode;
|
|
153
|
-
filterMode = fMode;
|
|
154
|
-
addressMode[0] = aMode;
|
|
155
|
-
addressMode[1] = aMode;
|
|
156
|
-
addressMode[2] = aMode;
|
|
157
|
-
channelDesc = hipCreateChannelDesc<T>();
|
|
158
|
-
sRGB = 0;
|
|
159
|
-
textureObject = nullptr;
|
|
160
|
-
maxAnisotropy = 0;
|
|
161
|
-
mipmapLevelBias = 0;
|
|
162
|
-
minMipmapLevelClamp = 0;
|
|
163
|
-
maxMipmapLevelClamp = 0;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
texture(int norm, enum hipTextureFilterMode fMode, enum hipTextureAddressMode aMode,
|
|
167
|
-
struct hipChannelFormatDesc desc) {
|
|
168
|
-
normalized = norm;
|
|
169
|
-
readMode = mode;
|
|
170
|
-
filterMode = fMode;
|
|
171
|
-
addressMode[0] = aMode;
|
|
172
|
-
addressMode[1] = aMode;
|
|
173
|
-
addressMode[2] = aMode;
|
|
174
|
-
channelDesc = desc;
|
|
175
|
-
sRGB = 0;
|
|
176
|
-
textureObject = nullptr;
|
|
177
|
-
maxAnisotropy = 0;
|
|
178
|
-
mipmapLevelBias = 0;
|
|
179
|
-
minMipmapLevelClamp = 0;
|
|
180
|
-
maxMipmapLevelClamp = 0;
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
|
|
184
|
-
#endif /* __cplusplus */
|
|
185
|
-
|
|
186
|
-
#else
|
|
187
|
-
#error("Must define exactly one of __HIP_PLATFORM_AMD__ or __HIP_PLATFORM_NVIDIA__");
|
|
188
|
-
#endif
|
|
189
|
-
|
|
190
|
-
#if defined(__clang__)
|
|
191
|
-
#pragma clang diagnostic pop
|
|
192
|
-
#endif
|
|
193
|
-
|
|
194
|
-
#endif
|