Backends/SiaNet.Backend.TensorSharp/Cuda/DeviceCode/GatherScatterKernels.cs
/// <summary>
/// Makes the name of the kernel.
/// </summary>
/// <param name="baseName">Name of the base.</param>
/// <param name="is32">if set to <c>true</c> [is32].</param>
/// <param name="dims">The dims.</param>
/// <returns>System.String.</returns>
Makes the name of the kernel.
Makes the name of the kernel .
private static string MakeKernelName(string baseName, bool is32, int dims)
        {
            return string.Format("{0}{1}_{2}",
                baseName,
                is32 ? "__int32" : "__int64",
                dims.ToString().Replace('-', 'M')
                );
        }
private static string MakeKernelName ( string baseName , bool is32 , int dims ) { return string . Format ( " " , baseName , is32 ? " " : " " , dims . ToString ( ) . Replace ( ' ' , ' ' ) ) ; }
Makes the name of the kernel.
Makes the name of the kernel .
None
baseName
string
Name of the base.
Name of the base .
is32
bool
if set to true
if set to true
dims
int
None