コード例 #1
0
ファイル: IRContext.Types.cs プロジェクト: nguyenvuduc/ILGPU
 /// <summary>
 /// Creates an intrinsic index type.
 /// </summary>
 /// <param name="dimension">The dimension of the index type.</param>
 /// <returns>The created index type.</returns>
 public StructureType GetIndexType(int dimension) =>
 TypeContext.GetIndexType(dimension);
コード例 #2
0
 /// <summary>
 /// Creates an intrinsic index type.
 /// </summary>
 /// <param name="dimension">The dimension of the index type.</param>
 /// <returns>The created index type.</returns>
 public TypeNode GetIndexType(int dimension) =>
 TypeContext.GetIndexType(dimension);