Sun Nov 24 15:03:35 2024
EVENTS
 FREE
SOFTWARE
INSTITUTE

POLITICS
JOBS
MEMBERS'
CORNER

MAILING
LIST

NYLXS Mailing Lists and Archives
NYLXS Members have a lot to say and share but we don't keep many secrets. Join the Hangout Mailing List and say your peice.

DATE 2016-10-01

LEARN

2024-11-24 | 2024-10-24 | 2024-09-24 | 2024-08-24 | 2024-07-24 | 2024-06-24 | 2024-05-24 | 2024-04-24 | 2024-03-24 | 2024-02-24 | 2024-01-24 | 2023-12-24 | 2023-11-24 | 2023-10-24 | 2023-09-24 | 2023-08-24 | 2023-07-24 | 2023-06-24 | 2023-05-24 | 2023-04-24 | 2023-03-24 | 2023-02-24 | 2023-01-24 | 2022-12-24 | 2022-11-24 | 2022-10-24 | 2022-09-24 | 2022-08-24 | 2022-07-24 | 2022-06-24 | 2022-05-24 | 2022-04-24 | 2022-03-24 | 2022-02-24 | 2022-01-24 | 2021-12-24 | 2021-11-24 | 2021-10-24 | 2021-09-24 | 2021-08-24 | 2021-07-24 | 2021-06-24 | 2021-05-24 | 2021-04-24 | 2021-03-24 | 2021-02-24 | 2021-01-24 | 2020-12-24 | 2020-11-24 | 2020-10-24 | 2020-09-24 | 2020-08-24 | 2020-07-24 | 2020-06-24 | 2020-05-24 | 2020-04-24 | 2020-03-24 | 2020-02-24 | 2020-01-24 | 2019-12-24 | 2019-11-24 | 2019-10-24 | 2019-09-24 | 2019-08-24 | 2019-07-24 | 2019-06-24 | 2019-05-24 | 2019-04-24 | 2019-03-24 | 2019-02-24 | 2019-01-24 | 2018-12-24 | 2018-11-24 | 2018-10-24 | 2018-09-24 | 2018-08-24 | 2018-07-24 | 2018-06-24 | 2018-05-24 | 2018-04-24 | 2018-03-24 | 2018-02-24 | 2018-01-24 | 2017-12-24 | 2017-11-24 | 2017-10-24 | 2017-09-24 | 2017-08-24 | 2017-07-24 | 2017-06-24 | 2017-05-24 | 2017-04-24 | 2017-03-24 | 2017-02-24 | 2017-01-24 | 2016-12-24 | 2016-11-24 | 2016-10-24 | 2016-09-24 | 2016-08-24 | 2016-07-24 | 2016-06-24 | 2016-05-24 | 2016-04-24 | 2016-03-24 | 2016-02-24 | 2016-01-24 | 2015-12-24 | 2015-11-24 | 2015-10-24 | 2015-09-24 | 2015-08-24 | 2015-07-24 | 2015-06-24 | 2015-05-24 | 2015-04-24 | 2015-03-24 | 2015-02-24 | 2015-01-24 | 2014-12-24 | 2014-11-24 | 2014-10-24

Key: Value:

Key: Value:

MESSAGE
DATE 2016-10-31
FROM Ruben Safir
SUBJECT Subject: [Learn] cudaMallac
From learn-bounces-at-nylxs.com Mon Oct 31 14:55:15 2016
Return-Path:
X-Original-To: archive-at-mrbrklyn.com
Delivered-To: archive-at-mrbrklyn.com
Received: from www.mrbrklyn.com (www.mrbrklyn.com [96.57.23.82])
by mrbrklyn.com (Postfix) with ESMTP id 46CD5161312;
Mon, 31 Oct 2016 14:55:15 -0400 (EDT)
X-Original-To: learn-at-nylxs.com
Delivered-To: learn-at-nylxs.com
Received: from [10.0.0.62] (flatbush.mrbrklyn.com [10.0.0.62])
by mrbrklyn.com (Postfix) with ESMTP id 2F8B7160E77;
Mon, 31 Oct 2016 14:55:13 -0400 (EDT)
To: Samir Iabbassen , learn-at-nylxs.com
From: Ruben Safir
Message-ID:
Date: Mon, 31 Oct 2016 14:55:13 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.4.0
MIME-Version: 1.0
Subject: [Learn] cudaMallac
X-BeenThere: learn-at-nylxs.com
X-Mailman-Version: 2.1.17
Precedence: list
List-Id:
List-Unsubscribe: ,

List-Archive:
List-Post:
List-Help:
List-Subscribe: ,

Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: learn-bounces-at-nylxs.com
Sender: "Learn"

#include

int main(int argc, char ** argv)
{
const int ARRAY_SIZE = 64;
const int ARRAY_BYTES = sizeof(float) * ARRAY_SIZE;
//generate the input array on host
float h_in[ARRAY_SIZE];
float h_out[ARRAY_SIZE];
for( int i = 0; i < ARRAY_SIZE; i++)
{
h_in[i] = float(i);
}
//declare gpu memory pointers
float *d_in *d_out;
cudaMalloc(( void **) &d_in, ARRAY_BYTES );
cudaMalloc(( void **) &d_out, ARRAY_BYTES );
}

Why are we using the ADDRESS of a pointer to a float as in &d_in



