You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Andrew Palumbo (JIRA)" <ji...@apache.org> on 2017/01/26 21:51:24 UTC

[jira] [Created] (MAHOUT-1918) Use traits when probing VCL

Andrew Palumbo created MAHOUT-1918:
--------------------------------------

             Summary: Use traits when probing VCL
                 Key: MAHOUT-1918
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1918
             Project: Mahout
          Issue Type: Test
            Reporter: Andrew Palumbo
            Assignee: Andrew Palumbo
            Priority: Blocker


currently we hav 

eg.
{code} 
      clazz = Class.forName("org.apache.mahout.viennacl.opencl.GPUMMul$").getField("MODULE$").get(null).asInstanceOf[MMBinaryFunc]
{code}

To instantiate a Solver.. It is being cast to a {{MMBinaryFunc}}

cast this to at MMulSolver Trait and change the corresponding class GPUMMul to extend this.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)