All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cuda.fill.FillOneFloatArrayKernel.cu Maven / Gradle / Ivy

Go to download

Komputation is a neural network framework for the JVM written in the Kotlin programming language.

There is a newer version: 0.12.5
Show newest version
__global__ void fillOneFloatArrayKernel(
    int numberRows,
    int numberEntries,
    float* array,
    float constant) {

    int index = blockIdx.x * numberEntries + blockIdx.y * numberRows + threadIdx.x;

    array[index] = constant;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy