GithubHelp home page GithubHelp logo

Compiling without Make about coremark-pro HOT 3 CLOSED

eembc avatar eembc commented on July 17, 2024
Compiling without Make

from coremark-pro.

Comments (3)

petertorelli avatar petertorelli commented on July 17, 2024

It looks like you've succeeded in porting it. I'm pretty sure you are encountering errors regarding floating point accuracy since the loops test is a very accuracy sensitive test, and some compiler options can impact this. Try enabling BMDEBUG and DEBUG_ACCURATE_BITS. This will print out the values that failed the bit-accuracy test. You may need to experiment with the clang floating-point options.

from coremark-pro.

muke101 avatar muke101 commented on July 17, 2024

I've tried to look into this and it seems like you're right, but I can't find how to fix the problem. Although for my purposes I don't actually need the results to be correct, I just need to run the program - are you able to comment at all on how if at all the floating point accuracy might effect the behavior of the program?

from coremark-pro.

petertorelli avatar petertorelli commented on July 17, 2024

You can alter MIN_ACC_BITS_FP32 and MIN_ACC_BITS_FP64 to reduce the number of bits compared. Here is an example of how it is used in th_bignum.c:

void acc_summary_info(intparts *sig, intparts *ref, e_u32 accbits) {
	svals(&acc_summary.sig_exp,sig->exp);
	svals(&acc_summary.ref_exp,ref->exp);
	svals(&acc_summary.bits,accbits);
	if (accbits<MIN_ACC_BITS_FP)
		acc_summary.counts[accbits]++;
	else
		acc_summary.counts[MAX_ACC_COUNTS]++;
}

from coremark-pro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.