uses ExtMemory
uses Compute
/*
{"description" : "Represents a program built for a specific compute device."}
*/
interface Program {
/* {"@description" : "Builds the program from the source code provided for the Compute device given. functionName must match the kernel function name in the source code."} */
Program(store Compute device, char functionName[], char source[])
/* {"@description" : "The entry point function of the provided source code for this program will list a set of parameters. Representations of these parameters are given by the types in this package that extend the ExtMemory type. Arrange these in an array and pass it to this function to have those parameters used when this Program object is executed"} */
void setParameters(ExtMemory parameters[])
}
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n io.compute.Program -m "reason for update" -u yourUsername
Version 2 (this version) by barry
Notes for this version: Updates for new compiler type graph strictness