You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mahout.apache.org by "Andrew Palumbo (Jira)" <ji...@apache.org> on 2020/03/31 05:56:00 UTC
[jira] [Assigned] (MAHOUT-1918) Use traits when probing VCL
[ https://issues.apache.org/jira/browse/MAHOUT-1918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Palumbo reassigned MAHOUT-1918:
--------------------------------------
Assignee: (was: Andrew Palumbo)
> 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
> Priority: Blocker
> Fix For: 0.13.2
>
>
> 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
(v8.3.4#803005)