1. A computer-implemented method for processing an interactive-use computer application, comprising: using a general-purpose computing device to perform the following method: processing a machine learning technique using a graphics processing unit to obtain a solution to a function of the machine learning technique, obtaining a solution to the function further comprising: specifying a rectangular viewport contained within a given triangle in a memory of the graphics processing unit; using a pixel shader to calculate the solution to the function by calculating only those pixels contained within an intersection of the rectangular viewport and the given triangle such that the pixels within the rectangular viewport become a rendering target; and using the solution to the function in the interactive-use computer application.