GithubHelp home page GithubHelp logo

apress / modern-parallel-programming-cpp-assembly Goto Github PK

View Code? Open in Web Editor NEW
46.0 6.0 23.0 15.82 MB

Source code for 'Modern Parallel Programming with C++ and Assembly' by Dan Kusswurm

License: Other

C++ 69.84% Assembly 18.49% C 3.48% Makefile 8.20%

modern-parallel-programming-cpp-assembly's Introduction

Apress Source Code

This repository accompanies Modern Parallel Programming with C++ and Assembly Language by Daniel Kusswurm (Apress, 2022).

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

modern-parallel-programming-cpp-assembly's People

Contributors

markp88 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

modern-parallel-programming-cpp-assembly's Issues

Where are MiscTypes.h and ImageMatrix.h?

Some of the code in the book uses two headers called MiscTypes.h and ImageMatrix.h, but there is no implementation for these headers in the book and those only included in the code. I searched the whole book but found no implementation. Also the source code that is not yet available here. Thanks if you either edit the book or publish the source code faster.
e.g:

#include <stdexcept>
#include <immintrin.h>
#include "Ch08_08.h"
#include "MiscTypes.h"

void Convolve1D_F32_Cpp(std::vector<float>& y, const std::vector<float>& x, const
	std::vector<float>& kernel)
{
	if (!CheckArgs(y, x, kernel))
		throw std::runtime_error("Convolve1D_F32_Cpp() - CheckArgs failed");
	indx_t num_pts = (indx_t)y.size();
	indx_t ks2 = kernel.size() / 2;
	for (indx_t i = ks2; i < num_pts - ks2; i++)
	{
		float y_val = 0;
		for (indx_t k = -ks2; k <= ks2; k++)
			y_val += x[i - k] * kernel[k + ks2];
		y[i] = y_val;
	}
}

Where is source codes?

It's been almost a month since the book was published and no source code is available yet. When is it going to be published?

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.