コード例 #1
0
ファイル: IRContext.Types.cs プロジェクト: nguyenvuduc/ILGPU
 /// <summary>
 /// Creates a new generic view type that relies on an n-dimension index.
 /// </summary>
 /// <param name="elementType">The element type.</param>
 /// <param name="indexType">The index type.</param>
 /// <param name="addressSpace">The address space.</param>
 /// <returns>The created view type.</returns>
 public StructureType CreateGenericViewType(
     TypeNode elementType,
     StructureType indexType,
     MemoryAddressSpace addressSpace) =>
 TypeContext.CreateGenericViewType(
     elementType,
     indexType,
     addressSpace);