--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
_______________________________________________
Learn mailing list
Learn-at-nylxs.com
http://lists.mrbrklyn.com/mailman/listinfo/learn

  1. 2016-10-04 ruben safir <ruben-at-mrbrklyn.com> Re: [Learn] Check List of Texts to learn Cladistics and
  2. 2016-10-04 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] Library access
  3. 2016-10-04 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] Library access
  4. 2016-10-04 Christopher League <christopher.league-at-liu.edu> Re: [Learn] phylogenetics
  5. 2016-10-04 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] 3rd scans and displays for msueums
  6. 2016-10-04 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] =?utf-8?q?Residual_diversity_estimates=E2=80=99_do_not_co?=
  7. 2016-10-04 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] another paper on this topic to dig through
  8. 2016-10-04 Ruben Safir <ruben.safir-at-my.liu.edu> Subject: [Learn] Basic Phylogeny and Systematics
  9. 2016-10-04 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Library access
  10. 2016-10-05 Ruben Safir <mrbrklyn-at-panix.com> Re: [Learn] 3rd scans and displays for msueums
  11. 2016-10-05 ruben safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: Re: Check List of Texts to learn Cladistics and
  12. 2016-10-06 From: "Ruben.Safir" <ruben.safir-at-my.liu.edu> Subject: [Learn] TNT - Boom
  13. 2016-10-06 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] tomorrow
  14. 2016-10-09 ruben safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: phylogeny tyrannosauroid dinosaurs
  15. 2016-10-09 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: Re: phylogeny tyrannosauroid dinosaurs
  16. 2016-10-09 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: Re: [dinosaur] phylogeny tyrannosauroid dinosaurs
  17. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] Paleo meeting time
  18. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] phylogeny tyrannosauroid dinosaurs
  19. 2016-10-10 Steve Brusatte <brusatte-at-gmail.com> Re: [Learn] phylogeny tyrannosauroid dinosaurs
  20. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] phylogeny tyrannosauroid dinosaurs
  21. 2016-10-10 From: =?UTF-8?B?RGF2aWQgxIxlcm7DvQ==?= <david.cerny1-at-gmail.com> Re: [Learn] [dinosaur] phylogeny tyrannosauroid dinosaurs
  22. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] [dinosaur] phylogeny tyrannosauroid dinosaurs
  23. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] [dinosaur] phylogeny tyrannosauroid dinosaurs
  24. 2016-10-10 Dalton Meyer <paleonerd12-at-gmail.com> Re: [Learn] [dinosaur] phylogeny tyrannosauroid dinosaurs
  25. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] AI research
  26. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] CTScan in paelo
  27. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: Re: [dinosaur] phylogeny tyrannosauroid dinosaurs
  28. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] http://palaeos.com/phylogeny/index.html
  29. 2016-10-10 Ruben Safir <ruben.safir-at-my.liu.edu> Subject: [Learn] maxillary fenestra and promaxillary fenestra
  30. 2016-10-10 Christopher League <league-at-contrapunctus.net> Subject: [Learn] Paleo meeting time
  31. 2016-10-10 Christopher League <league-at-contrapunctus.net> Subject: [Learn] Paleo meeting time
  32. 2016-10-10 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] promaxillary fenestra
  33. 2016-10-13 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] Invitation: Phylogenetics project mtg -at- Thu 2016-10-13
  34. 2016-10-13 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] Library access
  35. 2016-10-13 ruben safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: access to the screen
  36. 2016-10-13 ruben safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: access to the screen
  37. 2016-10-13 ruben safir <ruben-at-mrbrklyn.com> Subject: [Learn] graphics
  38. 2016-10-14 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] a new generation discovers freedom
  39. 2016-10-14 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: Check out this picture...
  40. 2016-10-14 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: Check out this picture...
  41. 2016-10-14 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: Check out this picture...
  42. 2016-10-14 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Fwd: Check out this picture...
  43. 2016-10-15 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] 3d scanning in the field
  44. 2016-10-15 Ruben Safir <mrbrklyn-at-panix.com> Subject: [Learn] 3d scanning in the field
  45. 2016-10-16 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Jobs
  46. 2016-10-19 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] tomorrows schedule and plan got the week
  47. 2016-10-20 Christopher League <league-at-contrapunctus.net> Re: [Learn] tomorrows schedule and plan got the week
  48. 2016-10-21 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] tomorrows schedule and plan got the week
  49. 2016-10-21 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] publication
  50. 2016-10-21 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] thesis resources
  51. 2016-10-25 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Phylogenetics educational links
  52. 2016-10-27 Christopher League <league-at-contrapunctus.net> Re: [Learn] Phylogenetics educational links
  53. 2016-10-27 Ruben Safir <mrbrklyn-at-panix.com> Re: [Learn] Phylogenetics educational links
  54. 2016-10-27 Ruben Safir <mrbrklyn-at-panix.com> Re: [Learn] Phylogenetics educational links
  55. 2016-10-27 Ruben Safir <ruben-at-mrbrklyn.com> Re: [Learn] Phylogenetics educational links
  56. 2016-10-27 Ruben Safir <mrbrklyn-at-panix.com> Re: [Learn] Phylogenetics educational links
  57. 2016-10-30 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] Orders for the Thesis,
  58. 2016-10-31 Christopher League <league-at-contrapunctus.net> Re: [Learn] cuda kernels
  59. 2016-10-31 Ruben Safir <ruben.safir-at-my.liu.edu> Re: [Learn] cuda kernels
  60. 2016-10-31 Christopher League <league-at-contrapunctus.net> Re: [Learn] cudaMallac
  61. 2016-10-31 Ruben Safir <mrbrklyn-at-panix.com> Re: [Learn] cudaMallac
  62. 2016-10-31 Christopher League <league-at-contrapunctus.net> Subject: [Learn] Computational evolution
  63. 2016-10-31 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] cuda kernels
  64. 2016-10-31 Ruben Safir <ruben-at-mrbrklyn.com> Subject: [Learn] cudaMallac

NYLXS are Do'ers and the first step of Doing is Joining! Join NYLXS and make a difference in your community today!