[ https://issues.apache.org/jira/browse/MAHOUT-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Palumbo updated MAHOUT-1918: ----------------------------------- Sprint: Jan/Feb-2016 > Use traits when probing VCL > --------------------------- > > Key: MAHOUT-1918 > URL: https://issues.apache.org/jira/browse/MAHOUT-1918 > Project: Mahout > Issue Type: Test > Affects Versions: 0.12.2 > Reporter: Andrew Palumbo > Assignee: Andrew Palumbo > Priority: Blocker > Fix For: 0.13.1 > > > currently we have > 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.15#6346)