Tag Archives: GCN

GCN Quick Reference Card

Happy new year! Most importantly here’s the document: GCN Reference Card (Use it only on your own risk, as it can contain errors. The red color means the glorious GCN3) Last autumn I had the opportunity to program a GCN3 Fury … Continue reading

Posted in Uncategorized | Tagged | 1 Comment

Instructions: Compiling and running the ASM Groestl kernel in sgminer 5.1

(You can find more information and benchmark results on this page: https://realhet.wordpress.com/gcn-asm-groestl-coin-kernel/ ) Compiling the kernel for a specific GPU Requirements: Windows 7 or up Catalyst 14.6, 14.7, 14.9,  14.12  (those are confirmed to work) AMD Radeon gfx with GCN chip (HD7xxx … Continue reading

Posted in Uncategorized | Tagged , , , , | 11 Comments

Testing the GCN ASM Groestl kernel using sgminer 5.1

Making the original and the new kernel identical (from the outside) In the previous blog post I was at the point, that the desired kernel parameters (char *block, uint *output, ulong target) are worked well in a small test kernel. … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Optimizing Groestl hash function in GCN ASM – Part 2.

Yesterday I achieved 2.65x boost over the ocl version with 128 vregs and <32KB code size. Today it is time for optimize the inner loop. Reordering the instructions in the inner loop – not needed It turned out that it … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Optimizing Groestl hash function in GCN ASM – Part 1.

Last post was about making the first assembly version that just runs correctly. Luckily it became 1.17x faster than the original high level version. Now I will apply a series of optimizations and let’s see how effective are they. I’ll … Continue reading

Posted in Uncategorized | Tagged , , , , , | 4 Comments

Implementing Groestl hash function in GCN ASM

 There is a new version of HetPas in the Download Area . It contains the Groestl asm project for Cat14.9. See details at the bottom of this post. Some months I was looking for an interesting GPU project to do for … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

GCN Hello World example

This simple example will help you learn how to write simple GCN asm programs and how to test it in the HetPas environment. First look at this small OpenCL program: __kenel test(__global int *uav, __constant int *cb) { int gid … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment