Fri Apr 26 13:02:56 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-04-26 | 2024-03-26 | 2024-02-26 | 2024-01-26 | 2023-12-26 | 2023-11-26 | 2023-10-26 | 2023-09-26 | 2023-08-26 | 2023-07-26 | 2023-06-26 | 2023-05-26 | 2023-04-26 | 2023-03-26 | 2023-02-26 | 2023-01-26 | 2022-12-26 | 2022-11-26 | 2022-10-26 | 2022-09-26 | 2022-08-26 | 2022-07-26 | 2022-06-26 | 2022-05-26 | 2022-04-26 | 2022-03-26 | 2022-02-26 | 2022-01-26 | 2021-12-26 | 2021-11-26 | 2021-10-26 | 2021-09-26 | 2021-08-26 | 2021-07-26 | 2021-06-26 | 2021-05-26 | 2021-04-26 | 2021-03-26 | 2021-02-26 | 2021-01-26 | 2020-12-26 | 2020-11-26 | 2020-10-26 | 2020-09-26 | 2020-08-26 | 2020-07-26 | 2020-06-26 | 2020-05-26 | 2020-04-26 | 2020-03-26 | 2020-02-26 | 2020-01-26 | 2019-12-26 | 2019-11-26 | 2019-10-26 | 2019-09-26 | 2019-08-26 | 2019-07-26 | 2019-06-26 | 2019-05-26 | 2019-04-26 | 2019-03-26 | 2019-02-26 | 2019-01-26 | 2018-12-26 | 2018-11-26 | 2018-10-26 | 2018-09-26 | 2018-08-26 | 2018-07-26 | 2018-06-26 | 2018-05-26 | 2018-04-26 | 2018-03-26 | 2018-02-26 | 2018-01-26 | 2017-12-26 | 2017-11-26 | 2017-10-26 | 2017-09-26 | 2017-08-26 | 2017-07-26 | 2017-06-26 | 2017-05-26 | 2017-04-26 | 2017-03-26 | 2017-02-26 | 2017-01-26 | 2016-12-26 | 2016-11-26 | 2016-10-26 | 2016-09-26 | 2016-08-26 | 2016-07-26 | 2016-06-26 | 2016-05-26 | 2016-04-26 | 2016-03-26 | 2016-02-26 | 2016-01-26 | 2015-12-26 | 2015-11-26 | 2015-10-26 | 2015-09-26 | 2015-08-26 | 2015-07-26 | 2015-06-26 | 2015-05-26 | 2015-04-26 | 2015-03-26 | 2015-02-26 | 2015-01-26 | 2014-12-26 | 2014-11-26 | 2014-10-26

Key: Value:

Key: Value:

MESSAGE
DATE 2016-10-31
FROM Christopher League
SUBJECT Re: [Learn] cuda kernels
From learn-bounces-at-nylxs.com Mon Oct 31 17:33:52 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 07F7E161312;
Mon, 31 Oct 2016 17:33:52 -0400 (EDT)
X-Original-To: learn-at-nylxs.com
Delivered-To: learn-at-nylxs.com
Received: from liucs.net (contrapunctus.net [174.136.110.10])
by mrbrklyn.com (Postfix) with ESMTP id DEA68160E77
for ; Mon, 31 Oct 2016 17:33:49 -0400 (EDT)
Received: from localhost (unknown [148.4.40.11])
by liucs.net (Postfix) with ESMTPSA id 8089FE08E;
Mon, 31 Oct 2016 17:33:48 -0400 (EDT)
From: Christopher League
To: Ruben Safir , Samir Iabbassen ,
learn-at-nylxs.com
In-Reply-To: <9570d66b-7c02-4e2d-3225-20e008158f0d-at-mrbrklyn.com>
References: <9570d66b-7c02-4e2d-3225-20e008158f0d-at-mrbrklyn.com>
User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.1
(x86_64-unknown-linux-gnu)
Date: Mon, 31 Oct 2016 17:33:47 -0400
Message-ID: <87lgx48apw.fsf-at-contrapunctus.net>
MIME-Version: 1.0
Subject: Re: [Learn] cuda kernels
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: multipart/mixed; boundary="===============0787192310=="
Errors-To: learn-bounces-at-nylxs.com
Sender: "Learn"

--===============0787192310==
Content-Type: multipart/alternative; boundary="=-=-="

--=-=-=
Content-Type: text/plain

Ruben Safir writes:

> The video says that the below lines ask for 64 copys of the kernel on 64
> threads? I don't see that
>
> cudaMemcpy(d_in, h_in, ARRAY_BYTES, cudaMemcpyHostToDevice);
> //launch kernel
> square<<<1, ARRAY_SIZE>>>(d_in, d_out);
> cudaMemcpy(h_out, d_out, ARRAY_BYTES, cudaMemcpyDeviceToHost);

I don't really know anything about CUDA yet, but ARRAY_SIZE was 64. And
this syntax: `square<<<1, ARRAY_SIZE>>>` is NOT valid C/C++ syntax. So I
assume that the specialized GPU compiler interprets that in a way that
it distributes the computation of the `square` function across 64 GPU
threads...?

BTW, I'm pretty sure "kernel" here doesn't refer to "the Linux kernel."

CL

--=-=-=
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable






1.0, user-scalable=3Dyes">




Ruben Safir ruben-at-mrbrklyn.com=
writes:



The video says that the below lines ask for 64 copys of the kernel on 64=
threads? I don=E2=80=99t see that


cudaMemcpy(d_in, h_in, ARRAY_BYTES, cudaMemcpyHostToDevice);
//launch kernel
square<<<1, ARRAY_SIZE>>>(d_in, d_out);
cudaMemcpy(h_out, d_out, ARRAY_BYTES, cudaMemcpyDeviceToHost);


I don=E2=80=99t really know anything about CUDA yet, but ARRAY_SIZE was =
64. And this syntax: square<<<1, ARRAY_SIZE>>>e> is NOT valid C/C++ syntax. So I assume that the specialized GPU compiler=
interprets that in a way that it distributes the computation of the =
square
function across 64 GPU threads=E2=80=A6?


BTW, I=E2=80=99m pretty sure =E2=80=9Ckernel=E2=80=9D here doesn=E2=80=
=99t refer to =E2=80=9Cthe Linux kernel.=E2=80=9D


CL





--=-=-=--

--===============0787192310==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Learn mailing list
Learn-at-nylxs.com
http://lists.mrbrklyn.com/mailman/listinfo/learn

--===============0787192310==--

  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!