Commit ef3c7e61 authored by Brice Videau's avatar Brice Videau
Browse files

Finished adding tests.

parent 58165d1e
Pipeline #12875 failed with stage
......@@ -211,11 +211,11 @@ TEST_FILES = \
tests/profiling_normal_command_queue.dust \
tests/profiling_with_error.dust \
tests/profiling_normal_command_queue_created_in_other_thread.dust \
tests/device_name.dust \
tests/kernel_name.dust \
tests/profiling_normal_nd_range_kernel_name.dust \
tests/API_call.dust \
tests/trace.dust
# tests/device_name.dust \
# tests/kernel_name.dust \
# tests/profiling_normal_nd_range_kernel_name.dust \
# tests/API_call.dust
TESTS = $(TEST_FILES)
......
---
:trace: API_call.yaml
:plugins:
- :name: sink:testing_clprof:dispatch
:params:
test: API_call
---
:hostname: aurora12.gov
:default_stream: stream0
:stream_classes:
- :name: cl_stream_class
:schemas:
- thapi_opencl
:clock_snapshot_value: true
:common_context:
- :name: vpid
:class: signed
- :name: vtid
:class: unsigned
:streams:
- :name: stream0
:class: cl_stream_class
:common_context:
vpid: -1
vtid: 2
:events:
- :name: lttng_ust_opencl:clLinkProgram_entry
- :name: lttng_ust_opencl:clLinkProgram_exit
- :name: lttng_ust_opencl:clLinkProgram_entry
- :name: lttng_ust_opencl:clLinkProgram_exit
---
:trace: device_name.yaml
:plugins:
- :name: sink:testing_clprof:dispatch
:params:
test: device_name
---
:hostname: aurora12.gov
:default_stream: stream0
:stream_classes:
- :name: cl_stream_class
:schemas:
- thapi_opencl
:clock_snapshot_value: true
:common_context:
- :name: vpid
:class: signed
- :name: vtid
:class: unsigned
:streams:
- :name: stream0
:class: cl_stream_class
:common_context:
vpid: 11
vtid: 0
:events:
- :name: lttng_ust_opencl_devices:device_name
:payload:
device: 22
name: PVC
---
:trace: kernel_name.yaml
:plugins:
- :name: sink:testing_clprof:dispatch
:params:
test: kernel_name
---
:hostname: aurora24.gov
:default_stream: stream0
:stream_classes:
- :name: cl_stream_class
:schemas:
- thapi_opencl
:clock_snapshot_value: true
:common_context:
- :name: vpid
:class: signed
- :name: vtid
:class: unsigned
:streams:
- :name: stream0
:class: cl_stream_class
:common_context:
vpid: 666
vtid: 0
:events:
- :name: lttng_ust_opencl_arguments:kernel_info
:payload:
kernel: 12
function_name: __ompoffload
---
:trace: profiling_normal_nd_range_kernel_name.yaml
:plugins:
- :name: sink:testing_clprof:dispatch
:params:
test: profiling_normal_nd_range_kernel_name
---
:hostname: aurora12.gov
:default_stream: stream0
:stream_classes:
- :name: cl_stream_class
:schemas:
- thapi_opencl
:clock_snapshot_value: true
:common_context:
- :name: vpid
:class: signed
- :name: vtid
:class: unsigned
:streams:
- :name: stream0
:class: cl_stream_class
:common_context:
vpid: -1
vtid: 2
:events:
- :name: lttng_ust_opencl_arguments:kernel_info
:payload:
kernel: 12
function_name: __ompoffload
:common_context:
vtid: 3
- :name: lttng_ust_opencl:clEnqueueNDRangeKernel_entry
:payload:
kernel: 12
- :name: lttng_ust_opencl_profiling:event_profiling
:payload:
event: 12
- :name: lttng_ust_opencl:clEnqueueNDRangeKernel_exit
- :name: lttng_ust_opencl_profiling:event_profiling_results
:payload:
event: 12
start: 0
end: 10
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment