-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f4b5a0
commit 2b09f96
Showing
44 changed files
with
6,164 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,4 +77,4 @@ | |
|
||
## Identifying file types | ||
# *.txt text | ||
# *.jpg binary | ||
# *.jpg binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 2 | ||
|
||
updates: | ||
# Maintain dependencies for GitHub Actions as recommended in SPEC8: | ||
# https://github.com/scientific-python/specs/pull/325 | ||
# At the time of writing, release critical workflows such as | ||
# pypa/gh-action-pypi-publish should use hash-based versioning for security | ||
# reasons. This strategy may be generalized to all other github actions | ||
# in the future. | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
commit-message: | ||
prefix: "MAINT" | ||
labels: | ||
- "03 - Maintenance" |
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,4 +105,4 @@ pip-delete-this-directory.txt | |
atlassian-ide-plugin.xml | ||
|
||
# OS droppings | ||
**.DS_Store | ||
**.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Here Sample: numC++: Accelerated GPU Library for C++, with NumPy syntax | ||
# https://github.com/Sha-x2-nk/numCpp |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#define N 8 | ||
|
||
extern __device__ int g[N]; | ||
|
||
extern __device__ void bar(void); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#pragma once // Ensure the file is included only once by the compiler | ||
|
||
#ifndef GPU_ARRAY_OPS_CUH | ||
#define GPU_ARRAY_OPS_CUH | ||
|
||
#include "numC++/npGPUArray.cuh" | ||
#include "numC++/gpuConfig.cuh" | ||
|
||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
// Wrapper for initializing GPU configuration | ||
void init_gpu_config(int device_id); | ||
|
||
// Create a GPU array with default values | ||
void* create_gpu_array(int rows, int cols, float default_value); | ||
|
||
// Create a GPU array from a 1D array | ||
void* create_gpu_array_1d(const float* data, int size); | ||
|
||
// Create a GPU array from a 2D array | ||
void* create_gpu_array_2d(const float* data, int rows, int cols); | ||
|
||
// Get GPU array metadata | ||
int get_gpu_array_rows(void* array); | ||
int get_gpu_array_cols(void* array); | ||
int get_gpu_array_size(void* array); | ||
float* get_gpu_array_data(void* array); | ||
|
||
// Clean up GPU array | ||
void delete_gpu_array(void* array); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif | ||
|
||
#endif // GPU_ARRAY_OPS_CUH |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.