[
https://issues.apache.org/jira/browse/MAHOUT-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Palumbo updated MAHOUT-1918:
-----------------------------------
Description:
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.
was:
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.
> 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.0
>
>
> 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.4#6332)