# OpenCL component for mining

**URL:** <https://forum.grin.mw/t/opencl-component-for-mining/1228>\
**Category:** Mining\
**Created:** [November 19, 2018, 7:05pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228 "2018-11-19T19:05:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![coinmine](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/coinmine/32/658_2.png) [@coinmine](https://forum.grin.mw/u/coinmine)\
**Post date:** [November 19, 2018, 7:05pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/1 "2018-11-19T19:05:07Z")

</div>

Hello everyone,

I’m wondering what the current state of mining on testnet for AMD cards. I’ve done a little research into [GrinGoldMiner](https://github.com/mozkomor/GrinGoldMiner) and Grinminer, but I can’t seem to find any open-source contributions towards testnet-4 for OpenCL. Is there anyone working on the latest PoW for it?

We would like to launch with Grin as one of our coins @ [coinmine.com](https://coinmine.com/). If there is work that needs to be done to help, we’d love to hear about it!

- Adam from Coinmine

---

<div class="post-metadata">

**Author:** ![igno.peverell](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/igno.peverell/32/4_2.png) [@igno.peverell](https://forum.grin.mw/u/igno.peverell)\
**Post date:** [November 19, 2018, 7:14pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/2 "2018-11-19T19:14:30Z")

</div>

I believe @photon and @hashmap are working on one right now. They might need some help.

Nice product by the way. I’d get one if I actually had an address.

---

<div class="post-metadata">

**Author:** ![hashmap](https://avatars.discourse-cdn.com/v4/letter/h/ce73a5/32.png) [@hashmap](https://forum.grin.mw/u/hashmap)\
**Post date:** [November 19, 2018, 7:45pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/3 "2018-11-19T19:45:08Z")

</div>

Correct, @photon has implemented the hardest part - an initial version of lean trimmer [https://github.com/mozkomor/GrinGoldMiner/tree/master/src/ocl\_cuckatoo\_lean\_mini](https://github.com/mozkomor/GrinGoldMiner/tree/master/src/ocl_cuckatoo_lean_mini) I work on wrapping it into Rust and adding cycle finder [https://github.com/yourowncrypto/ocl](https://github.com/yourowncrypto/ocl) . It’s just a start, a lot to be done.

Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![photon](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/photon/32/27_2.png) [@photon](https://forum.grin.mw/u/photon)\
**Post date:** [November 19, 2018, 7:48pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/4 "2018-11-19T19:48:36Z")

</div>

Cuckaroo PoW won’t work well on a 4GB card. Cuckatoo ASIC PoW could, but won’t mine nearly as much grin.

---

<div class="post-metadata">

**Author:** ![coinmine](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/coinmine/32/658_2.png) [@coinmine](https://forum.grin.mw/u/coinmine)\
**Post date:** [November 19, 2018, 8:19pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/5 "2018-11-19T20:19:36Z")

</div>

Thank you for the quick replies!

@igno.peverell  
We’d love you to have a Coinmine. We know you have no address and Opsec issues, but if theres anyway we could get you one, feel free to drop us a note at [support@coinmine.com](mailto:support@coinmine.com).

@hashmap  
I know a little Rust, so I’ll check it out tonight. It is our understanding that mean mining is the best way to mine Grin? Is there any progress/way we could help with that?

---

<div class="post-metadata">

**Author:** ![coinmine](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/coinmine/32/658_2.png) [@coinmine](https://forum.grin.mw/u/coinmine)\
**Post date:** [November 19, 2018, 8:20pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/6 "2018-11-19T20:20:27Z")

</div>

@photon  
We’ve done and are doing more research into the hardware requirements and are considering our options as far as GPUs and memory regarding the reduced performance.

---

<div class="post-metadata">

**Author:** ![photon](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/photon/32/27_2.png) [@photon](https://forum.grin.mw/u/photon)\
**Post date:** [November 19, 2018, 8:26pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/7 "2018-11-19T20:26:06Z")

</div>

You can **only** mean mine cuckaroo GPU friendly pow (8GB). And with cuckatoo32 you can only lean mine (1GB) unless you use 32GB card to mean it.

---

<div class="post-metadata">

**Author:** ![hashmap](https://avatars.discourse-cdn.com/v4/letter/h/ce73a5/32.png) [@hashmap](https://forum.grin.mw/u/hashmap)\
**Post date:** [November 19, 2018, 8:56pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/8 "2018-11-19T20:56:22Z")

</div>

@coinmine you can contribute directly, the code is open source. also if you could provide us with ssh access to linux box with amd card it would be great, so far I only test on Nvidia and Apple OpenCL platforms.

---

<div class="post-metadata">

**Author:** ![coinmine](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/coinmine/32/658_2.png) [@coinmine](https://forum.grin.mw/u/coinmine)\
**Post date:** [November 20, 2018, 3:25am UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/9 "2018-11-20T03:25:51Z")

</div>

Okay, so I’ve been watching the videos from grincon0! Very awesome!

@hashmap if I can, I’ll try to get an open ubuntu box with an AMD 8GB GPU that you can use sometime next week.

---

<div class="post-metadata">

**Author:** ![hashmap](https://avatars.discourse-cdn.com/v4/letter/h/ce73a5/32.png) [@hashmap](https://forum.grin.mw/u/hashmap)\
**Post date:** [November 30, 2018, 4:26pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/10 "2018-11-30T16:26:48Z")

</div>

@coinmine here is the initial version of lean cuckatoo solver made by @photon (I just wrote a rust wrapper on top) [https://github.com/cyclefortytwo/iron\_cuckatoo](https://github.com/cyclefortytwo/iron_cuckatoo). I hope to integrate it into the stock miner soon.

---

<div class="post-metadata">

**Author:** ![dewdeded](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/dewdeded/32/60_2.png) [@dewdeded](https://forum.grin.mw/u/dewdeded)\
**Post date:** [December 17, 2018, 9:22pm UTC](https://forum.grin.mw/t/opencl-component-for-mining/1228/11 "2018-12-17T21:22:01Z")

</div>

> @coinmine here is the initial version of lean cuckatoo solver made by @photon (I just wrote a rust wrapper on top) [https://github.com/cyclefortytwo/iron\_cuckatoo](https://github.com/cyclefortytwo/iron_cuckatoo). I hope to integrate it into the stock miner soon.

I tested IRON Cuckatoo. Builds and works @ latest Ubuntu and 1080 TI.
