Bitcoin Forum
July 01, 2024, 03:04:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Other / Beginners & Help / Re: BFGMiner/CGMiner, Catalyst 13.4 and 58xx: Fix! on: June 09, 2013, 04:04:45 PM
Hi

i own a little ATI Mobility Radeon 5870 with the 13.4 driver and got the HW errors too since i updated my driver.
I saw your post and tried it but with no success, still getting HW errors.
When i modified my file with this code:
Code:
#ifdef BITALIGN
#pragma OPENCL EXTENSION cl_amd_media_ops : enable
#define rot(x, y) amd_bitalign(x, x, (uint)(32 - y))

// This part is not from the stock poclbm kernel. It's part of an optimization
// added in the Phoenix Miner.

// Some AMD devices have Vals[0] BFI_INT opcode, which behaves exactly like the
// SHA-256 Ch function, but provides it in exactly one instruction. If
// detected, use it for Ch. Otherwise, construct Ch out of simpler logical
// primitives.

//We have an SDK which automatically optimizes to BFI INT, so lets do this

#define Ch(x, y, z) bitselect(z, y, x)
#define Ma(x, y, z) bitselect((u)x, (u)y, (u)z ^ (u)x)
#define rotr(x, y) amd_bitalign((u)x, (u)x, (u)y)

#else // BITALIGN
#define Ch(x, y, z) (z ^ (x & (y ^ z)))
#define Ma(x, y, z) ((x & z) | (y & (x | z)))
#define rot(x, y) rotate((u)x, (u)y)
#define rotr(x, y) rotate((u)x, (u)(32-y))
#endif

bfgminer crashes at startup.

PS: The tweak with poclbm from your link works fine, but i don't like to use GUIMiner

2  Economy / Games and rounds / Re: *FREE BTC* -PrimeDice.com Giveaway Thread - 0.001-0.003 *FREE BTC* on: June 08, 2013, 10:14:36 AM
1CJXYU6DAui4RCBuBTbYxbE4Tx4mREzpDE   Grin
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!