Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Nirmoy Das <nirmoy.das@linux.intel.com>
To: janga.rahul.kumar@intel.com, igt-dev@lists.freedesktop.org,
	ramadevi.gandi@intel.com
Cc: nirmoy.das@intel.com
Subject: Re: [PATCH i-g-t v2 1/4] opencl/compute_increment_kernel: Add opencl increment kernel
Date: Wed, 17 Jan 2024 10:20:04 +0100	[thread overview]
Message-ID: <e4bc91db-76b6-4db7-8d2d-8a80096de740@linux.intel.com> (raw)
In-Reply-To: <20240116212756.2687603-2-janga.rahul.kumar@intel.com>

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]


On 1/16/2024 10:27 PM, janga.rahul.kumar@intel.com wrote:
> From: Janga Rahul Kumar<janga.rahul.kumar@intel.com>
>
> Compute opencl increment kernel provided here is used in
> xe_compute_preempt test.
>
> Cc: Nirmoy Das<nirmoy.das@intel.com>
> Signed-off-by: Janga Rahul Kumar<janga.rahul.kumar@intel.com>
> ---
>   opencl/compute_increment_kernel.cl | 6 ++++++
>   1 file changed, 6 insertions(+)
>   create mode 100644 opencl/compute_increment_kernel.cl
>
> diff --git a/opencl/compute_increment_kernel.cl b/opencl/compute_increment_kernel.cl
> new file mode 100644
> index 000000000..976c5a338
> --- /dev/null
> +++ b/opencl/compute_increment_kernel.cl
> @@ -0,0 +1,6 @@
> +__kernel void square(__global float* input,

input is not used. With that removed,

Reviewed-by: Nirmoy Das <nirmoy.das@intel.com>

>   __global float* output, const unsigned int count) {
> +  int i = get_global_id(0);
> +  for (int j = 0; j < count ; j++) {
> +    output[i] = output[i] + 1;
> +   }
> +}

[-- Attachment #2: Type: text/html, Size: 2217 bytes --]

  reply	other threads:[~2024-01-17  9:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-16 21:27 [PATCH i-g-t v2 0/4] Add LNL compute preempt test janga.rahul.kumar
2024-01-16 21:27 ` [PATCH i-g-t v2 1/4] opencl/compute_increment_kernel: Add opencl increment kernel janga.rahul.kumar
2024-01-17  9:20   ` Nirmoy Das [this message]
2024-01-16 21:27 ` [PATCH i-g-t v2 2/4] lib/intel_compute_square_kernels: Add xe2lpg wmtp sip and long running opencl kernel janga.rahul.kumar
2024-01-17  9:30   ` Nirmoy Das
2024-01-16 21:27 ` [PATCH i-g-t v2 3/4] lib/intel_compute: Add LNL compute preempt library support janga.rahul.kumar
2024-01-17  9:31   ` Nirmoy Das
2024-01-16 21:27 ` [PATCH i-g-t v2 4/4] tests/intel/xe_compute_preempt: Add compute preempt test janga.rahul.kumar
2024-01-17  9:31   ` Nirmoy Das
2024-01-16 21:55 ` ✓ CI.xeBAT: success for Add LNL compute preempt test (rev2) Patchwork
2024-01-16 22:10 ` ✓ Fi.CI.BAT: " Patchwork
2024-01-16 23:27 ` ✗ Fi.CI.IGT: failure " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e4bc91db-76b6-4db7-8d2d-8a80096de740@linux.intel.com \
    --to=nirmoy.das@linux.intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=janga.rahul.kumar@intel.com \
    --cc=nirmoy.das@intel.com \
    --cc=ramadevi.gandi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox