12. Be joyful in hope, patient in affliction, faithful in prayer.
Monthly Archive for September, 2008
3But the Lord is faithful, and he will strengthen and protect you from the evil one.
19 As water reflects a face,
so a man’s heart reflects the man.
13for it is God who works in you to will and to act according to his good purpose.
18Â Yet the LORD longs to be gracious to you;Â
      he rises to show you compassion.Â
      For the LORD is a God of justice.Â
      Blessed are all who wait for him!
 7 ”But blessed is the man who trusts in the LORD,Â
      whose confidence is in him.
 8 He will be like a tree planted by the waterÂ
      that sends out its roots by the stream.Â
      It does not fear when heat comes;Â
      its leaves are always green.Â
      It has no worries in a year of droughtÂ
      and never fails to bear fruit.”
Serial
int main()
{
float *A, *B, *C;
for (int i = 0; i < sizeof(C); i++)
{
C[i] = A[i] + B[i];
}
return 0;
}
Parallel
__global__ void vecAdd(float* A, float* B, float* C)
{
int i = threadIdx.x;
C[i] = A[i] + B[i];
}
int main()
{
// Kernel invocation
vecAdd<<<1, N>>>(A, B, C);
}
20always giving thanks to God the Father for everything, in the name of our Lord Jesus Christ.
21Submit to one another out of reverence for Christ.
3 Trust in the LORD and do good;
dwell in the land and enjoy safe pasture.
4 Delight yourself in the LORD
and he will give you the desires of your heart.
5 Commit your way to the LORD;
trust in him and he will do this:
6 He will make your righteousness shine like the dawn,
the justice of your cause like the noonday sun.

Recent Comments