@@ -95,15 +95,15 @@ static RetType __invoke__ImageReadSampler(ImageT Img, CoordT Coords,
9595
9696 TempArgT TmpCoords =
9797 cl::sycl::detail::convertDataToType<CoordT, TempArgT>(Coords);
98- // According to validation rules(SPIRV specification, section 2.16.1) result
98+ // According to validation rules(SPIR-V specification, section 2.16.1) result
9999 // of __spirv_SampledImage is allowed to be an operand of image lookup
100100 // and query instructions explicitly specified to take an operand whose
101101 // type is OpTypeSampledImage.
102102 //
103- // According to SPIRV specification section 3.32.10 at least one operand
103+ // According to SPIR-V specification section 3.32.10 at least one operand
104104 // setting the level of detail must be present. The last two arguments of
105105 // __spirv_ImageSampleExplicitLod represent image operand type and value.
106- // From the SPIRV specification section 3.14:
106+ // From the SPIR-V specification section 3.14:
107107 enum ImageOperands { Lod = 0x2 };
108108
109109 // Lod value is zero as mipmap is not supported.
@@ -118,9 +118,9 @@ namespace sycl {
118118namespace detail {
119119
120120// Function to return the number of channels for Image Channel Order returned by
121- // SPIRV call to OpImageQueryOrder.
121+ // SPIR-V call to OpImageQueryOrder.
122122// The returned int value represents an enum from Image Channel Order. The enums
123- // for Image Channel Order are mapped differently in sycl and SPIRV spec.
123+ // for Image Channel Order are mapped differently in sycl and SPIR-V spec.
124124inline int getSPIRVNumChannels (int ImageChannelOrder) {
125125 switch (ImageChannelOrder) {
126126 case 0 : // R
@@ -155,11 +155,11 @@ inline int getSPIRVNumChannels(int ImageChannelOrder) {
155155}
156156
157157// Function to compute the Element Size for a given Image Channel Type and Image
158- // Channel Order, returned by SPIRV calls to OpImageQueryFormat and
158+ // Channel Order, returned by SPIR-V calls to OpImageQueryFormat and
159159// OpImageQueryOrder respectively.
160160// The returned int value from OpImageQueryFormat represents an enum from Image
161161// Channel Data Type. The enums for Image Channel Data Type are mapped
162- // differently in sycl and SPIRV spec.
162+ // differently in sycl and SPIR-V spec.
163163inline int getSPIRVElementSize (int ImageChannelType, int ImageChannelOrder) {
164164 int NumChannels = getSPIRVNumChannels (ImageChannelOrder);
165165 switch (ImageChannelType) {
0 commit comments